hackinscience issueshttps://framagit.org/groups/hackinscience/-/issues2022-01-21T23:23:39Zhttps://framagit.org/hackinscience/hkis-exercises/-/issues/8A "motus" solver?2022-01-21T23:23:39ZJulien Palardjulien@palard.frA "motus" solver?Like for: https://sutom.nocle.fr/Like for: https://sutom.nocle.fr/https://framagit.org/hackinscience/hkis-website/-/issues/97Number of members report not already accepted ones.2022-01-03T09:05:25ZJulien Palardjulien@palard.frNumber of members report not already accepted ones.In /teams, the current number of members of AFPy is displayed as `19`, but it count non-accepted ones, so when we click on `AFPy` we see only `9` members.
Member count shoud not count waiting users.In /teams, the current number of members of AFPy is displayed as `19`, but it count non-accepted ones, so when we click on `AFPy` we see only `9` members.
Member count shoud not count waiting users.https://framagit.org/hackinscience/hkis-exercises/-/issues/7Exercises ideas in The Canterbury Puzzles, by Henry Ernest Dudeney2022-01-21T22:23:16ZJulien Palardjulien@palard.frExercises ideas in The Canterbury Puzzles, by Henry Ernest Dudeneyhttps://www.gutenberg.org/files/27635/27635-h/27635-h.htmhttps://www.gutenberg.org/files/27635/27635-h/27635-h.htmhttps://framagit.org/hackinscience/hkis-exercises/-/issues/6Exercise idea: Find two distinct sets of integers whose sums equals.2022-01-02T20:22:40ZJulien Palardjulien@palard.frExercise idea: Find two distinct sets of integers whose sums equals.Example, in `[1, 2, 5, 10, 11, 12]` we can find `1+10+10 == 10+11` (and many others).
To complicate, we can enforce no shared integers, we can still find equalities like: `1+10 == 11`.Example, in `[1, 2, 5, 10, 11, 12]` we can find `1+10+10 == 10+11` (and many others).
To complicate, we can enforce no shared integers, we can still find equalities like: `1+10 == 11`.https://framagit.org/hackinscience/hkis-exercises/-/issues/5Exercise idea: Find biggest sum of N integers in M integers.2022-01-02T20:15:32ZJulien Palardjulien@palard.frExercise idea: Find biggest sum of N integers in M integers.Given a list of M integers, find N integers whose sum is greater than any other set of N integers.Given a list of M integers, find N integers whose sum is greater than any other set of N integers.https://framagit.org/hackinscience/hkis-website/-/issues/96only superuser is in "staff"2022-01-01T18:07:19ZMindiellonly superuser is in "staff"There are two levels in Django : superuser and staff.
Staff is an admin and superuser is a super admin. In leaderboard, only the superuser is publicly displayed as "staff" which seems not correct.There are two levels in Django : superuser and staff.
Staff is an admin and superuser is a super admin. In leaderboard, only the superuser is publicly displayed as "staff" which seems not correct.https://framagit.org/hackinscience/hkis-website/-/issues/95OpenBadges?2021-12-17T12:45:12ZJulien Palardjulien@palard.frOpenBadges?Should HackInScience deliver [openbadges](https://openbadges.org/)?Should HackInScience deliver [openbadges](https://openbadges.org/)?https://framagit.org/hackinscience/hkis-exercises/-/issues/4Exercise idea: Magic square2021-12-16T16:10:43ZJulien Palardjulien@palard.frExercise idea: Magic squareThis could be declined in multiple ways:
- Given a numpy array prefilled with a few values, and the expected sum for all lines and columns, fill the array with the missing values.
- Given a numpy array prefilled with a few values, and g...This could be declined in multiple ways:
- Given a numpy array prefilled with a few values, and the expected sum for all lines and columns, fill the array with the missing values.
- Given a numpy array prefilled with a few values, and given the individual sums expected for every column and every lines, fill the array with the missing values.
- The same within an hexagonal grid instead of a 2d grid.
- Given a magic hexagon with some missing values, fill it.
- ...https://framagit.org/hackinscience/hkis-exercises/-/issues/3Exercise idea: find 3 consecutive number such as their some equal to a given ...2021-12-16T16:07:07ZJulien Palardjulien@palard.frExercise idea: find 3 consecutive number such as their some equal to a given number.Like, given 771, find 256+257+258.Like, given 771, find 256+257+258.https://framagit.org/hackinscience/hkis-exercises/-/issues/2In password generator, in case it's in an infinite loop, nothing gets printed2021-12-08T15:37:27ZJulien Palardjulien@palard.frIn password generator, in case it's in an infinite loop, nothing gets printedBut adding a print to debug could be helpfull :DBut adding a print to debug could be helpfull :Dhttps://framagit.org/hackinscience/hkis-website/-/issues/91Rate limiting2021-12-05T22:26:51ZJulien Palardjulien@palard.frRate limitingAs nicely demonstrated by Rahim today, having rate-limiting on the corrections would avoid one person filling the correction bot queues, making other students leave the website.
During the downtime this evening, ~10 users left.As nicely demonstrated by Rahim today, having rate-limiting on the corrections would avoid one person filling the correction bot queues, making other students leave the website.
During the downtime this evening, ~10 users left.https://framagit.org/hackinscience/hkis-website/-/issues/90Get a way to share a solution URL2021-12-02T15:12:09ZJulien Palardjulien@palard.frGet a way to share a solution URLIn https://www.hackinscience.org/exercises/hello-world/solutions when one click on a tab the URL don't reflect this, so a solution can't be shared easily :(In https://www.hackinscience.org/exercises/hello-world/solutions when one click on a tab the URL don't reflect this, so a solution can't be shared easily :(https://framagit.org/hackinscience/hkis-website/-/issues/87Like a solution to enable showing better solution/practice first2021-12-02T15:12:41ZJean LapostolleLike a solution to enable showing better solution/practice firstI like to see the solution of other student but sometimes their solution is very bad and I would like to like better solution to put forward better solution.I like to see the solution of other student but sometimes their solution is very bad and I would like to like better solution to put forward better solution.https://framagit.org/hackinscience/hkis-website/-/issues/86Add a way to revert to the initial solution.2021-08-03T13:38:08ZJulien Palardjulien@palard.frAdd a way to revert to the initial solution.When someone mess with the initial solution, a way should be provided to rollback to it.When someone mess with the initial solution, a way should be provided to rollback to it.https://framagit.org/hackinscience/hkis-website/-/issues/85"next" button can send users on another category2021-06-10T12:14:23ZJulien Palardjulien@palard.fr"next" button can send users on another categoryWhich is just weird.Which is just weird.https://framagit.org/hackinscience/hkis-website/-/issues/80Private teams2021-05-06T15:29:52ZJulien Palardjulien@palard.frPrivate teamsCurrently we have "invisible teams" but we could have "private teams" in which the member list could only be seen by already accepted members.Currently we have "invisible teams" but we could have "private teams" in which the member list could only be seen by already accepted members.https://framagit.org/hackinscience/hkis-website/-/issues/76shlex ?2021-04-27T22:05:20ZJulien Palardjulien@palard.frshlex ?An exercise like shlex maybe?An exercise like shlex maybe?https://framagit.org/hackinscience/hkis-website/-/issues/75Add exercise: Verbal Arithmetic2021-04-12T09:45:21ZJulien Palardjulien@palard.frAdd exercise: Verbal Arithmetichttps://en.wikipedia.org/wiki/Verbal_arithmetic?wprov=sfla1https://en.wikipedia.org/wiki/Verbal_arithmetic?wprov=sfla1https://framagit.org/hackinscience/hkis-website/-/issues/74Should prints be allowed or not in exercises?2021-04-09T21:36:34ZJulien Palardjulien@palard.frShould prints be allowed or not in exercises?There's two kind of exercices:
# Function based exercises
We ask for a function returning something. In this case there's a wide range of solutions:
1) Deny prints outside of the function (but allow them in an `if __name__ == "__main_...There's two kind of exercices:
# Function based exercises
We ask for a function returning something. In this case there's a wide range of solutions:
1) Deny prints outside of the function (but allow them in an `if __name__ == "__main__"`.
2) Deny prints inside of the function
2) Allow all prints outside but not inside
2) Allow prints everywhere
2) Allow prints everywhere BUT when the exercise is correct, ask the user to remove them.
Currently I tend do do: 1+2. Like strict mode. Should I change?
# print based exercises
When we ask the user to print something:
1) Deny any superfluous characters
2) Allow superfluous lines (like debug prints)
2) Allow anything else as long as the requested value is here, like prefixes like "The answer is:" on the same line as the resultJulien Palardjulien@palard.frJulien Palardjulien@palard.frhttps://framagit.org/hackinscience/hkis-website/-/issues/72Maybe split exercises composed of multiple exercises.2021-03-31T05:55:39ZJulien Palardjulien@palard.frMaybe split exercises composed of multiple exercises.It's not easy to do them and it's not easy to check them.It's not easy to do them and it's not easy to check them.