app.routes package
Submodules
app.routes.auth module
app.routes.docs module
app.routes.logging module
- app.routes.logging.ai_usage_route()[source]
Retrieve AI usage statistics See Swagger docs for more information.
- app.routes.logging.get_all_logs_route()[source]
Retrieve all logs in the database See Swagger docs for more information.
- app.routes.logging.get_logs_by_class_route(class_id)[source]
Get all logs for a specific class (user_class_id)
- app.routes.logging.get_logs_by_user_route(user_id)[source]
Get all logs for a specific user See Swagger docs for more information.
app.routes.main_page module
app.routes.suggestions module
- app.routes.suggestions.generate_explanation()[source]
Generate a explanation telling the user what is wrong with the ‘bad code’.
- app.routes.suggestions.generate_hint()[source]
Generate a hint explaining the difference between code versions.