Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync main and develop 🎉 #113

Merged
merged 3 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 2.1.1 (10/10/2024)
- fix: allow multiple `alpha` values passed in to `ModelClient.get_national_summary_votes_estimates()` and change that method to return a `pandas.DataFrame` [#111](https://github.com/washingtonpost/elex-live-model/pull/111)

## 2.1.0 (09/23/2024)
- fix: model evaluation functions and margin estimand rounding [#94](https://github.com/washingtonpost/elex-live-model/pull/94)
- chore: updated requirements to their latest versions [#95](https://github.com/washingtonpost/elex-live-model/pull/95), [#103](https://github.com/washingtonpost/elex-live-model/pull/103)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
LONG_DESCRIPTION = f.read()

# The full version, including alpha/beta/rc tags
RELEASE = "2.1.0"
RELEASE = "2.1.1"
# The short X.Y version
VERSION = ".".join(RELEASE.split(".")[:2])

Expand Down
2 changes: 1 addition & 1 deletion src/elexmodel/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def cli(

if kwargs.get("national_summary", False):
# TODO: get_national_summary_votes_estimates() arguments via CLI
model_client.get_national_summary_votes_estimates(None, 0, 0.99)
model_client.get_national_summary_votes_estimates(None, 0, [0.99])

for aggregate_level, estimates in result.items():
print(aggregate_level, "\n", estimates, "\n")
Loading