{
  "acceptance_version": "0.1",
  "object_path": "examples/seabird-foraging-facilitation",
  "manifest": "agent/tools.json",
  "published_results_path": "results.json",
  "notes": "Tolerances are 1e-6 relative: the GEE and GLM fits are iterative, so the last couple of digits move between library builds while the reported values do not.",
  "calls": [
    {
      "call_id": "dataset-published",
      "tool": "dataset_summary",
      "args": {},
      "expect": {"kind": "published_pointer", "result_path": "/dataset"},
      "rel_tolerance": 1e-6,
      "abs_tolerance": 1e-9,
      "enabled": true
    },
    {
      "call_id": "mode-published",
      "tool": "mode_effect",
      "args": {"reference": "surface"},
      "expect": {"kind": "published_pointer", "result_path": "/T1_mode"},
      "rel_tolerance": 1e-6,
      "abs_tolerance": 1e-9,
      "enabled": true
    },
    {
      "call_id": "mode-inverted-off-reference",
      "tool": "mode_effect",
      "args": {"reference": "flight"},
      "select": "/rate_ratio",
      "expect": {"kind": "literal", "value": 0.8254974090673618},
      "rel_tolerance": 1e-6,
      "abs_tolerance": 1e-9,
      "enabled": true,
      "notes": "Exactly the reciprocal of the published 1.2114, and the same p. The mode effect is a property of the data, not of which level was coded as baseline."
    },
    {
      "call_id": "conspecific-published",
      "tool": "conspecific_effect",
      "args": {},
      "expect": {"kind": "published_pointer", "result_path": "/T2_conspmax"},
      "rel_tolerance": 1e-6,
      "abs_tolerance": 1e-9,
      "enabled": true
    },
    {
      "call_id": "equivalence-published",
      "tool": "equivalence_mode",
      "args": {"margin_rate_ratio": 1.5},
      "expect": {"kind": "published_pointer", "result_path": "/T3a_equivalence_mode"},
      "rel_tolerance": 1e-6,
      "abs_tolerance": 1e-9,
      "enabled": true
    },
    {
      "call_id": "equivalence-tighter-off-reference",
      "tool": "equivalence_mode",
      "args": {"margin_rate_ratio": 1.25},
      "expect": {
        "kind": "literal",
        "value": {
          "margin_rate_ratio": 1.25,
          "p_tost": 0.46169435417430504,
          "equivalent_at_0.05": false
        }
      },
      "rel_tolerance": 1e-6,
      "abs_tolerance": 1e-9,
      "enabled": true,
      "notes": "Tightening the bound to 1.25x moves p_tost from 0.26 to 0.46. The mode effect is not equivalent to null at either margin, so the honest reading is underpowered rather than equivalent."
    },
    {
      "call_id": "robustness-published",
      "tool": "robustness",
      "args": {"nb_alpha": 1.0},
      "expect": {"kind": "published_pointer", "result_path": "/T3b_robustness"},
      "rel_tolerance": 1e-6,
      "abs_tolerance": 1e-9,
      "enabled": true
    },
    {
      "call_id": "robustness-halved-dispersion-off-reference",
      "tool": "robustness",
      "args": {"nb_alpha": 0.5},
      "select": "/nb_glm_conspmax_p",
      "expect": {"kind": "literal", "value": 0.05930996722622075},
      "rel_tolerance": 1e-6,
      "abs_tolerance": 1e-9,
      "enabled": true,
      "notes": "Halving the assumed dispersion moves the NB conspecific p from 0.146 to 0.059. The negative-binomial robustness check is sensitive to a dispersion the published run fixed by assumption, which qualifies claim 2."
    },
    {
      "call_id": "multiplicity-published",
      "tool": "multiplicity",
      "args": {},
      "expect": {"kind": "published_pointer", "result_path": "/multiplicity"},
      "rel_tolerance": 1e-6,
      "abs_tolerance": 1e-9,
      "enabled": true
    },
    {
      "call_id": "multiplicity-three-family-off-reference",
      "tool": "multiplicity",
      "args": {"p_values": [0.01, 0.04, 0.2]},
      "select": "/p2/bh_p",
      "expect": {"kind": "literal", "value": 0.06},
      "rel_tolerance": 1e-6,
      "abs_tolerance": 1e-9,
      "enabled": true,
      "notes": "A three-test family, where BH and Holm diverge (0.06 vs 0.08), exercising the correction away from the two-test case the object reports."
    }
  ]
}
