Skip to content

ci(content-staging): source experimental BKT params from tooling - #8

Open
mjyang00001 wants to merge 31 commits into
CAHLR:mainfrom
mjyang00001:fix/bkt-experimental-params
Open

mjyang00001 wants to merge 31 commits into
CAHLR:mainfrom
mjyang00001:fix/bkt-experimental-params

Conversation

@mjyang00001

Copy link
Copy Markdown

Summary

  • Replaces cp bktParams1.json bktParams2.json with a copy from the fitted BKT params output in OATutor-Tooling
  • bktParams2.json (experimental slot) now uses bkt/output/OATutor-CalbrightContentBKTParams.json generated by the BKT fitting pipeline instead of duplicating the default params

Related PRs

🤖 Generated with Claude Code

shreyabhandari0220 and others added 30 commits July 7, 2025 23:11
Update automated content workflow to correctly rename bkt
- Add deploy-to-ghpages.sh script for automated gh-pages deployment
- Add DEPLOYMENT.md with comprehensive deployment guide
- Add BKTPARAMS-EXPLAINED.md explaining BKT parameter structure
- Add QUICK-START.md with deployment quick reference
Add -f flag to git checkout to prevent failures when there are
conflicting files between main and gh-pages branches. This ensures
the deployment can proceed even when image files differ between
branches.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Ensure git submodules are initialized before building to prevent
ENOENT errors when accessing content-pool directory.
Corrects the copy-paste error from commit 18897c0 where the second
line tried to copy from bktParams1.json which no longer existed after
being renamed to defaultBKTParams.json in the first line.

This bug caused the script to fail with "No such file or directory" and
was the reason for the revert in commits 47a223b and feb7a11.

Changes:
- Update updateContent.sh to copy from defaultBKTParams.json (not bktParams1.json)
- Update deploy-content-staging.yml to use semantic naming
- Matches App.js imports which expect defaultBKTParams/experimentalBKTParams

Tested:
- Dry run simulation verified commands work correctly
- Manual test confirmed files are created and identical
- File paths match App.js import statements
Removed 'full' from line 54 so that the content update does not read every single sheet and only reads recently edited sheets.

This branch has not been deployed

No deployments
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