Skip to content

Upsert rather than clear collections every time we update the db#8

Merged
vzcodes merged 1 commit into
mainfrom
vzcodes/issue7
May 1, 2026
Merged

Upsert rather than clear collections every time we update the db#8
vzcodes merged 1 commit into
mainfrom
vzcodes/issue7

Conversation

@vzcodes

@vzcodes vzcodes commented May 1, 2026

Copy link
Copy Markdown
Contributor

Note

Low Risk
Low risk: only changes initialization scripts to avoid dropping collections by default and adds an explicit --reset option; impact is limited to how/when rating list data is wiped during runs.

Overview
Rating list initialization now runs in incremental update mode by default and only drops/recreates DB collections when explicitly requested.

Adds a --reset flag to both init_ratings.py and initialize_rating_lists.sh, updates logging/usage output accordingly, and passes the flag through the shell script into the generated Python runner.

Reviewed by Cursor Bugbot for commit 26a80d6. Bugbot is set up for automated code reviews on this repo. Configure here.

@vzcodes vzcodes changed the title remove early return true in uscf parser Upsert rather than clear collections every time we update the db May 1, 2026
@vzcodes
vzcodes merged commit d749069 into main May 1, 2026
2 checks 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.

1 participant