Files
ai-agent-book/chapter7/EXPERIMENT_LEDGER.md
T
liqiang b119135836
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
2026-08-20 13:12:50 +00:00

24 lines
8.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Chapter 7 experiment coverage ledger
This ledger separates runnable code, pinned external sources, and direct
acceptance evidence. A repository checkout, smoke test, or mechanism demo is
never counted as completion of a broader manuscript experiment.
| Experiment | Manuscript acceptance scope | Current evidence | Audit status |
| --- | --- | --- | --- |
| 7-1 | Run τ²-bench, inspect multi-turn failures, and compare the dual-control telecom design with historical τ-bench | [`exp7-1-openrouter-gpt41mini-telecom-20260802-v1`](tau2-bench-eval/validation/runs/exp7-1-openrouter-gpt41mini-telecom-20260802-v1/manifest.json) retains the raw five-task telecom trajectory from pinned upstream `8d005b0…`, 4/5 Pass@1, exact costs, and a wrong-line failure analysis. Upstream format and trial-count checks pass; full-task coverage fails as expected because the manuscript command deliberately samples five tasks rather than a complete leaderboard submission. Historical τ-bench remains pinned at `59a200c…` for the design comparison. | **Complete saved bounded campaign** |
| 7-2 | Personally complete simple/medium/hard tasks from GAIA, AndroidWorld, SWE-bench Verified, τ²-bench, Terminal-Bench, and OSWorld-Verified, retaining trajectories and official verification | [`experiment-7-2-human-benchmark/results.json`](experiment-7-2-human-benchmark/results.json) binds the preregistered 18/18 Codex-as-human cases to their per-benchmark trajectories and first official results: 13 passed, 5 failed, 0 unscored. The [report](experiment-7-2-human-benchmark/README.md) explains every task, operator trajectory, score, failure, and AndroidWorld/τ² compatibility boundary. | **Complete saved bounded campaign** |
| 7-3 | Four-grade precision/recall/reasoning/proactivity rubric, examples/boundaries, hallucination veto | [`user-memory-system-evaluation/results/full_7_3_structured_rubric_evidence.json`](user-memory-system-evaluation/results/full_7_3_structured_rubric_evidence.json): 60 cases, 180/180 structured judgments, full scope, complete. | **Complete** |
| 7-4 | Run Advanced JSON Cards, RAG, and hybrid over the same 60 cases; compare quality, steps, tools, latency, cost, and failure boundaries | [`user-memory-system-evaluation/results/full_7_4_60_cases_costed.json`](user-memory-system-evaluation/results/full_7_4_60_cases_costed.json): 180/180 real trajectories, zero errors, complete pricing coverage and failure analysis. | **Complete** |
| 7-5 | Supply known user memories and trajectory prefixes; evaluate scoped use, current-instruction override, safe clarification, and forbidden next actions across JSON/Markdown/Python-like encodings | [`user-memory-policy-eval/results/manifest.json`](user-memory-policy-eval/results/manifest.json) binds 33/33 real OpenRouter cells (11 bad cases × 3 encodings), zero API errors, and the content-hashed report [`policy_prefix_live.json`](user-memory-policy-eval/results/policy_prefix_live.json): 6/11 passed for each encoding. | **Complete saved campaign** |
| 7-6 | Multiple TTS providers/configurations × diverse corpus; direct-audio judge scores accuracy, naturalness, emotion, and voice consistency against reference audio | [`mistral_multimodal_20260730`](tts-quality-eval/validation/mistral_multimodal_20260730/manifest.json) retains 8/8 content-hashed OpenAI/Fish MP3 cells over four challenge categories, the fixed reference hash, exact four-dimension Voxtral judgments, and a recomputed complete gate. Earlier Google/OpenRouter/account failures remain as historical negative evidence. | **Complete saved campaign** |
| 7-7 | Online Elo from real Arena votes, Bradley-Terry comparison, win matrix, official-ranking comparison, and historical animation | [`exp7-7-arena-20260731-v1`](elo-leaderboard/validation/runs/exp7-7-arena-20260731-v1/manifest.json) binds the 2.0 GB public snapshot by SHA-256 and processes all 1,799,991 source rows (1,670,250 accepted blind votes, 129 models). Chronological K=4 Elo and deterministic-bootstrap Bradley-Terry rankings have Spearman 0.787 / Kendall 0.606 agreement and 12/20 top-model overlap; empirical/predicted matrices, 17 monthly snapshots, three plots, and the D3 animation are content-hashed and independently revalidated. | **Complete saved campaign** |
| 7-8 | Hold a neutral coding harness fixed while swapping GPT/Claude models; repeat localized, cross-cutting, and contract-sensitive tasks; measure pre-edit exploration, first-patch acceptance, rework, final tests, latency, files, and tokens | [`model-action-threshold/results/exp7-8-action-threshold-20260731-v1/manifest.json`](model-action-threshold/results/exp7-8-action-threshold-20260731-v1/manifest.json) binds 18/18 real OpenRouter cells (2 models × 3 tasks × 3 trials), zero API errors, full trajectories, and independently passing artifact hashes. Both models pass all final tests; GPT-5.6-sol averages 6.89 pre-edit tool calls / 4.67 files versus Claude Sonnet 5 at 4.56 / 3.56. | **Complete saved campaign** |
| 7-9 | End-to-end multi-turn cost decomposition and measured KV-cache/context-compression A/B | `agent-cost-analysis/sample_trace.json` retains the real four-arm, eight-turn token/cache/latency observations; README reports per-step, percentile, component, and 2×2 results. | **Complete saved campaign** |
| 7-10 | Multi-provider 8K/32K/128K × 512/2048 workload at N≥100, p50/p95/p99, thinking, pricing, same-model provider pair, rate ramp, Agent trace, and 168-hour hourly availability | Campaign and strict analyzer implemented. [`model-benchmark/results/manifest.json`](model-benchmark/results/manifest.json) reports only 29 smoke/readiness observations, no standard N=100 cells, no rate ramp/Agent-cost phase, and no 168-hour campaign. | **Incomplete—long-running/costly campaign** |
| 7-11 | Full 4 embeddings × 3 rerankers × 2 main models × 60 cases with retrieval/task metrics and interaction analysis | [`user-memory-system-evaluation/results/full_7_11_60_case_matrix.json`](user-memory-system-evaluation/results/full_7_11_60_case_matrix.json): 60 cases × 24 cells = 1,440/1,440 real trajectories, zero error records, zero unpriced usage, complete retrieval/task metrics and factorial interaction analysis, top-level and completion status `complete`; independently rechecked by `user-memory-system-evaluation/validation/verify_full_matrix_20260731.py` (ALL CHECKS PASSED). Executed under documented backend substitutions (BGE-M3 and OpenAI embeddings via OpenRouter as identical models, Qwen3-Embedding-8B substituting the endpoint-gated Doubao embedding, Doubao-LLM reranker substituting the unreachable BGE cross-encoder); see [`user-memory-system-evaluation/results/full_matrix_backend_readiness_20260731.json`](user-memory-system-evaluation/results/full_matrix_backend_readiness_20260731.json) and `candidate_backend_probes_20260731.json`. | **Complete saved campaign** |
| 7-12 | Diagnose AndroidWorld, test layered hypotheses, make cost-benefit decision, rerun full suite, and iterate | [`android-world/validation/candidate_h5c_api33_local_qwen_20260804/evidence.json`](android-world/validation/candidate_h5c_api33_local_qwen_20260804/evidence.json) retains all 580/580 unique episodes (116 tasks × five trials), including evaluator failures, with zero runtime errors. Strict T3A success is 26/580 (4.4828%); mean evaluator reward is 0.133621, comprising 77 full-reward states plus one `0.5` partial reward. The five-shard run used the completed official setup and all 24/24 required apps on Pixel 6/API-33, with local Qwen2.5-7B revision `a09a35458c702b33eeacc393d103063234e8bc28` via vLLM 0.19.0 on an RTX PRO 6000 Blackwell 96 GB. Execution and evidence are complete, but deployment is not approved; because the candidate Qwen model differs from the paired-source Doubao model, this evidence supports neither a same-model uplift nor a noninferiority claim. | **Complete saved campaign—deployment not approved** |
| 7-13 | Real OpenVLA + RoboTwin2 `move_can_pot` evaluation with three RGB views, 14-D proprio/action, IID/OOD seeds, timing, failures, and action-chunk ablation | [`exp7-12-localgpu-20260803-v1`](openvla-robotwin2-eval/validation/runs/exp7-12-localgpu-20260803-v1/manifest.json) binds two real single-GPU `val_only` arms of 128 IID + 128 OOD episodes each, 512 rollout-video hashes, all process/config/checkpoint/source identities, and 486 evidence-backed timeout classifications. Chunk 1 scored 0/256; chunk 25 scored 26/256 (13/128 in both IID and OOD), a paired +10.15625 pp result. The strict analyzer and retained-package verifier both pass. | **Complete saved campaign; low absolute success retained** |
External source identities and commands are maintained in [README.md](README.md).