Repository navigation
CodeTailor: let a question opt out of personalization by label suffix (-ct-static) - #1616
Merged
bnmnetp merged 1 commit intoOct 16, 2026
Merged
Conversation
PreTeXt's @codetailor can only request personalization, so a PreTeXt book has no way to mark a non-personalized copy of an exercise for an A/B <select>. Questions whose label ends in -ct-static now always get the instructor's backup Parsons problem. Intended for a Fall 2026 study and removable afterwards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
PreTeXt's
@codetailorcan only ask for a personalized puzzle (incorrect→partial,all→movable). There's no way to emitdata-parsons-personalized="false". So a PreTeXt book can't set up an A/B<select>where one copy of an exercise gets a CodeTailor puzzle and the other gets the instructor's backup puzzle.This PR treats any question whose label ends in
-ct-staticas non-personalized. Its Get Help always serves thecodetailor-fallbackParsons problem and logsexample_solution, whatever the request says. The client is unchanged and both copies look identical to students.We need this for a CodeTailor study in CSAwesome. It's deliberately small and self-contained: one constant, one helper and two call sites in
coach.py. It can be deleted when the study ends.🤖 Generated with Claude Code