Skip to content

test(docs): enforce agent documentation contracts - #1470

Open
s3alfisc wants to merge 3 commits into
masterfrom
test/agent-doc-contracts
Open

test(docs): enforce agent documentation contracts#1470
s3alfisc wants to merge 3 commits into
masterfrom
test/agent-doc-contracts

Conversation

@s3alfisc

@s3alfisc s3alfisc commented Aug 25, 2026

Copy link
Copy Markdown
Member

Purpose

Add a deterministic, provider-free contract for rendered agent documentation. The standard-library checker verifies the complete llms.txt inventory, page and fragment links, draft exclusions, path containment, and seven content cases for common PyFixest questions.

The checker distinguishes a hosted site from the packaged corpus, where absolute pyfixest.org links intentionally remain remote. It also fixes two pre-existing documentation links exposed by the stricter checks.

Stack

Layer 1 of 5 in stack #1475. Base: master.

Generated files

None.

Verification

  • pixi run docs-render
  • pixi run -e py312-r pytest tests/test_agent_docs.py -x -q --no-cov
  • pixi run -e docs python scripts/check_agent_docs.py --site docs/_site

No estimator behavior or public Python API changes.

@s3alfisc s3alfisc changed the title test/agent doc contracts test(docs): enforce agent documentation contracts Aug 25, 2026
@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
core-tests 77.08% <ø> (ø)
test-r-core 55.31% <ø> (ø)
test-r-extended 22.58% <ø> (ø)
test-r-fixest 44.32% <ø> (ø)
tests-extended ?
tests-nojit ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
pyfixest/estimation/api/feglm.py 100.00% <ø> (ø)
pyfixest/estimation/api/feols.py 100.00% <ø> (ø)
pyfixest/estimation/api/fepois.py 100.00% <ø> (ø)

... and 9 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@s3alfisc
s3alfisc force-pushed the test/agent-doc-contracts branch from 7fc8b74 to 443b68f Compare August 30, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant