Skip to content

Commit 15caf0d

Browse files
committed
remove scoreboard builder, related data files, and metrics module
1 parent e25ce94 commit 15caf0d

18 files changed

+1321
-1101
lines changed

scoreboard/README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
Static HTML generator for the course scoreboard. All calculations happen in Python; a small bundled JS
44
snippet is used only for client-side variant calculation.
55

6+
Key modules (object-oriented):
7+
8+
- `scoreboard.py` — aggregates tasks/students, builds rows, exposes deadlines/variants.
9+
- `tasks.py` — domain model for `Task` with concrete `ThreadTask`/`ProcessTask` and scoring rules.
10+
- `student.py` — student entity holding submissions and caching computed scores.
11+
612
## Usage
713

814
```bash
@@ -14,9 +20,9 @@ Generated files: `index.html`, `threads.html`, `processes.html` and optional per
1420

1521
## Configuration
1622

17-
- `data/points-info.yml` — max points, variants, performance scale
18-
- `data/deadlines.yml` — deadline offsets/labels for display and penalty
19-
- `data/copying.yml` — flagged submissions per task (with coefficient in `points-info.yml`)
23+
- `data/points-info.json` — max points, variants, performance scale
24+
- `data/deadlines.json` — deadline offsets/labels for display and penalty
25+
- `data/copying.json` — flagged submissions per task (with coefficient in `points-info.json`)
2026

2127
## Testing
2228

@@ -28,5 +34,5 @@ pytest -v
2834
## Notes
2935

3036
- Threads deadlines are auto-distributed across 1 Feb → 15 May; processes across 15 Oct → 14 Dec, with
31-
per-task shifts from `deadlines.yml`.
37+
per-task shifts from `deadlines.json`.
3238
- CSS is bundled locally (no CDN); HTML pages remain self-contained, with JS limited to the variant calculator.

0 commit comments

Comments
 (0)