Test case explanation - #2345
Draft
FherStk wants to merge 2 commits into
Draft
Conversation
…lso able to hide test-cases from the problem statement respecting the judge order (pretest firsts). fixes
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2345 +/- ##
==========================================
- Coverage 46.76% 46.25% -0.51%
==========================================
Files 251 254 +3
Lines 13317 13563 +246
==========================================
+ Hits 6228 6274 +46
- Misses 7089 7289 +200 ☔ View full report in Codecov by Sentry. |
FherStk
force-pushed
the
test-case-explanation
branch
3 times, most recently
from
August 18, 2024 10:05
a3a4763 to
bcdcf85
Compare
…ings, the data included in the 'xpl' file will be displayed at the problem statement after its related output. The test-case information on the problem statement has been arranged by test-cases in order to make it more readable.
FherStk
force-pushed
the
test-case-explanation
branch
from
October 1, 2024 09:09
bcdcf85 to
50d0d70
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prerequisite: this PR will remain as a draft till the acceptance of #2305
Additions:

Optional explanation files can now be added to a problem's test-cases:
If added, the information will be rendered after the output information if the 'include test-cases' option has been selected at problem settings. Notice that also the test-cases information has rearranged in order to improve the readability:

Also, the YML file will be updated consequently, because the PR #2305 includes the ability to infer or rebuild the data using an existing YML file from the problem's folder on the file system:

Cheers!
Fher