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

Ouverte
#625 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
55/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
javascript, nodejs
Domaine
ai

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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)

Langage dominant
JavaScript
Étoiles
9.1k
Forks
848
Merge moyen
14 h 39 min
PR mergées (30 j)
1

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de EvoMap/evolver

Toutes les issues de EvoMap/evolver

Issues similaires

Plus d'issues JavaScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.