washingtonpost / elex-live-model

a model to generate estimates of the number of outstanding votes on an election night based on the current results of the race
48 stars 5 forks source link

ELEX-3394 Part 1: distinguish between unexpected and non-predictive units #105

Closed dmnapolitano closed 1 month ago

dmnapolitano commented 1 month ago

Description

Hi! The changes in this PR:

šŸŽ‰

Jira Ticket

ELEX-3394 although this only resolves the "Thoughts" section of the ticket šŸ˜„ (Hence "Part 1")

Test Steps

tox or here's a CLI command that returns one non-predictive unit:

elexmodel 2022-11-08_USA_G --estimands=margin --features=baseline_normalized_margin --office_id=G_county --geographic_unit_type=county --pi_method bootstrap --national_summary --save_output results
dmnapolitano commented 1 month ago

Hi @lennybronner I just pushed the following changes:

šŸŽ‰