Name the schema a leg report actually measured
LEGS.md said "schema v9" while every arm ran on v10. The harness read PRAGMA user_version straight after copying the store, before the product had opened it, so it printed the version the copy arrived with. The copy is migrated on first open, and that is the schema the retrieval service ran on. The version is now read after the arms, and the report line says both: the copy arrives at v9, the product migrates it when it opens, every arm ran on v10. A test pins the sentence so the two versions cannot collapse back into one number. Gates: bench/tests 68 passed; ruff clean; mypy clean on the three files.
This commit is contained in:
1 parent
dc9cfb5a30
commit
a52c10499b
3 files changed
+15
-4
No files matched your search
+5
-1
@@ -68,7 +68,11 @@ def write_markdown(report: dict[str, Any], path: Path) -> None:
|
||||
[
|
||||
"# LEGS: what each retrieval leg is worth",
|
||||
"",
|
||||
f"- commit: `{report['commit']}`, schema v{report['schema_version']}",
|
||||
(
|
||||
f"- commit: `{report['commit']}`, schema v{report['schema_version']} — the copy "
|
||||
f"arrives at v{report['source_schema_version']} and the product migrates it when "
|
||||
f"it opens, so every arm ran on v{report['schema_version']}"
|
||||
),
|
||||
(
|
||||
f"- store: {report['store']} — a copy of {report['source_store']}, which carries "
|
||||
f"{report['dense_vectors']:,} dense vectors built by bench/dense_scale. The build "
|
||||
|
||||
Reference in new issue
Block a user