Skip to content

Fix predict() docstring to label argument as locations - #125

Merged
TomeHirata merged 1 commit into
mainfrom
fix/predict-docstring
Aug 19, 2026
Merged

Fix predict() docstring to label argument as locations#125
TomeHirata merged 1 commit into
mainfrom
fix/predict-docstring

Conversation

@TomeHirata

@TomeHirata TomeHirata commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fix docstring for DistributionEstimatorBase.predict() in dte_adj/base.py, which labelled its locations argument as outcomes. Because predict() is inherited by all estimators (e.g., SimpleStratifiedDistributionEstimator), the mislabeled arg surfaced in their docs too.

Test plan

  • Pre-commit hooks (ruff lint/format) pass
  • Sphinx docs build cleanly

The `predict()` method in `DistributionEstimatorBase` takes a
`locations` argument but the docstring incorrectly labelled it as
`outcomes`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 19, 2026 07:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@TomeHirata
TomeHirata merged commit f5728f4 into main Aug 19, 2026
10 checks passed
@TomeHirata
TomeHirata deleted the fix/predict-docstring branch August 19, 2026 07:12
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