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

DB state catchup in version control #12

Draft
wants to merge 71 commits into
base: main
Choose a base branch
from

Conversation

olsonadr
Copy link
Collaborator

This is a WIP PR that should include finalized changes from #11 .

The only difference between #11 and this should be that state_update.py has been run and that change has been committed into version control so less DB state checking needs to occur each time.

It's worth talking about potentially having this committing happen on a regular basis in a workflow, although I'd guess that long-long-term, this maintenance of embedding state would be held in the DB as opposed to this generated file

broceni and others added 30 commits April 29, 2022 16:12
…ting in similar.py. Updated state.csv, and renamed old one for testing purposes.
…y, cleaned up testrun.py and formatted apitest.py
olsonadr and others added 30 commits May 12, 2022 18:29
…er of incorrect inferences out of the total, and intervals outputs detailed info about guesses. If using, remember to point the data and state docs to the right files.
test_accuracy.py and test_intervals.py were being caught by pytest
Added MONGODB_CONNECTION_STRING to the workflow environment for db_state
Where it was in a subdir of the inference dir, it was being picked up as a lambda specification
Moved state_update.py to project root, updated README
…ine model max length, and thus truncate abnormally long tensors of tokens, solving an indexing error encountered while updating incident 195. Removed manual truncation in similar.py. Refactored the names of a couple constants in similar.py.
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.

4 participants