Skip to content

Add selftest(), clearer dataset docs and errors, ATE row - #2

Merged
Samrdreyfuss merged 2 commits into
mainfrom
dev
Oct 9, 2026
Merged

Samrdreyfuss merged 2 commits into
mainfrom
dev

Conversation

@Samrdreyfuss

Copy link
Copy Markdown
Owner

Brings main up to date with dev:

  • graphdml.selftest() and make_signal_check(): a built-in check with planted effects and a null twin
  • README: datasets table says which need outside data; self-test section
  • Clearer errors for the insurance data and the LastFM download
  • classroom_tutoring story card notes its small known bias

No version change: this does not publish to PyPI.

- README: datasets table with a 'Data needed' column, a section on the two
  datasets that need outside data (LastFM auto-download, insurance
  experiment from openICPSR), and make_toy_graph restored to the table
- load_insurance_experiment: explain where to get the data when files are
  missing; fetch_lastfm_asia: explain what to do when the download fails
- Tests for both messages; changelog entry
- make_signal_check(): synthetic data with planted direct and peer effects
  behind strong network confounding, plus a null twin with no effect
- graphdml.selftest(): fits both worlds repeatedly and checks coverage,
  power and false-alarm rates against fixed criteria, next to a
  network-blind baseline (which reports an effect in every null run)
- README section with real output; story card; changelog entry
- classroom_tutoring story card: note its small known bias (200 draws)
- Tests, including a slow test that the self-test passes by default
@Samrdreyfuss
Samrdreyfuss merged commit 3d5a138 into main Oct 9, 2026
13 of 15 checks passed
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.

1 participant