I1189 Add multi-pass problem support as per Problem Package Spec 2023-07draft#1190
Open
johnbrvc wants to merge 12 commits intopc2ccs:developfrom
Open
I1189 Add multi-pass problem support as per Problem Package Spec 2023-07draft#1190johnbrvc wants to merge 12 commits intopc2ccs:developfrom
johnbrvc wants to merge 12 commits intopc2ccs:developfrom
Conversation
Move getIFiles() to EventFeedUtilities from RemoteContestAPIAdapter. This class converts a byte stream to a zip file and extracts the contents to a List of IFile objects. Add additional getIFiles(String) method to EventFeedUtilities to accept a BASE64 encoded string consisting of a ZIP file, then decode that and call the getIFiles(bte []) method. Change the CLICS 2023-04 submission service to accept the previous format (a list of BASE64 encoded files) for backward compatibility, and, also accept the correct format (BAS64 encoded ZIP file). The distinction is made by looking at the mime type of the FILE objects passed. Update pc2submit command line utility to put the source files into a zip file, then encode that as base64 and send it off. [This fix for pc2submit was provided by Nicky Gerritsen from the DOMjudge team.]
Setting the contest thaw time using the Contest Service PATCH facility was a bit of a black box and it was hard to determine what happened. Now, we provide better logging. In addition, we call the proper method to set the thaw time. CLICSContestInfo: be sure to include the configured thaw time value in the contest information notification message and the contests endpoint.
we haven't yet figured out how to make the hyperlinks point to different problem writeups when there are two Divisions.
Preliminary code to support clics draft multi-pass for nwerc25
Fix TabSeparatedValueParser to allow backslash escaping of characters in fields. CI: Allow the timelimit in the CLICS section to be a Double (SEERC contest did this) CI: Add better exception handling if invalid institution information is returned
Fixed NPE added by adding Double processing.
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.
Description of what the PR does
Adds support for multi-pass problems.
From the Problem Package Format specification 2023-07draft:
Issue which the PR addresses
Fixes #1189
Environment in which the PR was developed (OS,IDE, Java version, etc.)
Windows 11/Ubuntu 24.04.3
java version "1.8.0_321"
Java(TM) SE Runtime Environment (build 1.8.0_321-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.321-b07, mixed mode)
Precise steps for testing the PR (i.e., how to demonstrate that it works correctly)
PR has been tested in 2 live contests: NWERC2025 Practice and NWERC2025 Regional.
@johnbrvc will put together a sample contest based upon one of the problems from the NWERC contests. This will allow easy testing.