Kyle Demes

Manifest: which script makes which number

Run scripts from scripts/ (and checks/) as in the README. Every number in the post, the script that makes it and where it lands.

In the post Number Script File and field
Short version, papers section, figure 2 13.0% of Canadian papers name a repository in 2025; 10th of 16; middle of others 13.8% s1_panel_v3.py, s8_results_v3.py headlines.json: ca_2025, ca_rank_2025, peer_median_2025; country_any_repo.csv
Papers section 6.7% (2020) to 13.0% (2025); +6.3 vs +7.1 since 2020 same headlines.json: ca_2020, ca_change_2020_2025
Papers section Data statements 22% (2020) to 49% (2025) same headlines.json: das_ca
Papers section About half of Canada’s 2021 jump in statements was MDPI (4,541 of 9,192) checks/small_checks.py small_checks.json: das_mdpi
Papers section Canadian-only papers 7th of 16 and kept pace; papers with co-authors abroad grew more slowly s9_domestic.py, summarize.py summary.json: ca_only, ca_international
Papers section Zenodo about 9 times as often as Borealis s2b_v3_extras.py, summarize.py summary.json: zenodo_vs_borealis_2025
Papers section caveats Canada 9th to 11th with fields fixed, open access mix fixed or without OSF s6_field_adjust_v3.py, s8_results_v3.py, summarize.py summary.json: field_adjusted_ca_rank_2025; headlines.json: mixfix_ca_2025, no_osf_ca_2025
Figure 2 note Two in three flagged papers named the repository in their data statement (18 of 27) checks/validation_sample.py validation_200.csv
Funded papers, figure 3 Tri-agency vs other funded papers 1.17 (2015), 1.18 (2020), 1.17 (2025) s2b_v3_extras.py, summarize.py summary.json: tri_vs_other_funded_ratio; figure3_funded_papers.csv
Funded papers +8.6 points since 2020 vs 11.3 for the middle of 15 other funders; same place 2015-2020 s1_panel_v3.py, s8_results_v3.py, summarize.py headlines.json: tri_raw; summary.json: tri_rank_gain_2015_2020; funder_2020_2025.csv
Funded papers NIH’s apparent upturn after 2023 follows its full-text coverage checks/small_checks.py small_checks.json: nih_fulltext_share; headlines.json: nih_2021_2023, nih_2023_2025
Datasets, figure 4 Typical large Canadian university 24 datasets per 1,000 papers (2024-25), 15th of 16; others’ middle 45; Canada’s growth 15th s12_country_universities.py, summarize.py summary.json: datasets_*; figure4_datasets_by_country.csv
Datasets, figure 5 12 (McMaster) to 75 (Guelph) per 1,000 papers; Borealis shares s11_datasets_openalex.py, summarize.py figure5_datasets_canadian_universities.csv
Datasets FRDR: affiliations for 162 of 895 datasets; Borealis 25,578 works checks/small_checks.py small_checks.json: frdr_datasets, borealis_works
Figure 1, policy section Policy dates and rules none (sources linked in the post)