Skip to content

census: refresh hypatia, standards and the Idris2 rows with unsafe markers - #105

Merged
hyperpolymath merged 4 commits into
mainfrom
claude/census-refresh-hypatia-standards
Nov 17, 2026
Merged

hyperpolymath merged 4 commits into
mainfrom
claude/census-refresh-hypatia-standards

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

This refreshes the census rows for hyperpolymath/hypatia, metadatastician/standards and the 14 rows that have Idris2 proofs and a non-zero unsafe count. The hypatia row now covers the actions.lock closure work in hyperpolymath/hypatia#1026 and hyperpolymath/hypatia#1187.

This PR first carried its own fix for a scanner false positive: the Idris2 function partial' was counted as four partial annotations. #101 landed on main meanwhile with the same fix, applied to every marker rule. The merge 39ea12a keeps main's scanner and drops this PR's narrower rule and test. The PR now changes census data only.

Changes

Repository Change
hyperpolymath/hypatia @ 29a9e4a own files 58 → 77, declarations 680 → 1040, unsafe 0
metadatastician/standards @ b49a33e own files 2 → 3, declarations 40 → 66
hyperpolymath/echidna own files 170 → 163, declarations 1969 → 1676, from its newer commits
13 other Idris2 rows with unsafe markers move to their current commits; counts unchanged

The 13 rows in the last line are ambientops, deed-core, developer-ecosystem, ephapax, poly-ssg, proven, raze-tui, reposystem, ssg-collection, cerro-torre, gossamer, paint-type and vordr.

No unsafe count changed in the 14 refreshed Idris2 rows. Their markers are real partial annotations, and the false positive affected only hypatia.

docs/atlas/generated/* is regenerated with census-atlas.mjs build and render-catalogue.sh.

Follow-up

Standards' row still names docs/proof-debt.adoc as its status document. standards#1635 renames standards' record to 3-practice/PROOF-STATUS.adoc and retires that ledger. Once it merges, one more update-rows.sh metadatastician/standards will name the new file.

RSR Quality Checklist

Required

  • Tests pass: tests/census/*.sh all pass, bun test tests/atlas/census-atlas.test.mjs 13/13
  • Catalogue matches rows; census-atlas.mjs check PASS
  • No banned language patterns, no secrets
  • No source files changed

As Applicable

  • Deed and ROADMAP: not changed; project state did not change

Open PRs this touches

This PR changes only docs/atlas/census/rows.jsonl and the four generated atlas files. Of the other open PRs:

Testing

Ran update-rows.sh on the 16 repositories on top of main at 261e6dc. Then ran the census tests, the catalogue diff, and the atlas build, check and tests.

No licence content is touched.

https://claude.ai/code/session_01TbbnKqskQA5mj5gfMniPzi


Generated by Claude Code

The Idris2 rule `^\s*partial\b` matched any line starting with an
identifier spelt `partial'`, because `\b` ends a word before a prime.
Re-censusing hyperpolymath/hypatia counted the four clauses of
`partial'` in tests/accept/ReceiptP5MissingExact.idr as unsafe. The rule
is now `^\s*partial(?![\w'])`, so it still matches the modifier on its
own line or before a declaration, and no longer matches `partial'`,
`partialBody` or `partial_x`. New regression test
tests/census/proof_holes_partial_identifier_test.sh fails on the old
rule and passes on the new one.

Rows refreshed with update-rows.sh, then the atlas rebuilt:
- hyperpolymath/hypatia @ 29a9e4a: 77 own files (was 58), 1040
  declarations (was 680), unsafe 0. It now includes the actions.lock
  closure model and its ledger rows (hypatia#1026, #1187).
- metadatastician/standards @ b49a33e: 3 own files (was 2), 66
  declarations (was 40).

Other rows were censused with the old rule and may carry the same false
positive; a full re-census would correct them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TbbnKqskQA5mj5gfMniPzi
@hyperpolymath
hyperpolymath marked this pull request as ready for review November 17, 2026 01:59
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request changes how the census scanner identifies Idris2 partial modifiers, adds a regression test, and updates repository records in the census data.

Changes: Idris2 Partial Detection

Layer / File(s) Summary
Partial modifier detection
scripts/census/proof-holes.sh, tests/census/proof_holes_partial_identifier_test.sh
The scanner excludes partial matches followed by a word character or apostrophe. The regression script checks that only standalone modifiers are reported as unsafe.

Census Atlas Refresh

Layer / File(s) Summary
Repository census records
docs/atlas/census/rows.jsonl
The census data updates commit hashes, collection timestamps, and selected metrics. It also adds records for gossamer and paint-type.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: claude

Merge Risk: Minimal · up to 76709

The change fixes a false positive in Idris2 partial detection and refreshes the census records. No concrete merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title names the census refresh for hypatia, standards and the Idris2 rows with unsafe markers. The diff in the raw summary (rows.jsonl updates, and a scanner rule change plus regression test) is p…
Description check Passed The description follows the repository template and covers the summary, changes table, required checklist, and testing. It also explains the scanner fix was dropped and the PR now changes census data …
Full details: Title check

Explanation

The title names the census refresh for hypatia, standards and the Idris2 rows with unsafe markers. The diff in the raw summary (rows.jsonl updates, and a scanner rule change plus regression test) is partly related. The description says the PR now changes census data only, because the scanner fix landed on main via #101 and the merge drops this PR's rule and test. The title does not mention the scanner fix, but that change is no longer in the PR, so the title matches the remaining census data changes. The title is specific and concise.

Full details: Description check

Explanation

The description follows the repository template and covers the summary, changes table, required checklist, and testing. It also explains the scanner fix was dropped and the PR now changes census data only. Missing: the Changes section only lists census rows, the Testing section does not name the proof-holes regression test, and the Screenshots section is absent. The author's checklist also marks no deed/ROADMAP update, which fits the stated scope. The description is largely complete, so the check passes.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 327e4d2 and 76709d9.

Files ignored due to path filters: 4

  • docs/atlas/generated/az.adoc is excluded by !**/generated/**
  • docs/atlas/generated/catalogue.adoc is excluded by !**/generated/**
  • docs/atlas/generated/index.json is excluded by !**/generated/**
  • docs/atlas/generated/organisations.adoc is excluded by !**/generated/**
Files selected for processing: 3

  • docs/atlas/census/rows.jsonl
  • scripts/census/proof-holes.sh
  • tests/census/proof_holes_partial_identifier_test.sh

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-17T01:59:40.482588Z
We couldn’t complete this review. Comment @codex review to try again.
2e57e4b Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Re-censused, with the fixed `partial` rule, every row that has Idris2
proofs and a non-zero unsafe count: ambientops, deed-core,
developer-ecosystem, echidna, ephapax, poly-ssg, proven, raze-tui,
reposystem, ssg-collection, cerro-torre, gossamer, paint-type, vordr.

No unsafe count changed, so their markers are real `partial` modifiers
and the `partial'` false positive affected only hyperpolymath/hypatia.
The rows move to their current commits; the only other count that moved
is echidna's own files, 170 to 163, from its newer commits.

Census tests 10/10, catalogue matches rows, atlas check passes, atlas
tests 13/13.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TbbnKqskQA5mj5gfMniPzi
#101 landed on main while this PR was open. It fixes the same partial'
false positive, and does so for every marker rule rather than only
`partial`, with its own tests. So this merge keeps main's
scripts/census/proof-holes.sh and drops this branch's narrower rule and
its regression test. The PR now changes census data only.

The rows were re-censused on top of #101 (update-rows.sh, 16 repos):
hypatia 58 -> 77 own files, 680 -> 1040 declarations, unsafe 0;
standards 2 -> 3 own files, 40 -> 66 declarations; the 14 Idris2 rows
with unsafe markers moved to their current commits with no unsafe count
changing; echidna 170 -> 163 own files from newer commits. Census tests
pass, the catalogue matches its rows, the atlas check passes and the
atlas tests pass 13/13.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TbbnKqskQA5mj5gfMniPzi
@hyperpolymath hyperpolymath changed the title fix(census): partial' is not the partial modifier; refresh hypatia and standards rows census: refresh hypatia, standards and the Idris2 rows with unsafe markers Nov 17, 2026
@hyperpolymath
hyperpolymath enabled auto-merge (squash) November 17, 2026 04:23
main gained #96 (resource-algebra row), #99 and #104. rows.jsonl merged
cleanly (different rows); index.json conflicted, so every generated file
was rebuilt from the merged rows with census-atlas.mjs build and
render-catalogue.sh instead of being hand-merged. The atlas check, the
catalogue diff, 13 atlas tests and 9 census tests pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TbbnKqskQA5mj5gfMniPzi
@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit 69b7f0f into main Nov 17, 2026
42 of 43 checks passed
@hyperpolymath
hyperpolymath deleted the claude/census-refresh-hypatia-standards branch November 17, 2026 04:25
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.

3 participants