ci(incremental): merge fitted experimental BKT params instead of copying default - #126
Closed
mjyang00001 wants to merge 1 commit into
Closed
Conversation
4 tasks
mjyang00001
deleted the
incremental-experimental-bktparams-from-tooling
branch
September 7, 2026 17:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to #118, for the second workflow that runs on the same cron.
incremental-content-update.yml("Automated Content Update (Partial)") ends its "Move and prepare files" step withcp defaultBKTParams.json experimentalBKTParams.json, which makes the two A/B slots byte-identical and discards any fitted values in the experimental slot. This replaces that copy withbkt/merge_experimental.pyfrom the already-cloned OATutor-Tooling checkout: for each KC in the freshly generated default file it takes the fitted value where one exists and falls back to default's own value otherwise, so experimental tracks default's live KC set (new KCs added, removed/renamed KCs dropped) while keeping tuned values.Safe on the incremental path specifically because the "Prepare for incremental update" step (added in #110) restores
defaultBKTParams.jsonback tobktParams.jsonbeforefinal.pyruns, so by the time the merge executes, default holds the full KC set rather than only the sheets that changed in that run.Depends on CAHLR/OATutor-Tooling#16, which adds
bkt/merge_experimental.pyandbkt/output/experimentalBKTParams.json. The workflow clones tooling's default branch, so that PR must merge first or the step will fail.Test plan
workflow_dispatchthis workflow and confirm the merge step reports the fitted-KC countexperimentalBKTParams.jsononcontent-stagingdiffers fromdefaultBKTParams.jsonand has the same KC set🤖 Generated with Claude Code
https://claude.ai/code/session_014Uq7T4wTcGUWnMAbKyPHQ3