Evaluating GAIA agents

Scientific tasks, golden datasets, and evidence of success
Discussion draft · SPECFEM pilot · 9 November 2026

GAIA HazLab

What should we agree on today?

  1. One task a SPECFEM agent should complete.
  2. One reference case we trust enough to evaluate it.
  3. A set of metrics that reflects scientific quality.
  4. Owners for the case, agent adapters, and review.

The evaluation loop

Did the result meet the scientific requirements?

Repeat across cases and runs; record failures, time, and cost.

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

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.

Why the reference stays hidden

27 processing pipelines on one synthetic dataset, against the known truth · codameter (MIT), literature/figs/demo_9_multiverse.png

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)

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

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

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?”

Check Score
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

Different agents, shared evaluation

Same task, inputs, output contract, and budget
↓ Maleen’s systemAgent loop and tools: to discuss
↓ Marine’s systemRepère / InspectAI approach
↓ Shared scorer and per-case evidence

Repère board: mdenolle.github.io/repere · source: mdenolle/repere

Where this sits in GAIA’s evaluation plan

↓ Repère boardLive
↓ CI regression gatePlanned
↓ Metrics ObservatoryPlanned

Dashed = planned, not running. Repère: mdenolle.github.io/repere

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

A golden dataset connects inputs to checks

A reference needs provenance, versions, and independent review.

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: every scenario, every metric

Liang et al. (2022), Holistic Evaluation of Language Models, arXiv:2211.09110, CC BY 4.0 · Figure: multi-metric evaluation

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?

Robustness: same question, reworded

Liang et al. (2022), arXiv:2211.09110, CC BY 4.0 · Figure: robustness perturbations

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.

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.

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

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

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?

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.

Group decisions · before we build

  1. Which SPECFEM variant and first task?
  2. Who supplies and independently reviews the golden case?
  3. Which metrics, thresholds, and resource limits?
  4. Who implements each agent adapter and scorer?
  5. Where do we collaborate, and when do we compare?

The same template for other GAIA agents

Agent Task Reference Evals
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.

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

OOI · how Ask Atlas answers

Live dataNereus, ERDDAP, EarthScope
OOI LLM serverGemma 4 26B, tried first
FallbacksGemini → Groq → GPT-5.4 mini

RCA Evals deck, 9 Nov 2026 (UW internal) · coszo-hub/RCA-Atlas

OOI · four eval sets, key written first

Set N Answer key Script
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.

OOI · a literature question

Question“How long did the January 1998 earthquake swarm at Axial last, and how many earthquakes were detected?”
EvidenceWorker searches the corpus: abstracts, then full-text passages
AnswerModel answers from that evidence, citing each claim
CheckEach fact is a pattern:
\b11\b|eleven
8,?247

A right answer in other words still passes.

OOI · a task question

PROMPT IN
“Write a script to detect earthquakes at Axial with STA/LTA on 15 October 2025.”
1 · Recipe testThe recipe’s own script runs in a sealed container
2 · Science checkFigure checked against a source: catalog, OSU rates, hand calculation
3 · Live answerGemma answers; only its settings are taken
4 · Run the scriptSame container; a failure is traced to the recipe or the Worker

A pattern cannot check code, so the code is run.

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

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

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

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.

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

Code and data behind this deck

Repository What it holds
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

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

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.