Skip to content

eval: validate longitudinal feedback on real D1 corpora #39

Description

@lipluscodex

目的

実在 D1 corpus の複数 repository / graph cluster で、trace-credited feedback の長期適応を検証する。#37 の constructed multi-cluster artifact は mechanism observation として保持するが、cross-corpus evidence に使わない。

前提

実データ取得条件

  • development / holdout は各3以上の mutually-disjoint D1 cluster を持つ。
  • 各 split は少なくとも3つの異なる source_repo を含む。source URL は実在する GitHub repository file / Wiki page でなければならない。
  • acquisition は D1 に対する read-only SELECT / WITH だけを許可し、schema fingerprint、query、row count、zero-write evidence、source repository、取得時刻、known gaps を provenance に保存する。
  • development / holdout / prior fixture 間で doc path、node ID、source URL、normalized query、expected endpoint / edge type を重複させない。
  • corpus または disjoint 3-edge cluster を確保できなければ、結果を生成せず failure report を残して停止する。

固定長期プロトコル

  • 各 cluster は少なくとも3本の distinct credited relation edge を持つ。h=1,2,3 で異なる edge に対する success feedback を順に記録する。
  • control / treatment は corpus、config、query、limit、timestamp、feedback schedule を共有する。control は mutation なしで同じ event を記録し、treatment だけが credited path を強化する。
  • scoring query は feedback query と分離する。raw path は {source_id,target_id,edge_type} identity へ射影して比較する。
  • headroom は h=0 control MRR < 1.0 で final aggregate strict improvement + per-cluster non-regression、ceiling は non-regression + safety gate を要求する。
  • fixture、gold、provenance、audit、manifest、implementation、tests、gate、stop rule の result-free freeze push 後に development 一回、通過時のみ holdout 一回を許可する。

制約

  • Agent end-to-end、default、router、learned model、production adoption は変更しない。
  • fixture selectionで過去の observed metricを読まない。結果観測後の変更・再実行・再集計を拒否する。

対象ファイル

  • src/neuron_graph_rag/real_corpus_longitudinal_feedback_experiment.py
  • tools/acquire_real_corpus_longitudinal_feedback_fixture.py
  • tools/run_real_corpus_longitudinal_feedback_experiment.py
  • tools/audit_real_corpus_longitudinal_feedback_fixture.py
  • tests/fixtures/d1_real_corpus_longitudinal_feedback_*
  • tests/test_real_corpus_longitudinal_feedback_experiment.py
  • docs/real-corpus-longitudinal-feedback-experiment.md
  • docs/requirements.md
  • README.md

Metadata

Metadata

Assignees

Labels

enhancement新機能・改善要望ready本文が実装開始できる形まで収束している状態。ただし更新は継続可能waiting外部依存待ち(CI / dependent issue / 環境)。pause 状態

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions