Repository navigation
Commit eacd8e5
committed
Phases 4-6: ingestion, hybrid retrieval, generation (retrieval-only defaults), config safety bounds
Phase 4: PDF/TXT/MD loaders, chunker, injection guard, date extraction,
and the v2 SQLite ingestion schema + migration registry.
Phase 5: hybrid retrieval - lexical BM25 + dense stub, reciprocal-rank
fusion, index management, and retrieval error taxonomy. Retrieval-only
by default; no provider is activated and no model is loaded.
Phase 6: generation pipeline with retrieval-only defaults, citation
assembly, and typed errors. local_generation_enabled=False,
retrieval_score_floor=None, generation_model=None remain the code
defaults; egress stays off.
Config safety bounds and validators for chunking, retrieval, and
generation limits.
Owner Decision B (authorized 2026-10-23): the frozen evaluation corpus
corpora/synthetic_v1/ (27 files, SHA-256+size pinned by its manifest)
is published with this commit. Two companion changes make that
publication byte-exact:
- .gitignore: narrow the wholesale "corpora/" rule to "corpora/*" plus
"!corpora/synthetic_v1/"; every other raw corpus stays ignored.
- .gitattributes (new): "corpora/synthetic_v1/** -text" stores and
checks out the exact manifest bytes. Without it, core.autocrlf=true
corrupted the 6 PDFs on Windows checkouts and would break the 18
text files on autocrlf=false platforms, failing manifest verification
on any fresh clone. All 27 files verified byte-identical after a
simulated checkout.
Test-record disclosure: this commit is NOT independently test-verified.
The grouping is file-level, so only the final published tree carries a
recorded green run (702 passed, 1 skipped, 1 warning, exit 0 -
supersedes 641 and 696). See reports/security_fix_dataset_id_20261021.md.1 parent 96202b7 commit eacd8e5
81 files changed
Lines changed: 23532 additions & 30 deletions
File tree
- corpora/synthetic_v1
- documents
- questions
- src/rag_platform
- db
- generation
- ingestion
- retrieval
- vectorstore
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
Binary file not shown.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Binary file not shown.
Large diffs are not rendered by default.
0 commit comments