Skip to content

Commit 9f46d57

Browse files
docs(robustness): first backfill batch — 3 [@bibkey] annotations in sensitivity_frontier
First real exercise of tools/suggest_bibkey_backfills.py. The suggester identified 3 orphan bib entries whose arXiv ids already appear in this file's References sections — the paper was cited, just without the canonical [@bibkey] link. Appended the bibkey to the end of each reference line: copula_sensitivity -> [@balgi2025sensitivity] (arXiv:2508.08752) survival_sensitivity -> [@hu2025nonparametric] (arXiv:2511.01412) calibrate_confounding_strength -> [@baitairian2025calibrating] (arXiv:2510.16560) Only the clean end-of-reference lines were touched; the mid-sentence summary mentions at the top of the module docstring were deliberately left alone (StatsPAI Phase 2 convention: bibkey annotations live in the References block, not in prose). Pure metadata — no function signatures, numerics, or algorithm paths changed. Verification ------------ coverage: 64.0% -> 64.6% (315 -> 318 cited keys) orphans: 177 -> 174 (3 keys fully consumed) candidate lines: 65 -> 59 (suggester re-run) candidate keys: 21 -> 18 Gate 0 pytest 81 tests pass Gate 1 audit_bib_duplicates --strict 0/0/0 pass Gate 2 audit_bib_coverage --strict-dangling 0 dangling pass Gate 3 audit_citations --strict 316/0/0 pass Next bibkey backfills (18 keys / 59 lines remain). Tool output is reproducible with: python3 tools/suggest_bibkey_backfills.py Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 89665af commit 9f46d57

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/statspai/robustness/sensitivity_frontier.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def copula_sensitivity(
107107
108108
References
109109
----------
110-
Balgi, Braun, Peña & Daoud (arXiv:2508.08752, 2025).
110+
Balgi, Braun, Peña & Daoud (arXiv:2508.08752, 2025). [@balgi2025sensitivity]
111111
"""
112112
if rho_grid is None:
113113
rho_grid = np.linspace(-0.5, 0.5, 21)
@@ -185,7 +185,7 @@ def survival_sensitivity(
185185
186186
References
187187
----------
188-
Hu & Westling (arXiv:2511.01412, 2025).
188+
Hu & Westling (arXiv:2511.01412, 2025). [@hu2025nonparametric]
189189
"""
190190
if se_log_hr <= 0:
191191
raise ValueError("`se_log_hr` must be > 0.")
@@ -267,7 +267,7 @@ def calibrate_confounding_strength(
267267
268268
References
269269
----------
270-
Baitairian et al. (arXiv:2510.16560, 2025).
270+
Baitairian et al. (arXiv:2510.16560, 2025). [@baitairian2025calibrating]
271271
Cinelli & Hazlett (JRSS-B 2020).
272272
"""
273273
if not (0 < observed_r2_outcome < 1):

0 commit comments

Comments
 (0)