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

Shrink the logging of non-modeled units down to up to three lines with units grouped by `postal_code` #120

Closed dmnapolitano closed 4 days ago

dmnapolitano commented 5 days ago

Description

Hi! The changes in this PR reduce the amount of logging of non-modeled units to a maximum of three lines (one per non-modeled unit category). This should make our logs shorter and easier to navigate in the event of a lot of non-modeled units. Thanks! 🎉

Jira Ticket

Test Steps

elexmodel 2020-11-03_USA_G --estimands=margin --features=baseline_normalized_margin --office_id=P --geographic_unit_type=county --pi_method bootstrap --national_summary on develop and then on this branch to see the difference 👀