Compare 8425494 ... +0 ... 5a20c50

Showing 1 of 4 files from the diff.

@@ -540,7 +540,7 @@
Loading
540 540
            stopped_this_round = rounds_stopped.count(r)
541 541
            stopped_by_round[r-1] = stopped_this_round
542 542
            if remaining_by_round[r-1] is not 0:
543 -
                sprob_by_round[r-1] =stopped_this_round/remaining_by_round[r-1]
543 +
                sprob_by_round[r-1] = stopped_this_round/remaining_by_round[r-1]
544 544
            else:
545 545
                sprob_by_round[r-1] = -1
546 546
            remaining_by_round[r] = remaining_by_round[r-1]-stopped_this_round

Learn more Showing 1 files with coverage changes found.

Changes in src/r2b2/athena.py
-2
-2
+4
Loading file...
Files Coverage
src/r2b2/__init__.py 100.00%
src/r2b2/__main__.py 33.33%
src/r2b2/athena.py +2.94% 90.44%
src/r2b2/audit.py 90.37%
src/r2b2/brla.py 78.63%
src/r2b2/cli.py 63.91%
src/r2b2/contest.py 98.86%
src/r2b2/election.py 97.44%
src/r2b2/minerva.py 84.52%
src/r2b2/simulation/athena.py 15.89%
src/r2b2/simulation/filip_athena.py 57.35%
src/r2b2/simulation/minerva.py 12.37%
src/r2b2/simulator.py 45.13%
src/r2b2/tests/test_athena.py 100.00%
src/r2b2/tests/test_audit.py 99.53%
src/r2b2/tests/test_brla.py 100.00%
src/r2b2/tests/test_cli.py 100.00%
src/r2b2/tests/test_contest.py 100.00%
src/r2b2/tests/test_election.py 100.00%
src/r2b2/tests/test_filip_athena_sim.py 100.00%
src/r2b2/tests/test_minerva.py 100.00%
src/r2b2/tests/util.py 64.29%
tests/test_brla.py 100.00%
tests/test_minerva_arlo.py 100.00%
tests/test_minerva_second_round_estimate_2016.py 100.00%
Project Totals (25 files) 68.30%
Loading