Skip to content

Commit 025665c

Browse files
committed
remove scoreboard tests and related templates
1 parent fab02ef commit 025665c

31 files changed

+1949
-2602
lines changed

docs/common_information/points.rst

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -43,35 +43,35 @@ Legend: S — Solution (implementation), A — Acceleration (performance), R —
4343
Performance points mapping
4444
--------------------------
4545

46-
The ratio of efficiency percentage to points percentage (max 100%, min 0%):
47-
48-
If the score is not an integer, it is rounded up.
49-
50-
+----------------+-------------------+
51-
| Efficiency (%) | Points percentage |
52-
+================+===================+
53-
| >= 50% | 100% |
54-
+----------------+-------------------+
55-
| [45, 50) | 90% |
56-
+----------------+-------------------+
57-
| [42, 45) | 80% |
58-
+----------------+-------------------+
59-
| [40, 42) | 70% |
60-
+----------------+-------------------+
61-
| [37, 40) | 60% |
62-
+----------------+-------------------+
63-
| [35, 37) | 50% |
64-
+----------------+-------------------+
65-
| [32, 35) | 40% |
66-
+----------------+-------------------+
67-
| [30, 32) | 30% |
68-
+----------------+-------------------+
69-
| [27, 30) | 20% |
70-
+----------------+-------------------+
71-
| [25, 27) | 10% |
72-
+----------------+-------------------+
73-
| < 25% | 0% |
74-
+----------------+-------------------+
46+
Efficiency is a fraction (Speedup / NumProcs). The table maps efficiency to
47+
the fraction of performance points (max 100%, min 0%). If the score is not an
48+
integer, it is rounded up.
49+
50+
+-----------------+-------------------+
51+
| Efficiency | Points percentage |
52+
+=================+===================+
53+
| >= 0.50 | 100% |
54+
+-----------------+-------------------+
55+
| [0.45, 0.50) | 90% |
56+
+-----------------+-------------------+
57+
| [0.42, 0.45) | 80% |
58+
+-----------------+-------------------+
59+
| [0.40, 0.42) | 70% |
60+
+-----------------+-------------------+
61+
| [0.37, 0.40) | 60% |
62+
+-----------------+-------------------+
63+
| [0.35, 0.37) | 50% |
64+
+-----------------+-------------------+
65+
| [0.32, 0.35) | 40% |
66+
+-----------------+-------------------+
67+
| [0.30, 0.32) | 30% |
68+
+-----------------+-------------------+
69+
| [0.27, 0.30) | 20% |
70+
+-----------------+-------------------+
71+
| [0.25, 0.27) | 10% |
72+
+-----------------+-------------------+
73+
| < 0.25 | 0% |
74+
+-----------------+-------------------+
7575

7676
Report
7777
------

docs/common_information/report.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ Use the following skeleton as a starting point for your ``report.md``. Keep file
9191
### 7.1 Correctness
9292
Briefly explain how correctness was verified (reference results, invariants, unit tests).
9393
94-
### 7.2 Performance
95-
Present time, speedup and efficiency. Example table:
96-
97-
| Mode | Count | Time, s | Speedup | Efficiency |
98-
|-------------|-------|---------|---------|------------|
99-
| seq | 1 | 1.234 | 1.00 | N/A |
100-
| omp | 2 | 0.700 | 1.76 | 88.0% |
101-
| omp | 4 | 0.390 | 3.16 | 79.0% |
94+
### 7.2 Performance
95+
Present time, speedup and efficiency (efficiency is a fraction: Speedup / NumProcs). Example table:
96+
97+
| Mode | Count | Time, s | Speedup | Efficiency |
98+
|-------------|-------|---------|---------|------------|
99+
| seq | 1 | 1.234 | 1.00 | N/A |
100+
| omp | 2 | 0.700 | 1.76 | 0.88 |
101+
| omp | 4 | 0.390 | 3.16 | 0.79 |
102102
103103
Optionally add plots (use relative paths), and discuss bottlenecks and scalability limits.
104104

docs/locale/ru/LC_MESSAGES/common_information/points.po

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -97,106 +97,104 @@ msgid "Performance points mapping"
9797
msgstr "Маппинг баллов за производительность"
9898

9999
#: ../../../../docs/common_information/points.rst:44
100+
#: ../../../../docs/common_information/points.rst:42
100101
msgid ""
101-
"The ratio of efficiency percentage to points percentage (max 100%, min "
102-
"0%):"
103-
msgstr "Соотношение процента эффективности к проценту баллов (макс. 100%, мин. 0%):"
104-
105-
#: ../../../../docs/common_information/points.rst:46
106-
msgid "If the score is not an integer, it is rounded up."
107-
msgstr "Если значение не целое, округляется в большую сторону."
102+
"Efficiency is a fraction (Speedup / NumProcs). The table maps efficiency to "
103+
"the fraction of performance points (max 100%, min 0%). If the score is not "
104+
"an integer, it is rounded up."
105+
msgstr "Эффективность — это доля (ускорение / число процессов). Таблица сопоставляет эффективность доле баллов за performance (макс. 100%, мин. 0%). Если значение не целое, оно округляется вверх."
108106

109107
#: ../../../../docs/common_information/points.rst:49
110-
msgid "Efficiency (%)"
111-
msgstr "Эффективность"
108+
msgid "Efficiency"
109+
msgstr "Эффективность (доля)"
112110

113111
#: ../../../../docs/common_information/points.rst:49
114112
msgid "Points percentage"
115113
msgstr "Процент баллов за производительность"
116114

117115
#: ../../../../docs/common_information/points.rst:51
118-
msgid ">= 50%"
119-
msgstr ">= 50%"
116+
msgid ">= 0.50"
117+
msgstr ">= 0.50"
120118

121119
#: ../../../../docs/common_information/points.rst:51
122120
msgid "100%"
123121
msgstr "100%"
124122

125123
#: ../../../../docs/common_information/points.rst:53
126-
msgid "[45, 50)"
127-
msgstr "[45, 50)"
124+
msgid "[0.45, 0.50)"
125+
msgstr "[0.45, 0.50)"
128126

129127
#: ../../../../docs/common_information/points.rst:53
130128
msgid "90%"
131129
msgstr "90%"
132130

133131
#: ../../../../docs/common_information/points.rst:55
134-
msgid "[42, 45)"
135-
msgstr "[42, 45)"
132+
msgid "[0.42, 0.45)"
133+
msgstr "[0.42, 0.45)"
136134

137135
#: ../../../../docs/common_information/points.rst:55
138136
msgid "80%"
139137
msgstr "80%"
140138

141139
#: ../../../../docs/common_information/points.rst:57
142-
msgid "[40, 42)"
143-
msgstr "[40, 42)"
140+
msgid "[0.40, 0.42)"
141+
msgstr "[0.40, 0.42)"
144142

145143
#: ../../../../docs/common_information/points.rst:57
146144
msgid "70%"
147145
msgstr "70%"
148146

149147
#: ../../../../docs/common_information/points.rst:59
150-
msgid "[37, 40)"
151-
msgstr "[37, 40)"
148+
msgid "[0.37, 0.40)"
149+
msgstr "[0.37, 0.40)"
152150

153151
#: ../../../../docs/common_information/points.rst:59
154152
msgid "60%"
155153
msgstr "60%"
156154

157155
#: ../../../../docs/common_information/points.rst:61
158-
msgid "[35, 37)"
159-
msgstr "[35, 37)"
156+
msgid "[0.35, 0.37)"
157+
msgstr "[0.35, 0.37)"
160158

161159
#: ../../../../docs/common_information/points.rst:61
162160
msgid "50%"
163161
msgstr "50%"
164162

165163
#: ../../../../docs/common_information/points.rst:63
166-
msgid "[32, 35)"
167-
msgstr "[32, 35)"
164+
msgid "[0.32, 0.35)"
165+
msgstr "[0.32, 0.35)"
168166

169167
#: ../../../../docs/common_information/points.rst:63
170168
msgid "40%"
171169
msgstr "40%"
172170

173171
#: ../../../../docs/common_information/points.rst:65
174-
msgid "[30, 32)"
175-
msgstr "[30, 32)"
172+
msgid "[0.30, 0.32)"
173+
msgstr "[0.30, 0.32)"
176174

177175
#: ../../../../docs/common_information/points.rst:65
178176
msgid "30%"
179177
msgstr "30%"
180178

181179
#: ../../../../docs/common_information/points.rst:67
182-
msgid "[27, 30)"
183-
msgstr "[27, 30)"
180+
msgid "[0.27, 0.30)"
181+
msgstr "[0.27, 0.30)"
184182

185183
#: ../../../../docs/common_information/points.rst:67
186184
msgid "20%"
187185
msgstr "20%"
188186

189187
#: ../../../../docs/common_information/points.rst:69
190-
msgid "[25, 27)"
191-
msgstr "[25, 27)"
188+
msgid "[0.25, 0.27)"
189+
msgstr "[0.25, 0.27)"
192190

193191
#: ../../../../docs/common_information/points.rst:69
194192
msgid "10%"
195193
msgstr "10%"
196194

197195
#: ../../../../docs/common_information/points.rst:71
198-
msgid "< 25%"
199-
msgstr "< 25%"
196+
msgid "< 0.25"
197+
msgstr "< 0.25"
200198

201199
#: ../../../../docs/common_information/points.rst:71
202200
msgid "0%"

scoreboard/README.md

Lines changed: 12 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,32 @@
11
# Scoreboard
22

3-
HTML scoreboard generator for parallel programming tasks.
3+
Static HTML generator for the course scoreboard. All calculations happen in Python; the output pages are
4+
offline-ready and contain no JavaScript.
45

56
## Usage
67

78
```bash
8-
# Install dependencies
99
pip install -r requirements.txt
10-
11-
# Generate scoreboard
12-
python main.py -o output_directory
10+
python main.py -o build/html
1311
```
1412

15-
Generates `output_directory/index.html` with the scoreboard.
13+
Generated files: `index.html`, `threads.html`, `processes.html` and optional per-group pages.
1614

1715
## Configuration
1816

19-
- `data/points-info.yml` - Task points, deadlines, penalties
20-
- `data/plagiarism.yml` - Flagged submissions
21-
- `data/deadlines.yml` - Optional display deadlines and day offsets
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`)
2220

2321
## Testing
2422

2523
```bash
26-
# Install test dependencies
2724
pip install -r tests/requirements.txt
28-
29-
# Run tests
30-
python -m pytest tests/ -v
25+
pytest -v
3126
```
3227

33-
## Output
34-
35-
HTML table with columns: S (solution), A (acceleration), E (efficiency), D (deadline), C (copying), Total.
36-
37-
### Deadlines display
38-
39-
- Threads deadlines are auto-distributed across the Spring window: 1 Feb → 15 May.
40-
- Processes deadlines are auto-distributed across the Autumn window: 15 Oct → 14 Dec.
41-
- Due time is 23:59 MSK on the shown date.
42-
- File `data/deadlines.yml` can shift dates per item by integer day offsets (default 0). Example:
43-
44-
```yaml
45-
threads:
46-
seq: 0 # no shift
47-
omp: -2 # 2 days earlier
48-
tbb: 3 # 3 days later
49-
stl: 0
50-
all: 0
51-
processes:
52-
task_1: 0
53-
task_2: 5
54-
task_3: -1
55-
```
28+
## Notes
5629

57-
- If you put a non-integer string instead of a number, it is used as-is as the label (e.g., `"10 Nov"`).
30+
- Threads deadlines are auto-distributed across 1 Feb → 15 May; processes across 15 Oct → 14 Dec, with
31+
per-task shifts from `deadlines.yml`.
32+
- CSS is bundled locally (no CDN, no JS); HTML pages remain self-contained for offline use.

0 commit comments

Comments
 (0)