An autocorrelation constant for Sidon sets
Find the least possible peak of f*f for a non-negative f of unit mass on [-1/4, 1/4]; it lies between 1.2802 and 1.50286.
| 1 | #!/bin/bash |
| 2 | #SBATCH --job-name=verify |
| 3 | #SBATCH --time=5:00 |
| 4 | #SBATCH --cpus-per-task=1 |
| 5 | # The project's judge checks, exactly, every candidate in the submission format in the pushed route's folder, and |
| 6 | # writes the score to metrics.json. The judge is checks/judge/, at the project's approved version. On the default |
| 7 | # branch (its route folder is routes/) it measures what the branch holds: the records in constructions/ and every |
| 8 | # route merged into routes/, so main has a verified score to beat. |
| 9 | dir=$SS_INPUT/$SS_ROUTE_DIR |
| 10 | if [ "$SS_ROUTE_DIR" = routes ]; then dir=$(mktemp -d); cp -R "$SS_INPUT/constructions" "$SS_INPUT/routes" "$dir"/ 2>/dev/null; fi |
| 11 | python3 checks/judge/check.py "$dir" |
