Commit
·
c5259e1
1
Parent(s):
a9bc258
feat: v5 release
Browse files- app.py +6 -1
- problems.json +2 -2
- templates/problem.html +2 -1
- templates/problem_mini.html +2 -1
app.py
CHANGED
|
@@ -62,7 +62,12 @@ all_evaluations_by_problem_colored = [
|
|
| 62 |
|
| 63 |
all_data_for_view_formatted = {
|
| 64 |
model: [
|
| 65 |
-
[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
# print(row)
|
| 67 |
for idx in random_idxs
|
| 68 |
for row in [resp[idx]]
|
|
|
|
| 62 |
|
| 63 |
all_data_for_view_formatted = {
|
| 64 |
model: [
|
| 65 |
+
[
|
| 66 |
+
{"code": a, "pass1": b, "metadata": c}
|
| 67 |
+
for a, b, c in zip(
|
| 68 |
+
row["code_list"], row["pass1_list"], row["metadata_list"]
|
| 69 |
+
)
|
| 70 |
+
]
|
| 71 |
# print(row)
|
| 72 |
for idx in random_idxs
|
| 73 |
for row in [resp[idx]]
|
problems.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:249962cce480a0fec60ca4f3484d05a4a8994b179efebc83386435e82cc5c510
|
| 3 |
+
size 1552205
|
templates/problem.html
CHANGED
|
@@ -245,7 +245,8 @@
|
|
| 245 |
|
| 246 |
<ul>
|
| 247 |
<li> solution idx -- {{ loop.index }} </li>
|
| 248 |
-
<li>correctness -- {{ code['pass1'] }}</li>
|
|
|
|
| 249 |
</ul>
|
| 250 |
|
| 251 |
<div>
|
|
|
|
| 245 |
|
| 246 |
<ul>
|
| 247 |
<li> solution idx -- {{ loop.index }} </li>
|
| 248 |
+
<li> correctness -- {{ code['pass1'] }}</li>
|
| 249 |
+
<li> metadata -- {{ code['metadata'] }}</li>
|
| 250 |
</ul>
|
| 251 |
|
| 252 |
<div>
|
templates/problem_mini.html
CHANGED
|
@@ -243,7 +243,8 @@
|
|
| 243 |
|
| 244 |
<ul>
|
| 245 |
<li> solution idx -- {{ loop.index }} </li>
|
| 246 |
-
<li>correctness -- {{ code['pass1'] }}</li>
|
|
|
|
| 247 |
</ul>
|
| 248 |
|
| 249 |
<div>
|
|
|
|
| 243 |
|
| 244 |
<ul>
|
| 245 |
<li> solution idx -- {{ loop.index }} </li>
|
| 246 |
+
<li> correctness -- {{ code['pass1'] }}</li>
|
| 247 |
+
<li> metadata -- {{ code['metadata'] }}</li>
|
| 248 |
</ul>
|
| 249 |
|
| 250 |
<div>
|