FrontierPhysics‑style physics research tasks

Physics research briefs in a Linux container: the agent picks the method and hands in graded results, a paper and the code, which is re-run on unseen inputs.

Improves: FrontierPhysicsFormat: Harbor

Request samples
Expert time estimate per task
2–⁠8 h
Hidden tests per task
17–⁠66Reward 1 only when every test passes; most checks repeat for each re-run
Graded contrast solutions per task
16–⁠21Each with the score it should get, graded by the same verifier
Review criteria per task
10–⁠13FrontierPhysics style, 5–⁠8 threshold and 5 weighted items; not part of the reward
One unit
One Harbor task with verifier, reference and contrast solutions, rubric
Fields and task types
Physics: condensed matter and materials; atomic, molecular and optical (AMO) physics. Code and simulation from a stated model, data-file analysis
Task statement
English, 813–⁠1,125 words: the research brief, the physical conventions, the exact output files and how the code is re-run; some tasks add input data or a device manual
Environment
Linux container with the inputs, 2–⁠4 CPUs and 4–⁠16 GB, 90–⁠180 minutes, internet access
Deliverables of a run
Result files (result.json and others, with uncertainties where the brief asks), a paper.md manuscript, and the code/ that produces every result, with an entry point run.sh that the verifier re-runs
Verifier
Separate, offline verifier that sees only the declared outputs: it re-runs run.sh in a sandbox on the task's inputs and on unseen ones, then deterministic pytest hidden tests check the submitted and the regenerated results against ground truth; binary reward; a FrontierPhysics-style review rubric ships alongside

Overview

Each item is a physics research task in the style of FrontierPhysics. The agent gets a research brief in a Linux container, some with input data or a device manual, and has to choose the method, write and run the code and validate the result on its own. It hands in three things: the graded numbers in its result files, a short paper, and the code that produces every result, with an entry point the verifier can run. A separate, offline verifier re-runs that code in a clean sandbox, on the task’s own inputs and on unseen inputs of the same kind, and grades the submitted and the regenerated results against ground truth with deterministic hidden tests; the reward is 1 only when every test passes.

The briefs come from everyday physics research: locating a quantum phase transition from a Hamiltonian, calibrating a qubit from raw scans, designing a drift-robust quantum gate within hardware limits. The hard part is not the code but physical judgement: picking the right model and criterion, knowing what has to be validated and where the errors come from. The statement gives only the problem, the conventions and the output format; the method is left to the agent, and it gets no feedback along the way. Because the code is re-run on unseen inputs, every judgement has to be made by the program from each input’s own data.

Difficulty and quality

  • Difficulty tiers: kimi-k3.1-pro attempts every task 8 times in Claude Code (max effort, internet access, the task’s own resources and time limit), and the number of correct answers sets the tier: basic 6–⁠8, medium 3–⁠5, hard 0–⁠2. The mix of tiers is up to you.
  • Contrast solutions test the grading: every task ships 16 to 21 contrast solutions, each with the result it should get, graded by the same verifier. Different correct methods score 1. Solutions that are one expert step short, fix for the task’s own input what has to be computed, copy published values, fabricate results or hand in blanks and constants score 0, failing the tests named for them in advance, and so do correct numbers without a working program. The sample cards list each task’s contrast solutions.
  • Reference solution scores 1: every task ships a reference solution that scores 1 under Harbor’s oracle agent, while doing nothing scores 0; check it yourself.
  • The code is re-run: the verifier copies only the delivered code/ into a fresh container and runs its entry point offline as an unprivileged user, with the agent’s CPUs, memory and software and the run-time limit stated in the brief, on the task’s own inputs and on unseen inputs of the same kind. The run on the task’s own inputs must reproduce the submitted numbers; the results regenerated on unseen inputs are graded against their own ground truth.
  • No reward for gaming: an agent that skips the physics and only tries to collect the reward scores 0, and so do hand-typed numbers, a program that only prints stored numbers and attacks on the grading sandbox.
  • Review rubric: every task also ships 10 to 13 review criteria in the FrontierPhysics style. Threshold items cover complete deliverables, numbers actually computed by the code, no tampering with the environment, no gaming of the grader, and the physics requirements of that task; weighted items rate the justification of the method, validation and error budget, the quality of the paper, reproducibility and more. The rubric is not part of the reward; a reviewer agent can use it to score the paper and the code.

What you get

tasks/frontierphysics/<task>/
├── instruction.md     # the task statement: the agent's only input
├── task.toml          # field, expert time estimate; resources, time limits, network
├── README.md          # what is hard, reference approach, verification and tolerances
├── environment/       # the agent's image: Dockerfile, plus input data or a device manual
├── solution/          # reference solution: solve.sh writes the results, a paper and the code with its entry point
├── tests/             # verifier image: Dockerfile, test.sh, re-run sandbox, unseen inputs, pytest tests, ground truth, rubric
└── authoring/         # contrast solutions with expected and recorded results, tolerances, generators
README.md              # how to run
SHA256SUMS             # checksums of every file

Running with Harbor

# reference solution, scores 1
harbor run -p tasks/frontierphysics/<task> -a oracle

# your agent
harbor run -p tasks/frontierphysics/<task> -a <agent> -m <model>
  • Sealed grading: only the result files, paper and code declared in task.toml reach a fresh, offline container built from tests/; the agent never sees the hidden tests, the unseen inputs or the ground truth, and the re-run code cannot read them either.
  • Graded on the physics: the tests check every graded number, submitted and regenerated, against ground truth, with tolerances set by what the quantity means. The code itself is not compared, but it has to run and reproduce the results.
  • Check the grader yourself: put any contrast solution in solution/ and run the oracle agent to reproduce its score and the tests it fails.
  • Reproducible: base images are pinned by digest and dependencies by version, and the re-run uses the agent’s pinned packages.

Samples

The two samples come from two fields and sit in two tiers: code and simulation in condensed-matter theory (medium), and data-file analysis in atomic, molecular and optical physics (basic). Each card shows the input, how the verifier grades the contrast solutions, and the task statement the agent receives.

Sample Field Task type Expert estimate Hidden tests Contrast solutions Tier kimi-k3.1-pro correct
1 Condensed matter and materials Code and simulation 8 h 17 18 Medium 3 / 8
2 Atomic, molecular and optical (AMO) Data file analysis 2 h 66 16 Basic 8 / 8

kimi-k3.1-pro: correct answers out of 8 attempts per task, in Claude Code at max effort.

Sample 1 of 2

Anisotropic frustrated spin chain: two dimerisation critical points and a critical exponent

  • Physical sciences
  • Condensed matter and materials
  • Quantum magnetism, many-body spectra
  • Code and simulation
  • Expert estimate 8 h
  • Hard parts
  • Only a Hamiltonian, no input data
  • Criterion for locating the transition left open
  • Thermodynamic-limit extrapolation
  • Uncertainties must include the extrapolation error
  • Re-run at unseen anisotropies

A spin‑1/2 chain whose nearest-neighbour exchange carries an anisotropy Δ while the next-nearest-neighbour exchange is isotropic. On either side of the isotropic point Δ=1 the ground state dimerises spontaneously once the coupling ratio J2/J1 passes a critical value. Starting from the Hamiltonian, the agent determines the critical coupling J2c/J1 at an easy-plane anisotropy ΔA and at an easy-axis anisotropy ΔB, and the decay exponent ηz of the staggered longitudinal spin correlations at the ΔB critical point: all three in the thermodynamic limit, to a stated precision and with uncertainties, for the reported case ΔA=0.55, ΔB=1.35. It writes the work up as a short paper and delivers it as a program that recomputes the three numbers for any pair in the stated ranges; the verifier re-runs it at the reported pair and at unseen anisotropies in those ranges.

Why it is hard

It takes a specialist in finite-size numerics of one-dimensional quantum magnets: choosing a criterion that locates the transition correctly, getting enough precision from the sizes that can be computed, extrapolating to the thermodynamic limit, and making the uncertainties include the systematic error of that extrapolation, all in a program that runs unattended within its time limit for other anisotropies too. The statement gives only the Hamiltonian; the method is left to the agent, which gets no feedback along the way.

tier
Medium
kimi-k3.1-pro correct
3 / 8
hidden tests
17
agent container
4 CPUs · 16 GB · 3 h

Input

There are no input files; everything follows from the Hamiltonian:

H=J1∑i(SixSi+1x+SiySi+1y+ΔSizSi+1z)
+J2∑i𝐒i·𝐒i+2

with J1=1, J2≥0 and the anisotropy Δ on the nearest-neighbour bonds only. The reported case is ΔA=0.55 and ΔB=1.35; the program must work for any ΔA from 0.40 to 0.80 and any ΔB from 1.20 to 1.50. The container comes with Python libraries for exact diagonalisation and tensor networks such as QuSpin and TeNPy; the time limit is 3 hours, and each re-run of the program has 45 minutes.

Contrast solutions and their scores

Contrast solution Count Reward Hidden tests failed
A different method that meets the required precision 4 1 —
One expert step short 5 0 6–⁠9
Tuned to the reported pair only 1 0 2
Correct but slower than the run limit 1 0 11
Copies published values 1 0 12
Blank or constant values 1 0 16
Fabricated results 1 0 15
Correct numbers without a working program 3 0 4–⁠12
Attacks the grading sandbox 1 0 11

17 hidden tests in all; 12 review criteria (7 threshold, 5 weighted) ship alongside and are not part of the reward.

Task statement

instruction.md

We are studying a theoretical variant of the frustrated spin-1/2 XXZ chain in which only the nearest-neighbour bond is anisotropic and the next-nearest-neighbour exchange is isotropic:

H=∑i[J1(SixSi+1x+SiySi+1y+ΔSizSi+1z)+J2𝐒i·𝐒i+2],

where Siα=σiα/2 are spin-1/2 operators, J1=1 sets the unit of energy and J2≥0. On either side of the isotropic point Δ=1 the ground state becomes spontaneously dimerised once J2/J1 exceeds a critical value J2c(Δ), and we need these critical points as precise numbers, not as positions read off a phase-diagram sketch. We take one easy-plane anisotropy ΔA and one easy-axis anisotropy ΔB; the case we report is ΔA=0.55, ΔB=1.35.

(a) Determine J2c/J1 at Δ=ΔA in the thermodynamic limit, with its uncertainty.

(b) Determine J2c/J1 at Δ=ΔB in the thermodynamic limit, with its uncertainty.

(c) Exactly at the critical point of (b), the staggered part of the ground-state longitudinal spin correlations decays as a power law, ⟨S0zSrz⟩∝(−1)rr−ηz for large r. Determine the exponent ηz in the thermodynamic limit, with its uncertainty.

We need each J2c/J1 to within ±2×10−4 (absolute) and ηz to within ±0.02 of the exact thermodynamic-limit values. Each uncertainty is a one-standard-deviation estimate that includes the systematic error of reaching the thermodynamic limit; it must lie between 10−6 (no extrapolation from finite chains determines these numbers better) and the required precision, and the exact value must lie within three of your standard deviations of your result. There are no input files: everything follows from the Hamiltonian. Your analysis must work for any ΔA from 0.40 to 0.80 and any ΔB from 1.20 to 1.50, not only for 0.55 and 1.35.

Write the deliverables to /root/results/ (result.json and paper.md as regular files, not links):

  • /root/results/result.json: a single JSON object with six dimensionless numbers for ΔA=0.55, ΔB=1.35: "j2c_a" (J2c/J1 at ΔA), "j2c_a_err" (its uncertainty), "j2c_b" (J2c/J1 at ΔB), "j2c_b_err" (its uncertainty), "eta_z_b" (ηz at the critical point of (b)) and "eta_z_b_err" (its uncertainty).
  • /root/results/paper.md: a manuscript in Markdown of at least 300 words, with a section heading for each of the abstract, introduction, methods, results (with the finite-size data and how you reached the thermodynamic limit), validation, conclusions and references. It must state the three results with their uncertainties, agreeing with result.json to within the required precision.
  • /root/results/code/: all of your code, with the entry point run.sh described next.

We will re-run your analysis. bash /root/results/code/run.sh --delta-a <value> --delta-b <value> must recompute all six numbers from the Hamiltonian for the given pair (ΔA, ΔB), write them to /root/results/result.json with the keys and meaning above, and exit with status 0. After you finish, we copy only /root/results/code/ into an otherwise empty /root/results/ of a fresh container and run run.sh in /root/results/code/ as an unprivileged user with a fresh, empty home directory, offline, with the same software as your container (only its preinstalled packages), 4 CPUs and 16 GB of memory. Aim for at most 30 minutes per run: we stop a run, and count it as failed, after 45 minutes. With --delta-a 0.55 --delta-b 1.35 it must write result.json again with the numbers you submitted, so seed every random-number generator and let no result depend on timing. We also run run.sh, unchanged, for other pairs in the ranges above, and those results must meet the same precision and uncertainty requirements: compute everything from the two arguments and hard-code nothing that depends on them. Nothing outside /root/results/code/ is carried over: not /root/results/data or other folders in /root/results/, not caches, not files in /tmp or your home directory, and not packages you installed during the session. The run may write only inside /root/results/, /tmp, /var/tmp and $HOME, at most 4 GB in total. Like your container, that container sets OMP_NUM_THREADS, OPENBLAS_NUM_THREADS, MKL_NUM_THREADS and NUMBA_NUM_THREADS to 4 and PYTHONHASHSEED to 0; os.cpu_count() may report more cores than you get, so size worker pools by 4. paper.md is not regenerated. To check all of this before you finish, move your output files aside and run bash /root/results/code/run.sh --delta-a 0.55 --delta-b 1.35 from a fresh shell; it must regenerate result.json with the numbers you submit.

You have 10800 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.

Sample 2 of 2

Trapped-ion qubit calibration from frequency, Rabi and Ramsey scans

  • Physical sciences
  • Atomic, molecular and optical (AMO)
  • Trapped-ion qubit calibration
  • Data file analysis
  • Expert estimate 2 h
  • Hard parts
  • Only bright-shot counts per point
  • Uncertainties from binomial counting
  • Scans that must agree with each other
  • Decay law decided by the data
  • Re-run on unseen runs

A single-ion qubit apparatus has run an automated calibration overnight: a frequency scan with a fixed pulse, a pulse-duration (Rabi) scan, a Ramsey scan, and photon-count histograms of a bright and a dark reference preparation. From these the agent determines the absolute resonance frequency, the resonant Rabi frequency and the Ramsey coherence time T2*, each with its 1σ statistical uncertainty; decides whether the Ramsey contrast decays exponentially or as a Gaussian; computes the readout fidelities of the two reference preparations; and writes the calibration up as a short paper. Three intermediate quantities are reported as well, so that the analysis can be checked against the raw scans. The analysis is delivered as a program: the verifier re-runs it on this run and on other overnight runs of the apparatus, with unknown device parameters and other run settings.

Why it is hard

It takes hands-on experience with the daily calibration of trapped-ion qubits: the right physical model for each of the frequency, Rabi and Ramsey scans, fits that treat the counts at each point as binomial and give honest uncertainties, and results from the different scans that agree with each other, all decided by the program from each run’s own data. The statement gives only the data, the sequence parameters and the conventions; the models are left to the agent, which gets no feedback along the way.

tier
Basic
kimi-k3.1-pro correct
8 / 8
hidden tests
66
agent container
2 CPUs · 4 GB · 1.5 h

Input data

A run log with the sequence parameters (synthesizer settings, pulse durations, timing conventions and the bright-shot rule). Three scans that record the number of bright shots at each point: a frequency scan of 101 points over 200 kHz with 40 shots each, a pulse-duration scan from 0 to 240 µs, 121 points with 80 shots each, and a Ramsey scan with free-evolution times from 0 to 2,400 µs, 121 points with 300 shots each. Photon-count histograms of 20,000 shots for each of the bright and dark reference preparations. The chart shows the frequency and Rabi scans.

  1. Two of the input scans

    The frequency scan with a fixed 22.7 µs pulse (left) and the pulse-duration scan (right); error bars are binomial 1σ

    The frequency scan with a fixed 22.7 µs pulse (left) and the pulse-duration scan (right); error bars are binomial 1σ

Contrast solutions and their scores

Contrast solution Count Reward Hidden tests failed
A different correct method 2 1 —
The field’s generic routine 1 0 3
One expert step short 5 0 1–⁠15
Choices fixed for the shipped run 2 0 3–⁠9
Blank, constant or copied input 1 0 53
Fabricated results 1 0 44
Correct numbers without a working program 3 0 34–⁠51
Attacks the grading sandbox 1 0 51

66 hidden tests in all; 10 review criteria (5 threshold, 5 weighted) ship alongside and are not part of the reward.

Task statement

instruction.md

Our new single-ion qubit apparatus ran an automated calibration overnight, and we need today's qubit parameters from it. The qubit is the |0⟩↔|1⟩ microwave hyperfine transition of one trapped ion, driven by a single synthesizer at a fixed power that was not changed during the run. Every scan shot starts with optical pumping into |0⟩ (the reference shots are pumped into |1⟩ or |0⟩ and get no microwave pulse), and every shot ends with state-dependent fluorescence detection (|1⟩ bright, |0⟩ dark); the control system records a shot as bright when at least 3 photons are detected. The run comprised, back to back, a frequency scan with a fixed pulse, a pulse-duration (Rabi) scan, a Ramsey scan (two equal pulses separated by a free-evolution time), and photon-count histograms of reference preparations in |1⟩ and |0⟩. The sequence parameters (synthesizer settings, pulse durations, timing conventions, detection rule) are in /root/data/run_log.json. The scans are /root/data/frequency_scan.csv, /root/data/rabi_scan.csv and /root/data/ramsey_scan.csv (bright shots out of the shots taken at each point), and the histograms are in /root/data/reference_histograms.csv.

From these data, (a) determine the qubit resonance frequency, the resonant Rabi frequency and the Ramsey coherence time, each with its uncertainty, and decide which decay law the Ramsey contrast follows; (b) determine the readout fidelities of the two reference preparations; and (c) write the calibration up as a short manuscript that states your models and shows how the data support them; also report, in result.json, the intermediate quantities listed below.

All frequencies are cyclic, in Hz. f0_hz is the absolute synthesizer frequency at which the drive is resonant with the qubit. rabi_freq_hz is Ω/2π for a drive exactly on resonance at the power of the run, so that a resonant π pulse lasts 1/(2Ω/2π). t2star_us is the 1/e decay time T2*, in microseconds, of the Ramsey fringe contrast as a function of the free-evolution time T (from the end of the first pulse to the start of the second), and ramsey_envelope is the decay law of that contrast that the data support: "exponential", contrast ∝exp(−T/T2*), or "gaussian", contrast ∝exp[−(T/T2*)2]. p_bright_given_bright is the fraction of the shots of the |1⟩ reference preparation that were recorded bright, and p_dark_given_dark the fraction of the shots of the |0⟩ reference preparation that were recorded dark, both under the 3-photon rule. Each key ending in _err is the one-standard-deviation statistical uncertainty of the corresponding value, in the same unit. The intermediate quantities are frequency_scan_centre_hz, the line centre of the frequency scan (absolute synthesizer frequency); ramsey_fringe_frequency_hz, the frequency of the Ramsey fringes as a function of T; and rabi_oscillation_frequency_hz, the frequency at which the bright fraction oscillates in the pulse-duration scan at that scan's synthesizer setting.

Deliver three outputs; result.json and paper.md must be regular files, not links, also when run.sh writes result.json again. /root/results/result.json is a JSON object with the numeric keys f0_hz, f0_hz_err, rabi_freq_hz, rabi_freq_hz_err, frequency_scan_centre_hz, ramsey_fringe_frequency_hz, rabi_oscillation_frequency_hz (Hz), t2star_us, t2star_us_err (microseconds), p_bright_given_bright and p_dark_given_dark (fractions between 0 and 1), and the string key ramsey_envelope. /root/results/paper.md is the manuscript, in Markdown, at least 300 words long (and at most 500 kB), with a heading for each of its sections: abstract, introduction, methods, results, validation, conclusions and references. It names the decay law you adopted (exponential or Gaussian) and quotes f0, the Rabi frequency and T2* as they are in result.json, each with its uncertainty next to it and given at least to the precision of that uncertainty. /root/results/code/ holds the code that computes these results from the input files, with the entry point run.sh described next.

We will re-run your analysis. /root/results/code/ must contain all of your code and an entry point run.sh. After you finish, we copy only /root/results/code/ into an otherwise empty /root/results/ of a fresh container and run bash run.sh, without arguments, in /root/results/code/ as an unprivileged user with a fresh, empty home directory, offline, with the same software as your container (only its preinstalled packages), 2 CPUs and 4 GB of memory, and with the input files in /root/data/ read-only. It must write /root/results/result.json again, computed from those input files, and exit with status 0. Aim for a run time of at most 5 minutes: we stop the run, and count it as failed, after 10 minutes. We check the regenerated file in the same way as your submission, and its numbers must match the ones you submitted, so seed every random-number generator. We also run run.sh, unchanged, on other overnight runs of this apparatus in the same format, and those results must be correct too. Such runs come from other days, with different, unknown device parameters (resonance, drive strength and its noise, coherence and its decay law, preparation and readout), and they may use other run settings, all recorded in their run_log.json and scan files: the synthesizer setting of every scan (the Ramsey and pulse-duration scans may be taken on either side of resonance and at other detunings; the frequency-scan settings are the first column of frequency_scan.csv), the pulse durations, and the scan ranges, steps and numbers of shots (the columns of the scan files). So read everything from /root/data/ and hard-code nothing that comes from it; every reported quantity, the decay law included, must be determined from the run's own data. Nothing outside code/ is carried over: not other folders in /root/results/, not caches, not files in /tmp, and not packages you installed during the session. The run may write only inside /root/results/, /tmp, /var/tmp and $HOME, at most 4 GB in total. Like your container, that container sets OMP_NUM_THREADS=2 and PYTHONHASHSEED=0; os.cpu_count() may report more cores than you get, so size worker pools by 2. paper.md is not regenerated and must quote the numbers in the submitted result.json. To check all this before you finish, move your outputs aside and run bash /root/results/code/run.sh from a fresh shell; it must regenerate result.json with the numbers you submit.

You have 5400 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.

Customization

Including but not limited to the following; anything else can be discussed.

  • Fields and task types: the field of physics (for example condensed matter, AMO, quantum information, astrophysics and cosmology, fluids, statistical physics, photonics and imaging, high-energy and nuclear physics) and the kind of task (theoretical modelling, numerical simulation, design optimisation, inversion of experimental data and validation of results).
  • Difficulty: target models, agent harness, effort level, number of attempts and the share of each tier.
  • Grading: deterministic hidden tests only, or a reviewer agent that also grades the paper and the code against the rubric.
  • Run conditions: time limit, CPUs and memory, and whether the agent may use the internet.
  • Run records: trajectories and verifier output of each attempt.
  • Volume and schedule: number of tasks, share per field and delivery dates.

Tell us what your model needs to get better at.

We reply with samples and a specification.