Skip to content

Commit

Permalink
Fix formatting of course chat pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
bassner committed Aug 27, 2024
1 parent d86b134 commit b135cf1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/pipeline/chat/course_chat_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,10 @@ def get_competency_list() -> list:
"info": competency_metrics.competency_information.get(comp, None),
"exercise_ids": competency_metrics.exercises.get(comp, []),
"progress": competency_metrics.progress.get(comp, 0),
"mastery": get_mastery(competency_metrics.progress.get(comp, 0), competency_metrics.confidence.get(comp, 0)),
"mastery": get_mastery(
competency_metrics.progress.get(comp, 0),
competency_metrics.confidence.get(comp, 0),
),
"judgment_of_learning": (
competency_metrics.jol_values.get[comp].json()
if competency_metrics.jol_values
Expand Down

0 comments on commit b135cf1

Please sign in to comment.