Reproduce the comparison.
Retrieve the catalog, select a supported model and submit an explicit sweep plan. The same PHP solvers power the user interface and JSON API.
Interface
GET /model-comparison/catalog.json — models, numeric metrics, permitted pairs and seven presets.
POST /model-comparison/api/ — application/json object with a plan and optional expected_sha256. Returns a result and replay_match. No API key, state persistence or external model. For multi-step AG-UI investigations, use the existing workspace protocol.
Example request
{
"plan": {
"title": "Physical clock prediction versus SR",
"description": "Compare a stipulated candidate clock rate with the SR count at the same reference rate, speed and duration. The two predictions are distinct outputs of one solver.",
"model": "foundation:constant-time",
"parameter": "beta",
"start": 0,
"end": 0.99,
"samples": 21,
"candidate": {
"ratio": 0.8
},
"reference": {
"ratio": 0.8
},
"metric": "Candidate counts",
"reference_metric": "SR counts",
"schema": "beyondspacetime.sweep-plan.v1",
"reference_mode": "matched"
}
}Scientific constraints
3–65 ordered uniform samples within the declared parameter bounds. Reference mode is matched or fixed. Different output metrics are permitted only for the listed same-model pairs: candidate and SR clock counts, entry and crossing drag bounds, inferred and calibrated distance. They require identical inputs and matched reference mode. Numeric metrics and units are checked at evaluation. Probe half-width is a deterministic input variation, clipped to the sweep range; endpoint secant slopes are not derivatives in general. No observational likelihood, statistical confidence interval or fit is produced.
Reproducibility
The plan is normalized, and all results recomputed. A result digest includes the installed source hashes and PHP environment. A matching digest is not proof of scientific validity. Invalid input returns 400; unsupported methods 405. Requests limited to 64 KiB. No new AG-UI endpoint; the workspace AG-UI protocol is retained unchanged.