Add K1e answer replay harness#59
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4224d74b50
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| from pathlib import Path | ||
| from typing import Any | ||
|
|
||
| from src.rag import build_rag_index, save_rag_index |
There was a problem hiding this comment.
Make the documented replay command import the project package
Running the documented command python tools/run_rag_provider_replay.py ... from the repository root fails before it can initialize a provider: Python puts tools/ (not the repository root) on sys.path, so this new sibling-package import raises ModuleNotFoundError: No module named 'src'. Use a module invocation in the documentation/entry point, install the package, or add an intentional bootstrap so the advertised replay harness can run without a caller-provided PYTHONPATH.
Useful? React with 👍 / 👎.
Scope
K1e adds a reproducible answer replay harness on top of merged K1a-K1d.
output/directoryProvenance
The runner determines provenance from the concrete production adapter. A test double cannot label itself as a completed real-provider replay by changing a string field. Synthetic tests remain
synthetic_test; unavailable or failed real calls do not receive fabricated quality scores.Current status
The harness and regression coverage are implemented. No completed real-provider benchmark is claimed in this PR yet; CI validates the harness with synthetic providers and keeps the deterministic K1a-K1d contracts green.
K2 structural parsing and chunking remains out of scope.
Merge gate
The latest head must pass full CI, and project status must continue to distinguish harness readiness from an actually executed real-provider replay.