Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,10 +71,10 @@ Return ONLY raw JSON (no markdown fences, no labels), exactly:
|
|
| 71 |
- If no grammar issues, use an empty list [].
|
| 72 |
- Numbers only for scores.
|
| 73 |
"""
|
| 74 |
-
def student_key(name
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
|
| 79 |
def week_bounds(d: datetime.date):
|
| 80 |
# Week = Sunday to Saturday
|
|
|
|
| 71 |
- If no grammar issues, use an empty list [].
|
| 72 |
- Numbers only for scores.
|
| 73 |
"""
|
| 74 |
+
def student_key(name, klass):
|
| 75 |
+
first = str(name).strip().split()[0].lower()
|
| 76 |
+
return f"{first}_{str(klass).strip().lower()}"
|
| 77 |
+
|
| 78 |
|
| 79 |
def week_bounds(d: datetime.date):
|
| 80 |
# Week = Sunday to Saturday
|