Skip to content

Oneaudit - #109

Merged
pbstark merged 16 commits into
mainfrom
oneaudit
Mar 17, 2026
Merged

pbstark merged 16 commits into
mainfrom
oneaudit

Conversation

@pbstark

@pbstark pbstark commented Mar 17, 2026

Copy link
Copy Markdown
Owner

modify prep_comparison_sample to set MVR fields pool and tally_pool to the corresponding CVR fields. Add unit test for prep_comparison_sample. Update workflow in ONEAudit-demo.ipynb to call add_pool_contests to the MVR for ONEAudit compatibility (so that the comparison audit treats MVRs from pooled batches as if they contain the relevant contests).

pbstark and others added 16 commits November 28, 2024 12:52
… test, estim, bet, test_kwargs in Contest, improve status log
* ENH: truncate testimated mean from above and below in shrink_trunc(); ensure c is not too big; use smaller default value

* ENH: truncate testimated mean from above and below in shrink_trunc(); ensure c is not too big; use smaller default value

* ENH: modify shrink_trunc to limit bet; add Audit.Assorter.count_tally_pool_vals(); improve unit tests to use fixtures in tests/core/test_Assertion.py
The original versions of these files were transposed, incorrectly.
The indices should have been stored as one row for each set of shuffled
ballots (rather than having each column correspond to one set).
Now the example corresponds to 5 sets of shuffled ballots (i.e., 5 sets
of replicate audits).
* commiting before pull from remote main

* updated notebook; runs OC audit with and without style

* initial commit of 2022 audit notebook

* changed import

* added 2022 notebook

* commiting before pull from remote

* commiting new notebooks

* committing before pull

* pushing updated notebooks

* commiting before pulling remote main:

* fixing pandas append error

* added Kelly optimal bet, untested

* fixed kelly_optimal bet and added tests for it

* added discrete mixture mart

* alteration to mix_betting_mart

* final push for now

* fixed JSON error
@pbstark
pbstark merged commit 440c176 into main Mar 17, 2026
1 check 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.

3 participants