-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes for the acrobot hackathon #276
Conversation
* redirect to credit after submission * confirming submission in message * contributivity * flake * flake * flake * flake * more coverage * more coverage * more coverage * making tracking credits optional * flake * fixing test * fixing test * style * tests * flake * flake
Codecov Report
@@ Coverage Diff @@
## master #276 +/- ##
==========================================
- Coverage 92.13% 91.83% -0.31%
==========================================
Files 95 96 +1
Lines 7244 7455 +211
==========================================
+ Hits 6674 6846 +172
- Misses 570 609 +39
Continue to review full report at Codecov.
|
@glemaitre: does the CLI part of the sphynx doc get updated automatically as we add CLI commands or it has to be added manually to the doc? |
I prefer not to for readability. |
@agramfort, @glemaitre I prefer to elaborate to avoid misunderstandings although it's a minor issue. The new version is about 30 lines longer, 20 of which is docstring and comments. We could add helper functions to get the scores and the time and call it from both the private and public leaderboard code. That would be the proper way to modularize, but that would add code (new functions, docstrings, etc). I'm not against but I find this current compromise (between code repetition and length) better. The previous code somehow assumed that there are only minor differences between public and private leaderboard and tried to construct them in the same function. The timing bug was introduced by an over-generalizing idea to make it "pretend" that they are more similar than they actually are. Even tests didn't catch this bug. It was quite important since in our challenge there is limit on total training time, so we needed a hotfix in the weekend. When doing it I had a hard time understanding the code, quite a bit of pandas magic. I prefer to construct the columns explicitly, for readability. In this way we can also modify the the two tables relatively independently. |
I would like to merge this into master after the hackathon ends, so early December. Hopefully no more hotfixes, we'll see. We have one more customization change pending: we added a long privacy statement and terms and conditions on the sign up page (required by our lawyers). We simply modified the sign up template, but it's pure html that could be programmatically inserted from a file into the template. This should be customizable. @agramfort @glemaitre @maikia @lucyleeow what would you suggest to do here? We can have custom html files in https://github.com/paris-saclay-cds/ramp-board/tree/master/ramp-frontend/ramp_frontend/templates but is this a good practice to modify those directly (since they are part of the software, committed in the repo)? A similar issue comes up when you want to add OVH logo to the landing page, but only on the CDS deployment. |
This pull request introduces 4 alerts when merging 91522cd into 1ba84e2 - view on LGTM.com new alerts:
|
I think it would help a lot reviewers if this PR was split in smaller chunks. I have not reviewed everything in details, but following parts should be very easy to merge if they were made as separate PRs and looks like a significant improvement,
and in larger changes (that I have not reviewed in detail),
Is anyone interested/available in making smaller PRs for the top 4 points, at least? That would also help reducing the diff here. Maybe @maikia ? :) |
This pull request introduces 1 alert when merging 8e7cbe1 into c8f6423 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 3a733e9 into c8f6423 - view on LGTM.com new alerts:
|
Closing as I believe all major features from this PR were either merged as separate PRs to master or are now in the advanced branch. Full list in the issue description #276 (comment) |
ramp-database compute-contributivity --event --ramp-kit-dir --ramp-data-dir
. It computes contributivity and historical contributivity scores (displayed in two leaderboard columns) and the combined score (displayed at the top of the leaderboard pages). It is not run automatically as before, admins need to update it time to time. Running time is quadratic in number of submissions, and can be quite long of the data sets are big (more precisely: if the combination function is slow). PR in ADV Add optional contributivity calculations #449ramp database make-admin --user
to make existing user site admin. Added in [MRG] EHN create function to create RAMP admin #308ramp_database.tools.submission.get_scores
andget_time
accelerated by avoiding loading predictions from SubmissionOnCVFold. (related ordering bug fixed in BUG sort cv folds ordered during queries #321) Solved by [WIP] BUG defer loading of the predictions when not required #315