opencompletion.com/research
Claude c51b2c7900
Update guarded_ai.py to support classifier_model and feedback_model
Changes:
- Enhanced get_openai_client_and_model() to support MODEL_X references
- Added model parameter (default "MODEL_1") to all AI functions:
  - categorize_response()
  - generate_ai_feedback()
  - provide_feedback()
  - provide_feedback_prompts()
  - translate_text()
- Updated simulate_activity() to:
  - Read classifier_model and feedback_model from YAML
  - Support step-level model overrides
  - Pass appropriate models to classifier vs feedback functions

This ensures the CLI simulation tool matches the production activity.py behavior.
2025-11-08 19:23:29 +00:00
..
activity.yaml migrate all activities, there should always be a step without a question 2024-08-01 18:03:00 -04:00
activity0.yaml prompt engineering 2024-08-10 10:22:54 -04:00
activity2.yaml migrate all activities, there should always be a step without a question 2024-08-01 18:03:00 -04:00
activity3.yaml Fix YAML validator and activity file validation errors 2025-08-10 19:38:50 -04:00
activity4.yaml migrate all activities, there should always be a step without a question 2024-08-01 18:03:00 -04:00
activity5.yaml migrate all activities, there should always be a step without a question 2024-08-01 18:03:00 -04:00
activity6.yaml migrate all activities, there should always be a step without a question 2024-08-01 18:03:00 -04:00
activity7.yaml migrate all activities, there should always be a step without a question 2024-08-01 18:03:00 -04:00
activity8.yaml algo for guarding AI on rails. 2024-07-27 08:57:44 -04:00
activity9.yaml algo for guarding AI on rails. 2024-07-27 08:57:44 -04:00
activity10.yaml content_blocks and questions support markdown values. 2024-07-27 15:49:19 -04:00
activity11.yaml algo for guarding AI on rails. 2024-07-27 08:57:44 -04:00
activity12.yaml algo for guarding AI on rails. 2024-07-27 08:57:44 -04:00
activity13-choose-adventure.yaml allow player to go back if they change their minds, less "rails". 2024-07-28 15:07:34 -04:00
activity14-choose-adventure.yaml Fix activity15 coin usage and duplicate messages 2025-08-11 18:35:46 -04:00
activity15-choose-adventure.yaml Fix activity15 coin usage and duplicate messages 2025-08-11 18:35:46 -04:00
activity16.yaml metadata_add and metadata_remove to allow for items to be consumed. 2024-08-04 08:33:55 -04:00
activity17-choose-adventure.yaml Fix YAML validator and activity file validation errors 2025-08-10 19:38:50 -04:00
activity19-rock-paper-scissors.yaml modified: research/activity19-rock-paper-scissors.yaml 2024-08-10 19:23:14 -04:00
activity20-n-plus-1.yaml n+1 in yaml to accumulate integers. 2024-08-10 14:39:37 -04:00
activity21.yaml black and also set_language isn't "correct" anymore. 2024-08-10 17:00:52 -04:00
activity22-odds-or-evens.yaml conditionally run processing_script 2024-08-24 14:31:46 -04:00
activity23-math.yaml modified: app.py 2024-08-11 13:39:30 -04:00
activity24-math-plot.yaml Fix code quality issues from PR review 2025-08-10 16:01:58 -04:00
activity26-magic-8-ball.yaml modified: research/activity26-magic-8-ball.yaml 2024-08-24 09:21:51 -04:00
activity27-tic-tac-toe.yaml Fix code quality issues from PR review 2025-08-10 16:01:58 -04:00
activity28-killer-squares.yaml Fix YAML validator and activity file validation errors 2025-08-10 19:38:50 -04:00
activity29-battleship.yaml Simplify battleship prompts to let AI imagine destruction details 2025-08-11 17:16:06 -04:00
activity29-testship.yaml Simplify battleship prompts to let AI imagine destruction details 2025-08-11 17:16:06 -04:00
activity30-logic-puzzles.yaml Add 5 new educational activities without embedded Python 2025-11-08 17:34:33 +00:00
activity31-scientific-method.yaml Add 5 new educational activities without embedded Python 2025-11-08 17:34:33 +00:00
activity32-world-geography.yaml Add 5 new educational activities without embedded Python 2025-11-08 17:34:33 +00:00
activity33-environmental-science.yaml Add 5 new educational activities without embedded Python 2025-11-08 17:34:33 +00:00
activity34-media-literacy.yaml Add 5 new educational activities without embedded Python 2025-11-08 17:34:33 +00:00
activity35-american-history.yaml Add 3 extensive educational activities (American History, Biblical History, Programming) 2025-11-08 18:47:31 +00:00
activity36-biblical-history.yaml Add 3 extensive educational activities (American History, Biblical History, Programming) 2025-11-08 18:47:31 +00:00
activity37-programming-languages.yaml Add classifier_model and feedback_model support to YAML schema 2025-11-08 18:58:29 +00:00
guarded_ai.py Update guarded_ai.py to support classifier_model and feedback_model 2025-11-08 19:23:29 +00:00
NEW_ACTIVITIES_PLAN.md Add 5 new educational activities without embedded Python 2025-11-08 17:34:33 +00:00