Skip to content

Add ty type checker and fix errors#114

Merged
elbersb merged 18 commits intospotify:masterfrom
elbersb:ty
Feb 26, 2026
Merged

Add ty type checker and fix errors#114
elbersb merged 18 commits intospotify:masterfrom
elbersb:ty

Conversation

@elbersb
Copy link
Collaborator

@elbersb elbersb commented Jan 13, 2026

  • Adds ty as the default type checker
  • Fixes ~300 errors that ty identifies
  • Removes unused functions (dead code)
    • bayesian_base.py: _all_groups - unused method
    • bayesian_base.py: as_cumulative - unused (and broken) classmethod
    • confidence_utils.py: applyParallel - an unused parallel apply function for DataFrames
    • sample_size_computer.py: compute_summary - unused (and broken) method for computing summary statistics
    • constants.py: Z_CRIT, CORRECTION_METHODS_THAT_DONT_REQUIRE_METRIC_INFO

@elbersb elbersb marked this pull request as ready for review January 14, 2026 10:23
@elbersb elbersb merged commit b00b594 into spotify:master Feb 26, 2026
4 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.

2 participants