Local#

Grader#

class AutogradingStatus(status: str, started_at: datetime.datetime, finished_at: datetime.datetime)[source]#
finished_at: datetime.datetime#
started_at: datetime.datetime#
status: str#
class LocalAutogradeExecutor(**kwargs: Any)[source]#

Runs an autograde job on the local machine with the current Python environment. Sets up the necessary directories and the gradebook JSON file used by grader_convert.

base_input_path#

A trait for unicode strings.

base_output_path#

A trait for unicode strings.

git_executable#

A trait for unicode strings.

property input_path#
property output_path#
async start()[source]#

Starts the autograding job. This is the only method that is exposed to the client. It re-raises all exceptions that happen while running.

class LocalProcessAutogradeExecutor(**kwargs: Any)[source]#

Runs an autograde job on the local machine with the default Python environment in a separate process. Sets up the necessary directories and the gradebook JSON file used by grader_convert.

autograding_finished: Optional[datetime.datetime]#
autograding_start: Optional[datetime.datetime]#
autograding_status: Optional[str]#
convert_executable#

A trait for unicode strings.

grading_logs: Optional[str]#
session: sqlalchemy.orm.session.Session#
rm_error(func, path, exc_info)[source]#

Feedback#

class GenerateFeedbackExecutor(**kwargs: Any)[source]#
autograding_finished: Optional[datetime]#
autograding_start: Optional[datetime]#
autograding_status: Optional[str]#
grading_logs: Optional[str]#
property input_path#
property output_path#
session: Session#
class GenerateFeedbackProcessExecutor(**kwargs: Any)[source]#
autograding_finished: Optional[datetime]#
autograding_start: Optional[datetime]#
autograding_status: Optional[str]#
convert_executable#

A trait for unicode strings.

grading_logs: Optional[str]#
session: Session#