Skip to content

chore: remove force-duplicate-questions input#27

Open
rryoung98 wants to merge 1 commit intomainfrom
chore/remove-force-duplicate-questions
Open

chore: remove force-duplicate-questions input#27
rryoung98 wants to merge 1 commit intomainfrom
chore/remove-force-duplicate-questions

Conversation

@rryoung98
Copy link
Copy Markdown
Member

Summary

  • Removes the force-duplicate-questions action input and associated plumbing through create_course.py / update_course.py / CourseDeployer so users can no longer opt into uploading duplicate questions.
  • Hardcodes forceDuplicateQuestions: false in the API payload, ensuring the qBraid API always rejects duplicates regardless of upstream defaults.
  • Updates README, AGENTS.md, and example workflows to drop the flag; removes the now-unused validate_boolean helper.

Test plan

  • pytest test/unit/test_deploy_common.py test/unit/test_create_course.py (12 passed)
  • CI green on this branch

🤖 Generated with Claude Code

Drop the user-facing flag so courses can no longer opt into uploading
duplicate questions. The payload now hardcodes forceDuplicateQuestions
to false, ensuring the qBraid API always rejects duplicates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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