Spaces:
Running
Running
fix: 축 부문(Phenotype) 제출 불가 - _load_boards 가 axes 를 안 실었다
Browse files검증기는 axes 로 분기하는데 카드에 axes 가 없어 스칼라를 요구했다. 배열을 올리면 400, 스칼라를 올리면 채점기가 전부 missing 처리 - 이 부문에 아무도 제출할 수 없었다. 참가자 제보. 카드가 아니라 코드에서 고친다(dataset_sha 가 카드 해시라 카드를 고치면 데이터셋 교체로 기록된다). 안내 문구도 fPredAx 로 배선.
- app.py +12 -0
- index.html +1 -1
app.py
CHANGED
|
@@ -128,6 +128,18 @@ def _load_boards():
|
|
| 128 |
continue
|
| 129 |
nf = d.get("noise_floor") or {}
|
| 130 |
base = d.get("baselines") or {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
# 분류 전용 부문에는 MAE 기준선이 없다. 그럴 때는 AUROC 가 가장 높은 것을 최선으로 본다.
|
| 132 |
# 없는 값을 0 으로 치면 그 부문이 "가장 정확한 곳"으로 표에 오른다.
|
| 133 |
# 🔴 카드가 지정한 주지표를 덮어쓰지 않는다. 여기서 metric 을 무조건 다시
|
|
|
|
| 128 |
continue
|
| 129 |
nf = d.get("noise_floor") or {}
|
| 130 |
base = d.get("baselines") or {}
|
| 131 |
+
# 축 개수의 정본은 시험셋 파일이고 카드에는 없다. 이 값을 여기서 안 실으면
|
| 132 |
+
# 제출 검증이 "화합물마다 숫자 하나"를 요구해 **축 부문에는 아무도 제출할 수
|
| 133 |
+
# 없다** (2026-09-08 참가자 제보). 화면 안내도 스칼라용 문구가 뜬다.
|
| 134 |
+
# 카드에 넣지 않는 이유: dataset_sha 가 카드 해시라서, 카드를 고치면
|
| 135 |
+
# 데이터셋이 교체된 것처럼 기록된다.
|
| 136 |
+
# mae 부문까지 시험셋을 열면 매 갱신마다 46개를 파싱하므로 특수 지표만 본다.
|
| 137 |
+
if d.get("axes") is None and d.get("metric") not in (None, "mae"):
|
| 138 |
+
tp = os.path.join(DATA, "%s_test.json" % str(d.get("board") or "").lower())
|
| 139 |
+
try:
|
| 140 |
+
d["axes"] = json.load(io.open(tp, encoding="utf-8")).get("axes")
|
| 141 |
+
except Exception:
|
| 142 |
+
pass
|
| 143 |
# 분류 전용 부문에는 MAE 기준선이 없다. 그럴 때는 AUROC 가 가장 높은 것을 최선으로 본다.
|
| 144 |
# 없는 값을 0 으로 치면 그 부문이 "가장 정확한 곳"으로 표에 오른다.
|
| 145 |
# 🔴 카드가 지정한 주지표를 덮어쓰지 않는다. 여기서 metric 을 무조건 다시
|
index.html
CHANGED
|
@@ -924,7 +924,7 @@ function paneSubmit(b){
|
|
| 924 |
<input type="text" id="m" maxlength="60">
|
| 925 |
<label>${t.fTrain} <span class="hint">${t.fTrainH}</span></label>
|
| 926 |
<input type="text" id="td">
|
| 927 |
-
<label>${t.fPred} <span class="hint">${t.fPredH}</span></label>
|
| 928 |
<div class="drop" id="drop">${t.drop}<input type="file" id="file" accept=".json,.csv,.txt" hidden></div>
|
| 929 |
<textarea id="p" rows="6" style="margin-top:11px"></textarea>
|
| 930 |
<p style="margin-top:15px"><button class="btn" id="go">${t.send}</button>
|
|
|
|
| 924 |
<input type="text" id="m" maxlength="60">
|
| 925 |
<label>${t.fTrain} <span class="hint">${t.fTrainH}</span></label>
|
| 926 |
<input type="text" id="td">
|
| 927 |
+
<label>${t.fPred} <span class="hint">${b.axes?t.fPredAx(b.axes):t.fPredH}</span></label>
|
| 928 |
<div class="drop" id="drop">${t.drop}<input type="file" id="file" accept=".json,.csv,.txt" hidden></div>
|
| 929 |
<textarea id="p" rows="6" style="margin-top:11px"></textarea>
|
| 930 |
<p style="margin-top:15px"><button class="btn" id="go">${t.send}</button>
|