fix(corpus): anchor the docs/ ignore rule and commit the fixture's docs (#73) #81

Merged
jared merged 1 commits from fix/fixture-docs-73 into main 2026-11-12 21:49:44 -05:00
Owner

Summary

  • .gitignore's docs/ matched at any depth, so inst/extdata/fixture_corpus/docs/ was never tracked. It is now /docs/.
  • Restored the four reference docs from the old Nextcloud working copy. They come from the same 2026-08-03 build as the fixture's manifest. I scanned them for hostnames, home paths and tokens first; the only URL is the public Hugging Face dataset.
  • Two tests now fail if the docs go missing: one checks every docs path the manifest names, and one runs cog_mirror(include = "docs") against the fixture.

Test plan

  • Both new tests fail with the docs removed and pass with them present.
  • testthat::test_local(): 1,262 pass, 0 fail, 2 skipped (live-only).
  • CI green.

Closes #73

🤖 Generated with Claude Code

## Summary - `.gitignore`'s `docs/` matched at any depth, so `inst/extdata/fixture_corpus/docs/` was never tracked. It is now `/docs/`. - Restored the four reference docs from the old Nextcloud working copy. They come from the same 2026-08-03 build as the fixture's manifest. I scanned them for hostnames, home paths and tokens first; the only URL is the public Hugging Face dataset. - Two tests now fail if the docs go missing: one checks every docs path the manifest names, and one runs `cog_mirror(include = "docs")` against the fixture. ## Test plan - [x] Both new tests fail with the docs removed and pass with them present. - [x] `testthat::test_local()`: 1,262 pass, 0 fail, 2 skipped (live-only). - [ ] CI green. Closes #73 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared added 1 commit 2026-11-12 21:27:55 -05:00
fix(corpus): anchor the docs/ ignore rule and commit the fixture's docs (#73)
R-CMD-check / check (push) Successful in 4m53s
R-CMD-check / check (pull_request) Successful in 4m53s
1ff6fe8f8e
The unanchored docs/ rule also matched inst/extdata/fixture_corpus/docs/, so
the four reference docs the fixture manifest points at were never tracked and
cog_mirror(include = "docs") copied nothing from a fresh clone. The docs are
restored from the old Nextcloud working copy, written by the same 2026-08-03
build as the fixture's manifest. Scanned for hostnames, home paths and tokens
first: the only URL is the public Hugging Face dataset.

Two tests now fail if the docs go missing again: one checks every docs path
the fixture manifest names, the other mirrors the fixture's docs.

Closes #73

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared merged commit b47f6c9b36 into main 2026-11-12 21:49:44 -05:00
jared deleted branch fix/fixture-docs-73 2026-11-12 21:49:44 -05:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Civilytics/uscogdata#81