-
Notifications
You must be signed in to change notification settings - Fork 365
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
api: add submission filtering by contest + contest info #2337
api: add submission filtering by contest + contest info #2337
Conversation
da5e387
to
a0e57c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before:
SELECT
`judge_submission`.`id`,
`judge_submission`.`user_id`,
`judge_submission`.`problem_id`,
`judge_submission`.`date`,
`judge_submission`.`time`,
`judge_submission`.`memory`,
`judge_submission`.`points`,
`judge_submission`.`language_id`,
`judge_submission`.`result`,
`judge_submission`.`contest_object_id`,
`judge_profile`.`id`,
`judge_profile`.`user_id`,
`auth_user`.`id`,
`auth_user`.`username`,
`judge_problem`.`id`,
`judge_problem`.`code`,
`judge_language`.`id`,
`judge_language`.`key`,
`judge_contestsubmission`.`id`,
`judge_contestsubmission`.`participation_id`,
`judge_contestsubmission`.`points`
...
After:
SELECT `judge_submission`.`id`,
`judge_submission`.`user_id`,
`judge_submission`.`problem_id`,
`judge_submission`.`date`,
`judge_submission`.`time`,
`judge_submission`.`memory`,
`judge_submission`.`points`,
`judge_submission`.`language_id`,
`judge_submission`.`result`,
`judge_submission`.`contest_object_id`,
`judge_profile`.`id`,
`judge_profile`.`user_id`,
`auth_user`.`id`,
`auth_user`.`username`,
`judge_problem`.`id`,
`judge_problem`.`code`,
`judge_language`.`id`,
`judge_language`.`key`,
`judge_contest`.`id`,
`judge_contest`.`key`,
`judge_contestsubmission`.`id`,
`judge_contestsubmission`.`participation_id`,
`judge_contestsubmission`.`points`,
`judge_contestparticipation`.`id`,
`judge_contestparticipation`.`start`,
`judge_contestparticipation`.`virtual`
...
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2337 +/- ##
==========================================
- Coverage 46.84% 46.78% -0.07%
==========================================
Files 250 252 +2
Lines 13275 13348 +73
==========================================
+ Hits 6219 6245 +26
- Misses 7056 7103 +47 ☔ View full report in Codecov by Sentry. |
4cce747
to
a0e57c0
Compare
a0e57c0
to
4f0878c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.