Skip to main content
Use this page when you are comparing agents, prompts, models, or strategy workflows. Evaluation should be reproducible, mostly read-only, and separated from live execution.

What to evaluate

Record traces

Record every candidate production run:
Summarize it:
Replay when possible:
Use replay for prompt and model comparisons without paying for the same tool calls again.

Backtest price rules

Use sf backtest for simple trigger rules:
Interpretation rules: Backtest output is a screening tool, not production proof. It does not replace live slippage, stale-book, fill-probability, or market-resolution analysis.

Evaluation packet

For a model or prompt comparison, run the same packet for each candidate:
Score the run with a small rubric:

Agent benchmark shape

For an institutional comparison, store one JSON row per task:
Keep raw model output, trace receipt, and final score separate. That makes it possible to rescore old runs when the rubric improves.

Promotion gates

Do not promote a prompt, model, or strategy unless:
  1. sf doctor --agent --deep --json passes in the target environment.
  2. The candidate uses sf describe --all --json or sf tools plan ... --json rather than memorized command lists.
  3. Trace receipt contains no unapproved write/runtime/trade command.
  4. The run names concrete tickers and uses inspect/book before any execution proposal.
  5. Backtests or replay data have enough data points for the claim being made.
  6. The final output includes an approval packet for any side-effecting command.
  7. A human can reproduce the run from the trace and command log.

Common failure modes

Production agent runbook

Deployment, approval, trace, and recovery procedures.

Headless agent

sf agent --plain and sf agent --headless integration.

Real-time data cookbook

Data assembly and fallback paths.

Snapshots

Public datasets and snapshot methodology for reproducible research.