Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- tasks/music-gk-0001/tests/grade.py +3 -1
- tasks/music-gk-0006/tests/grade.py +3 -1
- tasks/music-gk-0008/tests/grade.py +3 -1
- tasks/music-gk-0012/tests/grade.py +3 -1
- tasks/music-gk-0014/tests/grade.py +3 -1
- tasks/music-gk-0015/tests/grade.py +3 -1
- tasks/music-gk-0023/tests/grade.py +3 -1
- tasks/music-gk-0024/tests/grade.py +3 -1
- tasks/music-gk-0030/tests/grade.py +3 -1
- tasks/music-gk-0037/tests/grade.py +3 -1
- tasks/music-gk-0039/tests/grade.py +3 -1
- tasks/music-gk-0041/tests/grade.py +3 -1
- tasks/music-gk-0048/tests/grade.py +3 -1
- tasks/music-gk-0052/tests/grade.py +3 -1
- tasks/music-gk-0070/tests/grade.py +3 -1
- tasks/music-gk-0077/tests/grade.py +3 -1
- tasks/music-gk-0083/tests/grade.py +3 -1
- tasks/music-gk-0084/tests/grade.py +3 -1
- tasks/music-gk-0202/tests/grade.py +3 -1
- tasks/music-gk-0205/tests/grade.py +3 -1
- tasks/music-gk-0211/tests/grade.py +3 -1
- tasks/music-gk-0216/tests/grade.py +3 -1
- tasks/music-gk-0218/tests/grade.py +3 -1
- tasks/music-gk-0219/tests/grade.py +3 -1
- tasks/music-gk-0220/tests/grade.py +3 -1
- tasks/music-gk-0227/tests/grade.py +3 -1
- tasks/music-gk-0229/tests/grade.py +3 -1
- tasks/music-gk-0245/tests/grade.py +3 -1
- tasks/music-gk-0260/tests/grade.py +3 -1
- tasks/music-gk-0273/tests/grade.py +3 -1
- tasks/music-gk-0287/tests/grade.py +3 -1
- tasks/music-gk-0289/tests/grade.py +3 -1
- tasks/music-gk-0294/tests/grade.py +3 -1
- tasks/music-gk-0409/tests/grade.py +3 -1
- tasks/music-gk-0413/tests/grade.py +3 -1
- tasks/music-gk-0414/tests/grade.py +3 -1
- tasks/music-gk-0436/tests/grade.py +3 -1
- tasks/music-gk-0440/tests/grade.py +3 -1
- tasks/music-gk-0441/tests/grade.py +3 -1
- tasks/music-gk-0446/tests/grade.py +3 -1
- tasks/music-gk-0447/tests/grade.py +3 -1
- tasks/music-gk-0449/tests/grade.py +3 -1
- tasks/music-gk-0453/tests/grade.py +3 -1
- tasks/music-gk-0454/tests/grade.py +3 -1
- tasks/music-gk-0462/tests/grade.py +3 -1
- tasks/music-gk-0465/tests/grade.py +3 -1
- tasks/music-gk-0470/tests/grade.py +3 -1
- tasks/music-gk-0471/tests/grade.py +3 -1
- tasks/music-gk-0476/tests/grade.py +3 -1
- tasks/music-gk-0478/tests/grade.py +3 -1
tasks/music-gk-0001/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0006/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0008/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0012/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0014/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0015/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0023/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0024/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0030/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0037/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0039/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0041/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0048/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0052/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0070/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0077/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0083/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0084/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0202/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0205/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0211/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0216/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0218/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0219/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0220/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0227/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0229/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0245/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0260/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0273/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0287/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0289/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0294/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0409/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0413/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0414/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0436/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0440/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0441/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0446/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0447/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0449/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0453/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0454/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0462/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0465/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0470/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0471/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0476/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|
tasks/music-gk-0478/tests/grade.py
CHANGED
|
@@ -52,4 +52,6 @@ gate = {"notation_errors": res.get("err", 0), "bad_bars": res.get("bar", 0), "bl
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
-
|
|
|
|
|
|
|
|
|
| 52 |
total = res.get("total")
|
| 53 |
if res.get("reject"):
|
| 54 |
done(0.0, "Rejected by the validity gate", gate=gate, quality=total, groups=res.get("groups"))
|
| 55 |
+
if total is None: # pipeline.compute_score: no total -> 0.0
|
| 56 |
+
done(0.0, "The scorer could not measure this piece (no total).", gate=gate, groups=res.get("groups"))
|
| 57 |
+
done(max(0.0, min(1.0, float(total) / 100.0)), f"human-likeness {total:.1f}/100", gate=gate, groups=res.get("groups"))
|