Update main.py
Browse files
main.py
CHANGED
|
@@ -540,7 +540,7 @@ async def get_revison_chapters(data: CoachingCodeRequest):
|
|
| 540 |
for chapter, score in test_scores.items():
|
| 541 |
if score < threshold:
|
| 542 |
if chapter not in revision_dict:
|
| 543 |
-
|
| 544 |
revision_dict[chapter].append(user_id)
|
| 545 |
|
| 546 |
# Convert the dictionary to the desired DataFrame format
|
|
|
|
| 540 |
for chapter, score in test_scores.items():
|
| 541 |
if score < threshold:
|
| 542 |
if chapter not in revision_dict:
|
| 543 |
+
revision_dict[chapter] = []
|
| 544 |
revision_dict[chapter].append(user_id)
|
| 545 |
|
| 546 |
# Convert the dictionary to the desired DataFrame format
|