Skip to content

Choose a tag to compare

@LF3551 LF3551 released this 14 Nov 19:29
· 2 commits to main since this release
f1086ff

✨ Added

  • Under hrg-1 and hrg-2, hrg analyze prints a note when people in the file have no activity seen for over inactive-days (last_active), pointing to --model hrg-3 and HRG007 when the file has functions; HRG007 itself stays a hrg-3 rule.
  • GitHub Enterprise Server: hrg scan github --api-url https://HOST/api/v3 (also HRG_GITHUB_API_URL, and GITHUB_API_URL as GitHub Actions sets it); the GitHub CLI token for that host is used. Action input api-url, by default the API of the GitHub the workflow runs on.

⚡ Performance

  • Key-person impacts (hrg-1/hrg-2) come from one depth-first search (Tarjan's low-link) instead of a search per articulation point: the fix plan for 3,000 people takes under a second instead of about five minutes. Results are identical (checked against the previous implementation on random graphs and on the example reports).
  • The HTML report draws the dependency map for up to 400 people and says so above that; hrg analyze with every report for 3,000 people takes seconds instead of minutes. hrg visualize still draws everyone.

🔬 Research

  • Protocol of a second study, docs/study-two-person.md: two-person control and dormant authority over publishing in the 1,000 most downloaded PyPI packages, with its collection and analysis code (benchmark/two_person.py) and tests, fixed before any data in the sample was collected and registered on OSF (doi:10.17605/OSF.IO/J8ZFG).
  • Helpers for the steps after collection (benchmark/two_person_review.py): a checklist for the manual measurement check with the evidence of each project (publishing workflow lines, environment settings, provenance of every file), its scoring into an aggregate agreement, and private-notification drafts with each project's channel (GitHub private vulnerability reporting, else its security policy, else none). They read the collection cache with the registered functions and never change the data.

📝 Documentation

  • The validation study is described as a retrospective study with the protocol committed before data collection, not as pre-registered: the protocol was committed to this repository, not to an independent registry, and the outcome data already existed (README, CITATION.cff, .zenodo.json, the 0.14.1 entry below).