fix lesson_name

This commit is contained in:
CakeCN
2025-09-14 13:51:59 +08:00
parent 2b215287ff
commit 38cf829077

View File

@@ -1,14 +1,14 @@
import os import os
from ..models.function import FunctionResponse, FunctionStatus from ..models.function import FunctionResponse, FunctionStatus
def judge(filepath:str, name: str, course_id: str, lesson_id: str, root_path:str): def judge(filepath:str, name: str, course_id: str, lesson_name: str, root_path:str):
"""Call this method to judge the student's solution after they have completed the problem. """Call this method to judge the student's solution after they have completed the problem.
Args: Args:
filepath (`str`): The path to the file containing the student's solution. filepath (`str`): The path to the file containing the student's solution.
name (`str`): The name of the problem. name (`str`): The name of the problem.
course_id (`str`): The id of the course. course_id (`str`): The id of the course.
lesson_id (`str`): The id of the lesson. lesson_name (`str`): The name of the lesson.
root_path (`str`): The root path of the user's workspace project. root_path (`str`): The root path of the user's workspace project.
Returns: Returns: