Welcome to CodeMarker’s documentation!¶
Feel free to explore each component at your discertion. You can also search the docs using the input field in the sidebar.
Please note that the Django-generated files haven’t been documented. Please refer to Django’s documentation for their overview.
Contact Team Alpha in case of any issues:
- Konrad Dryja – k.dryja.15@aberdeen.ac.uk
- Stefan Rudvin – stefan.rudvin@hotmail.com
- Elzbieta Futkowska - e.futkowska.15@aberdeen.ac.uk
- Tautvydas Cerniauskas - tautvydas.cer@gmail.com
models.py¶
Models information for all entities used in the system
@TeamAlpha 2018 CodeMarker models.py
-
class
app.models.
Assessment
(id, name, description, additional_help, deadline, static_input, dynamic_input, num_of_static, languages, resource, course, input_generator, created_at, updated_at)[source]¶ Bases:
django.db.models.base.Model
-
class
app.models.
Course
(id, name, description, created_at, updated_at, professor)[source]¶ Bases:
django.db.models.base.Model
-
class
app.models.
InputGenerator
(id, filename, language, assessment, created_at, updated_at)[source]¶ Bases:
django.db.models.base.Model
views.py¶
submission_processor.py¶
factory.py¶
Module containing creators for subsequent elements, such as assessments or submissions. Adheres to ‘factory’ architectural pattern.
Factories to create new resources with lengthy methods.
@TeamAlpha 2018 CodeMarker factory.py
-
app.factory.
assessment_creator
(self, serializer)[source]¶ Method responsible for creating new assessments
- Raises:
- MultiValueDictKeyError – Raised when not enough arguments have been passed
- Returns:
- HttpResponse – Whether resource has been successfully created or not
-
app.factory.
course_creator
(self, serializer)[source]¶ Dummy method for course creation, for future reference
docker_processor.py¶
serializers.py¶
Autogenerated module by Django used to serialize Data used by the application
@TeamAlpha 2018 CodeMarker serializers.py
backup_service.py¶
Module containing methods for creating and restoring backups of the system
@TeamAlpha 2018 CodeMarker backup_service.py