auto-distill `strategy` excerpts mix success-summary prose with fix narration and truncate mid-fix

未关闭
#625 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
javascript, nodejs
领域
ai

调研方向

Start by tracing the autoDistillTranscript gate and the extractor's SUCCESS_PROSE classification, then read the §20.3 examples in docs/experiment-report.md. Compare the current strategy excerpts with the reported repair keywords and truncation behavior; done means fix narration is preferred over success prose and excerpts no longer cut before actionable repair text.

由索引模型根据 Issue 内容生成。

描述

Summary

In controlled closed-loop runs, auto-distilled gene strategy text is excerpted from the session's own turns. Two quality problems observed on 2.0.30:

  1. Fix narration and success-summary prose are mixed in one excerpt. Current on-disk example (single strategy step, as stored):

    "The file is GBK-encoded (contains Chinese characters),…"
    

    …and the neighboring step continues: "Let me fix the script: All correct. analyze.py outputs: - number of events: 8 …" — i.e. the fix turn and the closing success summary are stitched together.

  2. Truncation cuts at arbitrary points, sometimes right at an actionable keyword. Stored steps end with a literal ellipsis (…), e.g. "The file is GBK-encoded (contains Chinese characters),…" — the actual fix (use encoding="gbk") lands after the cut.

Impact

Excerpt quality varies run-to-run with R1 error density (observed 0/3 vs 5/5 runs containing the fix across two experiment batches). A noise strategy, once injected, is worse than no injection (measured: R2 token +36pp vs baseline), so this variance directly breaks inheritance effectiveness.

Suggestion

  1. Prefer turns matching error/repair keywords when excerpting strategy (or at least exclude the closing success-summary turn);
  2. Keyword-aware truncation (never cut before the first actionable keyword), or a higher floor length;
  3. Consider an LLM-refine fallback that also triggers when a strong signal WAS found but the excerpted strategy looks like success prose — the current autoDistillTranscript gate only fires when no strong signal exists ("do not double-spend an LLM"), which misses exactly this failure mode. (Notably the extractor already classifies SUCCESS_PROSE signals — that classification could gate the fallback.)

Full report: https://github.com/stwhwing/pi-evox-lab/blob/main/docs/experiment-report.md (§20.3)

主要语言
JavaScript
星标
9.1k
派生
848
平均合并
14 小时 39 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

EvoMap/evolver 的其他 Issue

查看 EvoMap/evolver 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。