docs: backfill env template and migration notes for M2

This commit is contained in:
2026-07-21 01:28:33 -04:00
parent 9aa97a61ae
commit 724dc3c328
10 changed files with 59 additions and 30 deletions
+3 -1
View File
@@ -72,7 +72,9 @@ def weighted_mix(weights: dict[str, float], rng) -> str:
return next(reversed(weights))
async def p1_trace_chains(corpus: SoakCorpus, run_id: str, rng=random.random) -> AsyncIterator[Item]:
async def p1_trace_chains(
corpus: SoakCorpus, run_id: str, rng=random.random
) -> AsyncIterator[Item]:
"""P1 文本长上下文回放: 单链串行,session/parent 链路照原样语义。"""
for chain_idx, chain in enumerate(corpus.chains):
session_id = f"{run_id}-p1-{chain_idx}"