Update research/guarded_ai.py

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Russell 2024-07-29 06:17:48 -04:00 committed by GitHub
parent aa783ded70
commit dd13bce82b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -152,7 +152,7 @@ def simulate_activity(yaml_file_path):
# Skip classification and feedback if there's no question
if "question" not in step:
current_section_id, current_step_id = get_next_step(
current_section_id, current_step_id = get_next_section_and_step(
yaml_content, current_section_id, current_step_id
)
continue
@ -199,7 +199,6 @@ def simulate_activity(yaml_file_path):
yaml_content, current_section_id, current_step_id
)
if __name__ == "__main__":
# simulate_activity("activity13-choose-adventure.yaml")
simulate_activity("activity0.yaml")