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

Minerva oct eb857339 #1

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Minerva oct eb857339 #1

wants to merge 15 commits into from

Conversation

nealmcb
Copy link

@nealmcb nealmcb commented Oct 22, 2020

Description

[Describe what is changed, including references to any relevant issues.]

Testing

[List all new test cases added to cover new functionality, including steps to reproduce expected results and contrasting with actual results.]

Progress

[List any work left to do or outstanding questions.]

Add an athena_sample_sizes() shim, to call Athena using
the same call signature as bravo_sample_sizes()
Define get_athena_test_statistics() shim
patterned after bravo.get_test_statistics()

Still following earlier integration work based on ab525ad from 2020-05-05
Based on Arlo changes in the meantime.
Allow user to choose audit_math implementation at startup.

The default is now to use Athena, but the $ARLO_ALGORITHM environmental
variable can be used to select an algorithm at run time. E.g.:

    ARLO_ALGORITHM=bravo ./run-dev.sh

N.B.: to avoid have to add too much other logic before
we decide on the best way to integrate this, we simply
conditionally replace bravo.bravo_sample_sizes with athena_sample_sizes:

if ALGORITHM == "athena":
    bravo_sample_sizes = athena_sample_sizes

Also catch up with API updates in athena repo.
FIXME: bravo tests still broken
Need to check the minerva test results.
Turned off logging-fstring-interpolation in .pylintrc.
I think the possible tiny performance penalty is offset by the readability gains,
as noted at

 pylint-dev/pylint#2354 (comment)
Note changes in Pipfile.lock - not sure if you want the rest
of the packages to be updated, or to have specific version numbers.
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.

1 participant