Skip to content
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

Display pretests differently in UI #2031

Open
Xyene opened this issue Nov 1, 2022 · 0 comments
Open

Display pretests differently in UI #2031

Xyene opened this issue Nov 1, 2022 · 0 comments

Comments

@Xyene
Copy link
Member

Xyene commented Nov 1, 2022

Split out from DMOJ/judge-server#1068:

Write site patch to display pretest cases as pretests even when not in a pretested contest.

We probably want to add an indicator in the judge-site protocol for whether a case is a pretest or not. We can infer today from total = 0, but we want to move towards a world where pretests can have nonzero points but not count towards a submission's total. This requires separate tagging.

We should:

  • Display pretests as "Pretest test case #x" instead of "Test case #x", and "Pretest batch #x" instead of "Batch #x"
  • The counter for pretests should be different from the counter for regular cases, i.e. we should be able to display "Pretest test case #‍1" followed by "Test case #‍1".

Later, we will smash all init.ymls to rewrite 0-point testcases as pretests with appropriate pretest dependencies for following cases.

@Xyene Xyene changed the title Display pretests Display pretests differently in UI Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant