Repository navigation
Importer: exact pressure scores (#131); year-off recaptures take their set's date (#133) - #164
Merged
Merged
Conversation
…r set's date (#133) #131: Jodie Rummer pointed to the paper's data. The per-nursery scores are now the Bouyoucos et al. (2024) dataset (JCU Research Data, doi:10.25903/2SFB-QX79, CC BY-NC 4.0), committed verbatim as external/pressure-bouyoucos2024.csv. They override the private workbook's values digitised from Fig. 4; composite and tier keep the workbook's rule. Their CVs match the paper (32%, 82%, 58%). Page copy and credits updated. #133: a capture date a year outside the season can be the shark's first capture in an earlier season, written on its recapture row. Such a capture now takes its set's date when its set number finds the set, instead of the year-shifted anniversary. All 13 current fixes already match their set logs, so no capture moves today. IMPORTER_VERSION 9 -> 10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 8, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Applies Dr Rummer's answers on #131 and #133.
#131: exact per-nursery pressure scores
The paper's data statement points to its dataset in James Cook University's Research Data repository, doi:10.25903/2SFB-QX79 (CC BY-NC 4.0). Its
bouyoucos_et_al_anthro.csvhas the three scores for all ten nurseries:fish: fishing effort;tramp: direct human impact (trampling);art: coastal artificialisation.It is committed unchanged (apart from line endings) as
external/pressure-bouyoucos2024.csv. Jodie confirmed it's public.The importer uses it in place of the private ranking workbook's values, which were digitised from Fig. 4. The composite and its Low/Medium/High tier follow the workbook's rule: min–max normalise each metric, average them, then split 0–1 into thirds.
It is the paper's data. The coefficients of variation now match the paper:
Tiers don't change. Composites move by at most 0.05.
/pressure, recomputed live: the same two pairs stay below p = 0.05:
Neither now passes the Bonferroni threshold for the 16 pairs; with the digitised values, the second did. The other per-metric correlations move by at most 0.1 in ρ, and all stay above p = 0.05.
Copy: /pressure and each nursery page no longer say "digitised". The About page and footer credit the dataset and its licence.
Metadata slip: the JCU record names the 2020 Coral Reefs paper as its related publication. The 2024 paper's data statement cites this DOI, though, and the CVs match.
#133: dates a year outside the season
Jodie: a date can be off "because the shark is caught in a previous year initially and then recaptured in that current season".
yearOffSetDate) and logs it. The warning text also names both causes.Checks
pnpm lint,pnpm checkandpnpm test(112 tests, including new unit tests for both rules), plus the opt-in real-data import.pnpm build, and /pressure and the nursery pages checked in the browser on the real data.IMPORTER_VERSION9 → 10.Closes #131. Part of #133 (its other questions are still open).
🤖 Generated with Claude Code