Classical vs DQI: polynomial intersection
Test classical optimization against DQI expectations on concrete instances.
Verifier
The verifier checks your file and computes its score. QArena runs the same code on every submission.
Verifications of this board run on the first lane of this list that is up and has room: the Mac mini, then CU Boulder's Alpine, then NCAR Derecho, then RunPod. A lane that is down, full or slow passes the file to the next one automatically, with the same verifier version; the limits of one verification are 10 s of CPU, 135 s of wall time and 128 MB of memory on the Mac mini, and 20 s of CPU, 150 s of wall time and 128 MB of memory on CU Boulder's Alpine, NCAR Derecho and RunPod (2 times the board's own CPU and wall time on the other lanes, because their processors are slower); the result goes to QArena only.
Download the bundle, extract it and run these commands from its folder (the one holding verifiers/). The bundle
includes an accepted example file.
python3 -I verifiers/run_one.py opi b12-n80 example/b12-n80.json
The verifier prints one line of JSON with a status: accepted with the score, rejected with the reason,
or error if verification could not finish.
Files
| File | Role |
|---|---|
| run_one.py | Runs the verifier |
| common.py | Shared helpers |
| opi.py | Validates submissions for this problem |
How verification works
The verifier checks that the file holds exactly n integer coefficients in range (the list length is the degree bound, so a longer list is rejected even when the extra entries are zero), evaluates Q at every nonzero point by Horner's rule with exact integer arithmetic (modulo q, or with logarithm tables of GF(2^b)) and counts the points whose value lies in the target set. A second program, written separately from the specification, rebuilds every instance from the generator, constructs every target set explicitly and evaluates Q by explicit power sums with its own field arithmetic; it agreed with the verifier on every file of the pre-launch tests (see the statement for the counts). On the Hermitian cells the verifier also checks that the instance lists the curve's points and the monomial basis in their canonical order and evaluates f at every curve point by Horner's rule in x for each power of y, then in y; the second program for those cells, written separately from their own specification, finds the points by brute force, builds every target set explicitly and evaluates f by explicit powers.