| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| sbom.json | 2026-03-03 | 67.3 kB | |
| README.md | 2026-03-03 | 1.8 kB | |
| v2.6.0 -- Review Response_ 9-Point Hardening source code.tar.gz | 2026-03-03 | 1.5 MB | |
| v2.6.0 -- Review Response_ 9-Point Hardening source code.zip | 2026-03-03 | 1.7 MB | |
| Totals: 4 Items | 3.3 MB | 0 | |
v2.6.0 — Review Response: 9-Point Hardening
Addresses all 9 deficiencies from external review of v2.5.0.
Changed
- R1: Empty default GroundTruthStore —
GroundTruthStore()no longer ships hardcoded SCPN facts. UseGroundTruthStore.with_demo_facts()for demo/test data. - R3: Chunked NLI inner aggregation — inner agg changed from
mintomax. Most contradictory premise chunk drives the score (conservative for safety). Addedinner_aggparameter. - R4: Catch rate improvements — heuristic scorer adds negation asymmetry (+0.25) and novel entity detection (+0.15). Claim decomposition via
NLIScorer.score_decomposed(). New"summarization"profile. - R5: Retrieval wiring —
build_store()supportsvector_backend="sentence-transformer"with configurableembedding_model. CLIingestsubcommand handles directories and paragraph chunking. - R6: Reranker config wired —
build_store()wraps backend withRerankedBackendwhenreranker_enabled=True. - R7: LLM judge structured output — requests JSON
{"verdict": "YES"|"NO", "confidence": 0-100}, falls back to string matching. Configurable model viaDIRECTOR_LLM_JUDGE_MODEL. - R8: Sanitizer scoring mode —
InputSanitizer.score()returns weightedsuspicion_score(0.0-1.0). Low-weight patterns flag without blocking.allowlistparameter for false-positive exemption. - R9: Clean branding — removed
[AGI Output]:prefix, simplified halt message, changed disclaimer to[Unverified]. - R2: Streaming docs — clarified accumulated-text re-scoring, added Limitations section.
Full Changelog
See CHANGELOG.md
Install
:::bash
pip install director-ai==2.6.0