Use this skill for $meter compare.
Objective
Compare two CocoMeter or harness benchmark result files while respecting the configured optimization objective. The default is correctness-first: accuracy delta is the primary signal and token/cost delta is secondary.
CocoMeter session summaries may include three named cost rows:
execution_cost: functional stage work.coordination_cost: advisor calls, handoff context assembly, artifact transfer, and status sync.landing_cost: reserve-window spend for final evaluation, console update, and handoff.
When [meter] track_acrr = true, session summaries may also include:
acrr_this_session: average Agent Cognitive Redundancy Ratio across completed CocoFlow runs in the session.acrr_runs[]: the last run-level records withcomplexity_tier_estimated,model_tier_configured,model_tier_actual,model_tier_used,model_drift,escalations_taken, andacrr.
When [meter] meter_reconciliation_enabled = true, finalized session summaries may include reconciliation_status, metering_gap_fraction, duplicates_found, model_tier_configured, model_tier_actual, and model_drift. Treat transcript-derived totals as authoritative for billing comparisons when reconciliation_status is gap_corrected.
Treat ACRR as a calibration diagnostic, not an accuracy score. ACRR near 1.0 indicates that the initial complexity tier was sufficient. Consistently high ACRR indicates the task class is being underestimated before dispatch.
Workflow
- Parse
$meter compare <before.json> <after.json>. - Read both files. Accept fields named
accuracy,score,task_accuracy,cost,tokens, orcredits. - Read
cocoplus.toml [meter]:optimization_objective, defaultcorrectness-firstaccuracy_equivalence_band, default0.02cost_first_acknowledged, defaultfalsetrack_acrr, defaulttrue
- Compute accuracy delta before cost delta.
- If objective is
cost-firstbutcost_first_acknowledgedis not true, treat the run as correctness-first and warn. - If both files include ACRR, report ACRR trend after accuracy and before detailed cost rows. A lower ACRR with unchanged accuracy means the harness is better calibrated; a higher ACRR with unchanged accuracy means the run succeeded but over-expanded.
- If either file includes reconciliation or model-drift metadata, report it after ACRR and before cost rows.
Output Order
Always lead with accuracy unless cost-first is both configured and acknowledged:
Accuracy: +3.2%
Cost: +12.0% (accepted because accuracy improved)
ACRR: 1.0 → 1.2 (watch for rising complexity miscalibration)
Verdict: improvement under correctness-first objective
If cost falls but accuracy regresses:
Accuracy: -1.5%
Cost: -18.0%
Verdict: regression under correctness-first objective
WARNING: cost reduction accompanied by accuracy regression.
Exit Criteria
- Accuracy delta appears before cost delta by default.
- Cost reduction is never labeled as improvement when accuracy regresses.
- Equivalent accuracy uses the configured band.
- Missing or malformed input files fail with a clear diagnostic.
- Coordination and landing costs remain separate from execution cost when present.
- ACRR appears as a calibration diagnostic when present and is not treated as a replacement for accuracy.
- Transcript reconciliation and model drift appear when present, and corrected transcript totals lead runtime estimates for billing comparison.
Anti-Rationalization
| Shortcut / Temptation | Why It Fails |
|---|---|
| Treat the skill as complete because the file exists | Skill contracts must describe observable behavior and verification, not just command names. |
| Skip artifact and safety checks for a small command | Small commands still mutate state or guide execution; preserve the same gates. |