Skip to content
 
 

Repository files navigation

StableEval Arena

Cost-aware agentic AI evaluation for stablecoin price-stability prediction
Paper notation: \textsc{StableEval Arena}

Agentic AI StableEval 120 StableEval 507 Stablecoins Backend

StableEval Arena is a historical-replay benchmark for evaluating whether agentic AI systems can act as cost-aware, trustworthy stablecoin risk agents. Each case gives an agent a frozen 30-day lookback packet and asks it to predict the next 7-day stable/watch/stress state, depeg probability, and dollar-peg deviation.

GitHub repository: https://github.com/SeanWan514/StableEval-Arena

Hugging Face dataset: https://huggingface.co/datasets/SeanWan05/stableeval-arena

The release is organized around two paper-facing benchmark blocks:

Block Role Current release state
StableEval-120-Enriched Stress-enriched rare-risk diagnostic Complete: 120 cases, six systems plus baselines, ablations, freeze manifest
StableEval-507-Natural Natural-distribution scaling and robustness result Complete: 507 cases, baselines, four native/framework-level agents, two adapter-based -Claw extensions

API keys are never stored in the repository. Saved outputs are included so the reported tables can be recomputed without calling model APIs.

Release Snapshot

Component Current release state
StableEval-120-Enriched 54 stable, 45 watch, 21 stress cases
StableEval-507-Natural 441 stable, 45 watch, 21 stress cases
Stablecoins USDT, USDC, DAI
Context assets BTC and ETH market context
Systems Nanobot, LangGraph, Hermes AI, EvoAgentX, OpenClaw, NanoClaw
Native/framework-level agents Nanobot, LangGraph, Hermes AI, EvoAgentX
Adapter-based extensions OpenClaw and NanoClaw via StableEval adapter
Model backend qwen/qwen-2.5-72b-instruct through OpenRouter
Protocol same prompt schema, case order, temperature 0, evaluator, and calibration rule
Main trustworthiness caveat stress recall remains weak; this is a central finding, not a hidden limitation

Why This Benchmark Exists

StableEval Arena is built around three workshop-facing dimensions:

  • Evaluation: agentic systems and non-agent baselines are compared under frozen historical replay.
  • Trustworthy: results include missed stress, false alarms, Brier score, latency, token cost, failure rate, and raw-output validity.
  • Agentic: execution metadata, raw outputs, parsed JSON, and ablations are logged so the benchmark evaluates agent workflows, not only final labels.

Because all six systems use the same LLM backend, the comparison measures platform-mediated agentic execution, reliability, cost, and structured-output behavior under a common model. It is not a claim about independent foundation-model ability.

Repository Map

data/benchmark/stableeval_120_enriched/   120 prompt packets and anonymization packets
data/benchmark/stableeval_507_natural/    507 case list, labels, prompt packets, hourly windows
data/benchmark/data_cards/                Detailed benchmark data card
prompts/templates/                        System and risk-sensitive prompt templates
protocols/                                Frozen protocol descriptors
results/stableeval_120_enriched/          120 predictions, metrics, ablations, freeze manifest
results/stableeval_507_natural/           507 predictions, metrics, audits, costs, v6 leaderboard
scripts/                                  Build, run, evaluate, and release helpers
src/                                      Agent runner and StableEval helper code
docs/                                     Methodology, release notes, artifact notes

Main Files

Use File
120 case list results/stableeval_120_enriched/validation_case_list.csv
120 prompt packets data/benchmark/stableeval_120_enriched/prompt_packets.jsonl
120 raw predictions results/stableeval_120_enriched/predictions_base_raw/
120 calibrated predictions results/stableeval_120_enriched/predictions_base_calibrated/
120 main metrics results/stableeval_120_enriched/evaluation_base_calibrated/
120 final tables results/stableeval_120_enriched/final_tables/
120 freeze manifest results/stableeval_120_enriched/freeze_manifest/
507 case list data/benchmark/stableeval_507_natural/case_list.csv
507 labels data/benchmark/stableeval_507_natural/labels.csv
507 prompt packets data/benchmark/stableeval_507_natural/prompt_packets.jsonl
507 raw predictions results/stableeval_507_natural/raw_predictions/
507 calibrated predictions results/stableeval_507_natural/calibrated_predictions/
507 v6 leaderboard results/stableeval_507_natural/final_tables/stableeval_507_natural_v6_leaderboard.csv
507 audits and metric recomputation results/stableeval_507_natural/metrics/ and results/stableeval_507_natural/reports/

Task Definition

Each case contains a target stablecoin, an observation time t, a frozen 30-day lookback window, and a hidden 7-day prediction horizon. Agents receive only lookback-window evidence and must output strict JSON:

{
  "case_id": "...",
  "platform": "...",
  "model_backend": "qwen/qwen-2.5-72b-instruct",
  "execution_mode": "...",
  "price_stability_next_7d": "stable | watch | stress",
  "p_depeg_next_7d": 0.0,
  "predicted_max_abs_deviation_bps": 0.0,
  "predicted_direction": "below_peg | above_peg | two_sided_or_no_meaningful",
  "confidence": 0.0,
  "rationale": "..."
}

Dollar-peg deviation is measured from hourly close price:

deviation_bps = abs(close_price - 1.0) * 10000

Hidden next-7-day horizon values are used only for case construction and evaluation. They are not included in agent-facing prompt packets.

Reproduce From Saved Outputs

Install the core Python requirements:

pip install -r requirements-core.txt

Recompute the main 120-case metrics from saved calibrated predictions into a temporary output folder:

mkdir -p /tmp/stableeval_release_audit

python scripts/evaluate/recompute_stableeval_120_enriched.py \
  --root . \
  --out /tmp/stableeval_release_audit/stableeval_120_enriched_recompute

Verify the 507 v6 leaderboard from saved predictions, labels, baselines, and cost logs:

python scripts/evaluate/recompute_stableeval_507_natural.py \
  --root . \
  --out /tmp/stableeval_release_audit/stableeval_507_natural_recompute

The canonical 507 scaling result is materialized at:

results/stableeval_507_natural/final_tables/stableeval_507_natural_v6_leaderboard.csv

For full reproducibility details, including which commands call APIs and which are saved-output only, see REPRODUCIBILITY.md.

API-Backed Reruns

Real LLM-backed reruns require an OpenRouter key in the shell only:

export OPENROUTER_API_KEY="..."

Do not write API keys into repository files. API-backed reruns spend credits and are not required to inspect or recompute the saved result tables.

Some historical manifests and one-off finalizer scripts retain pre-cleanup path names for audit provenance. The canonical public paths are the two benchmark blocks listed above and in FILE_MANIFEST.md.

Execution Caveats

  • Nanobot, LangGraph, Hermes AI, and EvoAgentX are treated as native/framework-level comparisons.
  • OpenClaw and NanoClaw are adapter-based -Claw extensions in this release.
  • OpenClaw/NanoClaw native CMDOP execution was not verified; do not describe those rows as native CMDOP results.
  • All six systems use the same OpenRouter model backend.
  • Weak stress recall is a reportable trustworthiness finding. Do not describe current agents as solving stablecoin stress prediction.

License And Data Redistribution

Repository code, scripts, prompts, and documentation are released under Apache License 2.0; see LICENSE.

Benchmark artifacts under data/benchmark/ and results/ may include processed or derived market-data artifacts from upstream providers such as CryptoCompare/CCData and DeFiLlama, plus LLM-generated outputs. These artifacts are included for academic reproducibility, but redistribution and reuse may remain subject to original provider terms. Raw provider/vendor snapshots are not redistributed.

Citation

See CITATION.cff. Please update the author list and paper identifier before public release if the workshop paper metadata changes.

About

Historical-replay benchmark for trustworthy agentic AI evaluation on stablecoin risk, with StableEval-120-Enriched and StableEval-507-Natural.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages