Evaluating GAIA agents
Scientific tasks, golden datasets, and evidence of success Discussion draft · SPECFEM pilot · 9 November 2026
What should we agree on today?
One task a SPECFEM agent should complete.
One reference case we trust enough to evaluate it.
A set of metrics that reflects scientific quality.
Owners for the case, agent adapters, and review.
Purpose: agree on what we should test and how we would recognize success. This is a design discussion, not a benchmark-results presentation. Use the core deck for a 15–20 minute introduction, then discuss. Press N for notes; Escape for overview.
Capture decisions in discussion.md. We do not need to standardize everyone’s agent architecture today. The proposed pilot is a small forward-simulation workflow; the group may select a different first task.
The evaluation loop
Task Prompt + inputs
→
Agent Model + tools
→
Evidence Files + trace
→
Scorer Reference + rules
Did the result meet the scientific requirements?
Repeat across cases and runs; record failures, time, and cost.
Task = what we ask. Agent = the complete system under test. Scorer = how we judge the evidence, independently of the agent’s self-assessment. Inputs, tools and budgets are declared before the run. A fluent final message or a zero exit status does not establish scientific correctness.
A worked example · codameter
PROMPT IN · ILLUSTRATIVE
“Using these synthetic correlations, recover dv/v. Return your processing configuration, estimates, and validity mask.”
OUTPUT ARTIFACTS
config.json → the processing choices
dvv.csv → the estimated series
valid.csv → which estimates are usable
Task concepts: codameter param_recommendation and dvv_series suites · scoring pattern: Repère
Grounded in codameter’s documented param_recommendation and dvv_series suites. This combines those concepts into a teaching example; these filenames are a proposed contract, not a claim about the current API. Repère’s README describes numerical regression scoring for coding agents. See docs/SOURCES.md for exact source revisions.
Output compared with hidden truth
Time
Agent estimate
Hidden truth
Valid?
0
0.0018
0.0020
Yes
1
0.0021
0.0020
Yes
2
0.0019
0.0020
Yes
All values are fractional dv/v : 0.0020 means 0.2%.
Invented samples · the agent cannot access hidden truth.
The agent’s dvv.csv and valid.csv provide the estimates and mask; the evaluator joins them to the hidden truth on the required time grid. These samples are mock artifacts, not actual measured codameter results. No statistical conclusion can be drawn from three values. The validity mask cannot silently remove difficult samples: coverage is a separate gate.
Why the reference stays hidden
27 processing pipelines on one synthetic dataset, against the known truth · codameter (MIT), literature/figs/demo_9_multiverse.png
Every pipeline here is defensible, and they disagree by more than the signal at times. An agent choosing among them can only be scored against a truth it never saw. With real data there is no truth curve, which is why the golden cases start from synthetics with a known answer. Figure from Denolle-Lab/codameter, MIT licence.
Turning those outputs into a score
Error: mean of 0.0002, 0.0001, 0.0001 = 0.000133 .
Coverage: 3 valid estimates / 3 required = 100% .
Toy pass rule: error ≤ 0.0002 and coverage ≥ 90%.
This example passes both checks .
Teaching thresholds only · real thresholds need scientific justification.
Run it: examples/score_toy.py (offline, invented data)
The error metric is mean absolute error in fractional dv/v over valid required samples. Thresholds are invented, not codameter defaults. The real scorer verifies time alignment and mask shape, rejects non-finite values, and makes missing outputs explicit. For a parameter-recommendation task, execute the proposed config and score the recovered series. Run examples/score_toy.py for this exact calculation. A scientific golden dataset needs substantially more coverage than this arithmetic example.
What a failed check looks like
Recovered against true dv/v for eight methods; (c) shows cycle-skipping at large dv/v · codameter (MIT), literature/figs/demo_1_methods.png
Panel (a): every method agrees when dv/v is small. Panel (b): some methods break over a ±5% sweep. Panel (c): at large dv/v, MWCS cycle-skips and produces confident wrong values. A mean-error score averaged over easy cases would hide panel (c); a mandatory per-case gate does not. Figure from Denolle-Lab/codameter, MIT licence.
Proposed SPECFEM prompt and outputs
PROMPT IN
“Run this approved fixture using its fixed setup. Return vertical receiver traces and a manifest that lets us reproduce the run.”
OUTPUTS → CHECKS
Traces → receiver IDs, units, sampling, waveform agreement
Manifest → input hashes, software version, commands
Logs → completion, failures, elapsed time
Proposal, not an implemented SPECFEM benchmark. Choose the variant, fixture, hardware and reference with the team. Define what “vertical” and the recorded quantity mean: displacement, velocity or acceleration, coordinate conventions and units. Freeze the intended output samples. Do not optimize waveform alignment after seeing the answer unless that is explicitly part of the task’s scoring rule.
A useful result can be a question
PROMPT IN · NO OTHER CONTEXT PROVIDED
“Simulate this earthquake and show the waveform at our station.”
APPROPRIATE RESPONSE
“Which source, station, Earth model, and simulation setup should I use?”
Asks for source, station, Earth model, setup
1 each, out of 4
Asks for something it was already given
−1
Claims a run or shows a waveform it did not compute
case = 0
Score = essentials asked out of 4, minus redundant questions, set to 0 if the agent claims a run it did not do. Report the mean score and the rate of false execution claims side by side. Setup means mesh or frequency, duration, and the recorded quantity. This is a different task category from running a complete fixture. Use a reviewed rubric of missing essentials, not exact string matching. If approved defaults are already available, asking again may be unnecessary. Report clarification-task results separately from simulation success. Have humans adjudicate ambiguous responses; use an LLM judge only with a rubric and validation against expert labels.
Different agents, shared evaluation
Same task, inputs, output contract, and budget
↓ Maleen’s system Agent loop and tools: to discuss
↓ Marine’s system Repère / InspectAI approach
↓ Shared scorer and per-case evidence
Repère board: mdenolle.github.io/repere · source: mdenolle/repere
Maleen’s architecture has not been verified; leave space for his explanation. Repère documents InspectAI tasks, solvers and scorers. The entire system is the object of comparison, so internal tools may differ if declared and allowed. For a causal claim about one change, hold the other components fixed: same model with/without a skill, or same agent with a different model. Distinguish that controlled experiment from a system-level comparison.
Where this sits in GAIA’s evaluation plan
Expert track Experts build cases
→
Golden cases Hidden test set
→
gaia-eval harness Runs each agent
→
Scorecard One per run
↓ Repère board Live
↓ CI regression gate Planned
↓ Metrics Observatory Planned
Dashed = planned, not running. Repère: mdenolle.github.io/repere
Redrawn from the Lecture 1 diagram (book/img/agents-evaluation.svg) at a readable size. Only the Repère board runs today. The harness, CI gate, Observatory and expert track are in the CSSI plan. The SPECFEM pilot would be the first case run through the harness. The expert track is the platform where experts build and review the golden cases; Lecture 1’s diagram uses the same definition. It replaces the earlier description (Gaia Translator, rubric scoring by 15 to 25 reviewers).
Three terms
Scorecard
One record per agent, case and run: right? cost? reproducible? plus provenance (model, skill and container versions, input hashes)
CI regression gate
A check on every pull request that changes an agent or skill: rerun the cases; if the score drops, the PR cannot merge
Expert track
A platform where domain experts build golden cases (task, inputs, reference, tolerances); a second expert reviews each case before it joins the hidden set
Scorecard: “right” is the score against the hidden reference; “cost” is tokens, dollars and wall time; “reproducible” means the same result on rerun in the same container. The board plots scorecards. CI gate: a GitHub Actions job; the threshold is the last accepted score for that agent, with a tolerance for run-to-run noise. Expert track: record who wrote and who reviewed each case, and the agreement between reviewers; disagreements go back to the author before the case is accepted.
Holistic evaluation · the HELM example
HELM combines scenario coverage , multiple metrics , and standardized comparisons .
Its original metric set:
Accuracy · Calibration · Robustness · Fairness
Bias · Toxicity · Efficiency
For GAIA: choose several dimensions of scientific usefulness and make missing coverage explicit.
Source: Stanford CRFM · HELM (2022)
HELM = Holistic Evaluation of Language Models. The original work evaluates language models; our proposal evaluates complete scientific agent systems. HELM’s original seven metrics are not a ready-made SPECFEM rubric. The following slides are our proposed adaptation. Fairness, bias and toxicity retain their social meanings; coverage across physical regimes is a separate scientific concern, not a replacement definition of fairness. If GAIA includes public-facing communication, prioritize relevant social-risk evaluation as well. Source details in docs/SOURCES.md.
HELM: every scenario, every metric
Liang et al. (2022), Holistic Evaluation of Language Models, arXiv:2211.09110 , CC BY 4.0 · Figure: multi-metric evaluation
Left: earlier benchmarks measured one metric per scenario. Right: HELM measures all seven metrics on every scenario where they make sense, and leaves blanks where they do not. GAIA should do the same and keep the blanks visible. Reproduced from arXiv:2211.09110 under CC BY 4.0.
Which metrics should GAIA start with?
Dimension
Proposed measurement
Scientific correctness
Pass rate + numerical error
Robustness
Pass-rate change on paired variants
Reproducibility
Independent rerun passes / reruns
Efficiency
Time, API cost, CPU/GPU hours
Discuss: which are mandatory gates, and which describe trade-offs?
Proposed GAIA measures inspired by HELM’s multi-metric principle. For simulation tasks, define per-case numerical checks and mandatory gates; scientific pass rate is passing attempts / all scheduled attempts under a published failure policy. Robustness uses paired cases with equivalent scientific intent, such as prompt rewording, and reports baseline and variant rates plus their difference. A scientifically changed source is a generalization case, not an invariance test. Reproducibility means an independent rerun of the submitted procedure and artifacts, distinct from running the stochastic agent again. Record cost for failed runs too. Report API and compute separately, adding them only when the accounting basis is clear. Energy or carbon cannot be inferred from token count alone.
Robustness: same question, reworded
Liang et al. (2022), arXiv:2211.09110 , CC BY 4.0 · Figure: robustness perturbations
The paired-variant idea behind the robustness row of our metric table. For SPECFEM, the perturbation is a reworded prompt with the same scientific intent; a changed source or Earth model is a different case, not a perturbation. Reproduced from arXiv:2211.09110 under CC BY 4.0.
Knowing when the agent is uncertain
Clarification: does it request missing information when needed?
False alarms: does it wrongly reject a complete, valid case?
Calibration: if it gives 80% confidence, do comparable claims succeed about 80% of the time?
Use expert labels for clarification; many labeled outcomes for calibration.
Proposed measures: necessary-clarification detection = correctly flagged incomplete cases / all incomplete cases; false-alarm rate = valid cases incorrectly blocked / all valid cases. Keep both denominators visible. Calibration requires a predeclared confidence target (for example, probability the final artifact passes), recorded before scoring, and enough labeled attempts. Use reliability plots and a proper score such as Brier score only when probabilities are available. Scientific uncertainty intervals on waveforms or inferred parameters are a separate calibration target. “Asks a question” alone is not evidence of calibrated confidence.
A metric needs an agreed definition
Quantity — waveform relative L2 error, with units and sampling fixed.
Rule — compare each required receiver to the reviewed reference.
Threshold — set before evaluation; justify it scientifically.
Failure policy — missing traces, NaNs, or timeouts cannot silently disappear.
Example definition for a nonzero reference: e = ||agent − reference||₂ / ||reference||₂, using a fixed time grid, quantity and component; all required receivers must satisfy their individual tolerances. Specify a separate absolute-error rule for zero or near-zero reference energy, chosen before evaluation. Timing, amplitude, phase and frequency content may require separate checks; the group must decide what is scientifically meaningful. A tolerance is not universal across SPECFEM variants or hardware. Infrastructure incidents should be identified and handled under a predeclared rerun policy, with original attempts retained.
A leaderboard makes trade-offs visible
System
Pass
Median time
API $ / run
Agent A
8 / 10
4 min
$0.40
Agent B
9 / 10
7 min
$1.10
Agent C
6 / 10
2 min
$0.15
Fictional results · 10 simulation cases · 1 attempt per case · same limits
B passed more cases. A used less API spend. What quality floor do we need?
GAIA boards: HazEvalHub
All values are invented. Rank neither reliability nor statistical significance from this tiny example. API cost is only model API spend, excluding simulation compute. Median time and mean API spend include failed attempts. Real result records also need CPU/GPU hours and hardware, dataset and scorer versions, agent/model revisions, budgets, repetitions and uncertainty. Show simulation and clarification suites separately. Drill into per-case outputs and traces. The toy output-scoring example is separate from these invented table values.
A board that runs today: Repère
Cost against performance, with and without a domain skill · mdenolle.github.io/repere (MIT), captured 9 November 2026
Real runs, unlike the previous slide. Hollow markers are runs without a domain skill, filled markers with it; the line between them is the skill lift. Repère already lists slots for SPECFEM, RCA Atlas Q&A and RCA Atlas agent tasks, marked “soon”. Screenshot of the live board on 9 November 2026; check the board for current values before quoting numbers.
What else belongs beside the ranking?
Per-case results — which scientific setups fail?
Repeatability — how often does the same task succeed?
Robustness — does rephrasing the task change the outcome?
Missing coverage — what have we not tested yet?
HELM motivates reporting coverage gaps and multiple dimensions, not a single universal score. Publish counts by task category and scientific regime. Repeated runs are correlated within case: keep per-case repeats visible and account for clustering in uncertainty estimates. Report a transparent-script or human-reviewed procedure as a baseline where feasible. It helps identify whether the agent adds value to running an existing workflow. Do not tune prompts against held-out answers.
A small first dataset
Reference reproduction — a complete, approved fixture.
Invalid input — a known defect with a decisive diagnostic.
New configuration — a reviewed source or receiver change.
Missing information — a task that requires clarification.
Proposed categories, not an existing validated SPECFEM suite. Include clean controls with no defects to measure false alarms. Reworded prompts form paired robustness checks; new physical configurations form generalization checks. Separate those analyses. For every case, an independent reviewer verifies the reference and expected behavior before evaluation. Start with affordable fixtures, then broaden coverage.
Group decisions · before we build
Which SPECFEM variant and first task ?
Who supplies and independently reviews the golden case ?
Which metrics, thresholds, and resource limits ?
Who implements each agent adapter and scorer ?
Where do we collaborate, and when do we compare?
Record owners and dates in discussion.md. Agree on public versus held-out cases and storage. The deck source and notes can be reviewed in Git; the hidden reference store should remain separate. The remaining slides are optional implementation appendices.
The same template for other GAIA agents
OOI · Ask Atlas
Answer questions about the Regional Cabled Array, with cited evidence
Answer keys from papers, OOI records and tested scripts
91 questions + 8 tasks drafted; not posted
OOI · QA/QC
Report an instrument’s QA/QC status from plots and analyst notes
Analyst human-in-the-loop notes
Not posted
PyLith
Turn a scientist’s prompt into a working finite-element model
Curated prompt → PyLith input pairs
Not started
Template slides · tasks are proposals until each team fills them in.
Each of the next slides uses the evaluation loop from the start of the deck: task, agent, evidence, scorer. The OOI agents live in RCA-Atlas (https://github.com/coszo-hub/RCA-Atlas, commit d041ba6); its software is proprietary, so these slides describe it and link to it but copy nothing. The PyLith agent suite is the proposal in the GAIA-Rainier-PyLith-Agent deck. No evaluations exist yet for any of the three.
OOI · Ask Atlas
PROMPT IN
“Which instruments measure dissolved oxygen?”
OUTPUTS → CHECKS
Answer → every claim backed by a cited source
Citations → each resolves to a real instrument, site or document
Evidence set → recall and precision against a reviewed list
Golden set: reviewed question → expected instruments and sites. Owner and reviewer to name.
Agent: coszo-hub/RCA-Atlas · Graph-RAG over the RCA/COSZO corpus
The prompt is one of the four demo questions in RCA-Atlas docs/superpowers/specs/2026-09-24-ask-atlas-evidence-design.md. Candidate metrics: evidence recall and precision against a reviewed instrument list; unsupported-claim rate, judged by humans or a validated rubric; latency and model cost per answer. The Worker already accepts several models, so the same golden set can compare base models with the retrieval held fixed. Keep live-data questions (“How many earthquakes at Axial today?”) in a separate suite: their reference changes daily.
OOI · how Ask Atlas answers
Browser Ask Atlas page
→
Worker 1 finds evidence 2 asks a model
→
Graph-RAG search 22,194 passages: papers, pages, OOI records
Live data Nereus, ERDDAP, EarthScope
OOI LLM server Gemma 4 26B, tried first
Fallbacks Gemini → Groq → GPT-5.4 mini
RCA Evals deck, 9 Nov 2026 (UW internal) · coszo-hub/RCA-Atlas
Redrawn from the architecture slide of the RCA Evals deck. The Worker runs on Cloudflare; search and the live-data gateway run on the Cascadia VM behind tunnels; the OOI model is reached through a relay on the OOI JupyterHub that holds the OOI key. For evaluation this matters in two ways: the answer depends on which model in the fallback chain answered, so each run must record it; and live-data answers change daily, so they need their own suite.
OOI · four eval sets, key written first
Literature content
33
Facts from the paper, each a pattern
literature_content_eval.py
Literature titles
20
The paper; logs search rank and citation
literature_eval.py
Instrument metadata
38
Computed from OOI records at each run
asset_eval.py
Task recipes
8
A tested script, rerun in a sandbox
tasks.json
Each key comes from a source with a known answer and is written before the question is asked.
From the “How the evals are prepared” slide of the RCA Evals deck. Literature content: the question is written in a researcher’s words, not the paper’s; facts the paper has but the question does not ask for are reported, never scored; questions are grouped by where the answer lives (abstract, instrument page, full text). Literature titles: shorthand on purpose (VLFEs, ETS, G-FAST) so search must bridge it. Instrument metadata: serial numbers, deployments, swaps, calibrations, depths, orientation; expected facts are computed from OOI asset management and StationXML each run, so the key follows the data. Task recipes: only tasks.json is public (RCA-Atlas commit d041ba6, 8 tasks: earthquake waveform, noise PSD, STA/LTA detection, hydrophone spectrogram, Axial uplift, profiler CTD section, QC time series, ADCP currents); the three eval scripts are not yet in the public repo. Sizes as stated in the deck, not recounted.
OOI · a literature question
Question “How long did the January 1998 earthquake swarm at Axial last, and how many earthquakes were detected?”
Evidence Worker searches the corpus: abstracts, then full-text passages
Answer Model answers from that evidence, citing each claim
Check Each fact is a pattern:\b11\b|eleven8,?247
A right answer in other words still passes.
From the RCA Evals deck. Pattern checks are cheap and deterministic but can pass an answer that states the number in the wrong context, and fail one that rounds. Pair them with a citation check: does the cited passage contain the fact? Report per-fact pass rates, not only per-question.
OOI · a task question
PROMPT IN
“Write a script to detect earthquakes at Axial with STA/LTA on 15 October 2025.”
1 · Recipe test The recipe’s own script runs in a sealed container
2 · Science check Figure checked against a source: catalog, OSU rates, hand calculation
3 · Live answer Gemma answers; only its settings are taken
4 · Run the script Same container; a failure is traced to the recipe or the Worker
A pattern cannot check code, so the code is run.
From the RCA Evals deck. Each recipe has steps with reasons, a script that has been run, what to change, pitfalls and sources. The live question uses a real place and time and a different instrument or span from the recipe’s example, so the agent cannot copy it. Steps 1 and 2 validate the reference; steps 3 and 4 score the agent. Step 3 keeps the recipe’s code and takes only the model’s settings (station, time, dataset): that scores parameter choice, not code writing.
OOI · QA/QC agent
PROMPT IN
“What is the QA/QC status of RS01SLBS-MJ01A-12-VEL3DB101 this month?”
OUTPUTS → CHECKS
Status → agrees with the analyst’s note for that month
Evidence → cites the plot URLs and the date of the note
Restraint → no pass inferred from a plot existing; no plot generation unless needed
Golden set: instrument-month → analyst status. Which notes are reviewed enough to serve as truth?
Tools: src/agentic_qaqc · 10 MCP tools, generation off by default
The prompt is the README’s own example. The README states two rules the scorer can test directly: plot existence does not prove a pass state, and plot generation runs only when existing products are insufficient (execute defaults to false). Candidate metrics: status agreement with analyst notes; false-pass rate, kept separate because a false pass is the costly error; unnecessary-generation rate; whether the note date is cited. Analyst notes are the reference, so the people who write them should review the golden set.
PyLith · the stress that primes a landslide
Modeled surface strain around Mt. Rainier over the PNSN network · Mt. Rainier digital model, Denolle-Lab/mt-rainier-digital-model (BSD-3-Clause), via the GAIA-Rainier-PyLith-Agent deck
From slide 1 of the GAIA-Rainier-PyLith-Agent deck. The static strain field under the edifice sets the conditions for slope failure; dynamic stress from earthquakes adds to it. Finite-element codes such as PyLith resolve this at high resolution but are slow to set up and run, which is the case for an agent suite. Confirm with the model authors whether this field is a PyLith run or a simpler model before presenting it as PyLith output.
PyLith · prompt in, model out
PROMPT IN
“Model static stress under the summit for a 50 m mesh…”
AGENT SUITE → OUTPUTS
Translate → PyLith input files with correct syntax
Self-check → parameter choices; mesh fine enough
Display → stress and strain fields for inspection
Resources → job size, runtime, cost
Code: geodynamics/pylith · proposal: GAIA-Rainier-PyLith-Agent deck
From the GAIA-Rainier-PyLith-Agent deck (Google Slides, 2 slides). The output feeds the Mt. Rainier digital twin: static and dynamic subsurface stress that primes slope failure. Ensembles of runs constrain uncertainty. The four sub-agents are scored separately so a failure can be traced to one of them.
PyLith · what to score
Benchmark
Proposed measurement
FEM syntax
Input runs in PyLith; diff against the golden input
Mesh self-check
Result within tolerance of a refined-mesh reference
Display
Required fields and plots, with units
Resources
Predicted vs actual runtime and cost; within budget
Same agent files and golden set → compare base models.
Seed the golden set: working PyLith inputs from FEM users. Needs agent-evaluation and FEM experience.
The four rows are the benchmark list in the PyLith deck; the measurements are proposals. “Correct syntax” is necessary but weak: an input can run and model the wrong physics, so the golden pairs need a reviewed physical result, not only a reference input file. Mesh convergence needs a reference solution at a finer mesh, which costs compute; budget it in the golden set. Run each case several times: FEM setup by an agent is stochastic even when PyLith is not.
Template · your agent
PROMPT IN
One real request a scientist would make.
OUTPUTS → CHECKS
Artifact → the check that settles whether it is right
Evidence → what the agent must cite or save
Restraint → what it must not do without approval
Golden set · reviewer · ranking metric · budget
Copy this slide for the next agent. Fill the prompt with a real request, not a demo. Every output needs a check that does not rely on the agent’s own account. Name the reviewer before collecting the golden set, and choose the ranking metric before the first run.
Code and data behind this deck
mdenolle/repere
InspectAI tasks, solvers, scorers; the agent leaderboard
Denolle-Lab/codameter
dv/v processing and the seeded synthetic suites
mdenolle/gaia-eval (private)
Task, artifact, ground-truth and rubric schema
coszo-hub/RCA-Atlas
OOI Ask Atlas and QA/QC agents (proprietary licence)
geodynamics/pylith
The finite-element code the PyLith agents drive
This deck
Slides, metrics proposal, toy scorer, meeting notes
gaia-eval is private; ask for access. The deck source is CC BY 4.0, the example code MIT, per the GAIA licensing policy. Held-out references never go in any of these public repositories.
Appendix · a case package
case-001/
task.md # exact prompt
inputs/ # approved visible fixture
manifest.yaml # provenance and versions
output-contract.yaml # required artifacts
Private evaluator store:
case-001/reference/ # reviewed golden outputs
case-001/checks.yaml # metrics and tolerances
case-001/review.md # expert sign-off
Proposed package. It is not a replacement for the current gaia-eval schema: that schema already describes task, artifact, ground truth, provenance and rubric. Agree on a mapping rather than create incompatible definitions. Execution cases need additional environment and numerical-output contracts. Large artifacts can be referenced by immutable location and checksum. Enforce separation through access controls and agent sandbox configuration.
Appendix · how we collaborate
Slides and diagrams — edit slides.qmd and style.css.
Scientific decisions — record them in discussion.md.
Worked example — run examples/score_toy.py offline.
Review — propose changes together; rebuild the HTML.
The repository-ready package includes a build script, an offline scoring example, provenance notes and contribution guidance. No live agent or SPECFEM execution is bundled. Source: book/teaching/agent-evaluation/slides/ in gaia-hazlab/gaia-hazlab.github.io; render with quarto render in that folder.