Repository navigation
Releases
Releases · edycutjong/docstruth
v0.1.2
Bug fixes
- sandbox: Check a reused venv against the pins; label a platform without the locked closure
- cli_accepts: Find extra-only distributions whose import name differs
- roundtrip: A bare Python import or shell export is not the config round trip; an empty export is NOT_RUN
- checkers: A whole number written as one word is that number
- guard: Parentheses and dashes also end the clause a standalone flag binds to
Documentation
- site: Regenerate the site against the README commit (links pinned to ab9baed)
- readme: Each checker's "cannot" cell names the new declines and refusals
v0.1.1
Bug fixes
- extract: Salvage a failed reply row by row and say what failed in the re-prompt
- sandbox: Install the pinned release with its uv.lock dependency closure
- reproduce: Harness-green requires a no-extras sandbox of the version under test
- cli_accepts: An import error is an erratum only for an extra-only module
- roundtrip: The fixed experiments need a sentence about config export or import
- guard: A standalone flag counts only in the command's own clause
- checkers: A value spelled in words declines instead of becoming INVALID
- roundtrip: A failed config export is NOT_RUN, never an empty config
Refactoring
- Match provider hosts exactly in the call counter and close the key file
Documentation
- site: Regenerate the site against the README and findings commit (links pinned to 4babb78)
- findings: Bb-13, output_type is validated after the reply and no schema is sent
- readme: What roundtrip can falsify, what a verdict points at, the locked sandbox
- site: README citations follow the canonical-layout line numbers (links pinned to daea4ba)
- README in the canonical layout
- Private advisory as the only contact channel; judge-page tablet nav keeps its links
Tests
- Local imports keep the README-cited test line in place
- Fixtures re-raise after offline_skip so every path returns or raises (CodeQL py/mixed-returns)
- Keep writes out of assert statements; offline_skip is typed NoReturn
CI
- Release.yml bumps the version files, writes CHANGELOG.md and commits the release itself
- Pin astral-sh/setup-uv to the v7.6.0 commit SHA (CodeQL actions/unpinned-tag)
v0.1.0
First release. Pinned to openminion==0.1.24.
Features
- Agent that reads OpenMinion's docs and gives every checkable sentence one of four verdicts:
VALID,INVALID,NOT_RUNorUNCHECKABLE. The model only proposes claims; deterministic checkers decide the verdict. - Four checkers:
provider_field,config_default,roundtripandcli_accepts. Each declines asUNCHECKABLEwhat it cannot falsify. - Isolated sandbox venv of the release under test, with an allowlisted environment, closed stdin and a fixed help width.
- Guard that refuses a proposed claim unless its command, flag, value and sentence are grounded in the doc text, and that refuses negated, hedged or truncated sentences.
- Two-observation verdict engine: a result counts only when a second observation agrees; harness failures are never reported as INVALID.
- Commands:
run(live extraction or the model-free--claimspath,--sinceto re-check only changed sections,--merge),recheck(re-judge a saved report with no model call, optionally on another release,--allow-known),score(against gold labels) andrender(staticreport.html). - Live extraction through the OpenMinion SDK with a recovery ladder for failed sections, a
--rate-limit-waitoption and a per-run call cap. - Companion-CLI census, errata drafts with issue and fix drafts, and a tracker lookup that records the query and date for each INVALID.
- Static errata report (
report.html) with a refusal ledger, score, SDK-call ledger and filter chips. reproduce.sh: an optional live run on two doc sections (12 calls), then a model-free replay and re-check with a planted-error check.bench.py: per-section and per-checker latency and claims per minute from a saved run.- Submission-readiness check for placeholders, internal vocabulary, unsupported numbers and missing evidence.
Bug fixes
- Closed several false-INVALID paths: command words, config-key matching, several numbers in one sentence, code examples, roundtrip direction and Rich help output.
- Harness failures, timeouts and rate-limit retries are reported as such and no longer counted as flaky or INVALID.
- A
--helpthat fails is recorded as a surface erratum, never as a doc patch. - Provider lists,
a and bmodel pairs, trailing slashes and values paired with the wrong catalog field are parsed or declined instead of mis-judged. - A live extraction run no longer fails when the model omits the
docfield; docstruth sets it. - The reproduce summary marks a low-yield live run as degraded; the script works with bash 3.2.
Performance
- Percentiles in the benchmark are reported only from ten samples up.
Refactoring
- Provider hosts are matched exactly in the call counter and the key file is closed after reading.
Documentation
- README with measured results on
openminion==0.1.24, the animated hero, architecture figure, and an explicit list of what is not built. - Evidence notes for the live runs, the extraction experiment, the OpenMinion SDK calls and the building blocks tested.
- Landing page, pitch deck, generated report and a judge page (
/judge/) on GitHub Pages;DEMO.mdwith the output to expect. SECURITY.md(private advisory as the contact channel),CONTRIBUTING.mdwith the commit-prefix and release table, issue forms and a pull-request template.- Workflow status badges in the README.
Tests
- 130 tests, including a tripwire fixture (three planted value mutations must be INVALID, three untouched claims VALID), provider-clause and flag-binding cases, and a CI rule that fails on skipped real-CLI tests.
- Fixtures re-raise after
offline_skipso every path returns or raises; writes stay out ofassertstatements.
CI
ci(ruff, format, pytest),reproduce(model-free replay),security(gitleaks, pip-audit),codeql(Python and the workflows) andsite(validates the Pages site and checks the served copy matchesdocs/).releasecuts a semantic-versioned tag and GitHub release from conventional commits aftercipasses onmain.- Actions are pinned to commit SHAs where CodeQL asks for it; Dependabot groups weekly updates into one PR per ecosystem.
Chores
- Community health files and a key template.
Full changelog: https://github.com/edycutjong/docstruth/blob/main/CHANGELOG.md