Spaces:
Running on Zero
Running on Zero
Simplify annotation vote to yes/no/can't-tell (ladder UI preserved on branch ladder-voting)
Browse files
app.py
CHANGED
|
@@ -303,7 +303,7 @@ _start_bucket_flusher()
|
|
| 303 |
class Annotation(BaseModel):
|
| 304 |
seed_id: int
|
| 305 |
code: str
|
| 306 |
-
verdict: str # "depth" | "none" | "skip"
|
| 307 |
depth_index: int | None = None # 0-based rung index when verdict == "depth"
|
| 308 |
rung_code: str | None = None
|
| 309 |
ladder_index: int | None = None # which ':'-part, for composite codes
|
|
@@ -311,6 +311,7 @@ class Annotation(BaseModel):
|
|
| 311 |
gt: bool | None = None
|
| 312 |
judge: str | None = None
|
| 313 |
session: str = ""
|
|
|
|
| 314 |
|
| 315 |
|
| 316 |
app = Server()
|
|
|
|
| 303 |
class Annotation(BaseModel):
|
| 304 |
seed_id: int
|
| 305 |
code: str
|
| 306 |
+
verdict: str # simple ui: "yes" | "no" | "skip"; ladder ui: "depth" | "none" | "skip"
|
| 307 |
depth_index: int | None = None # 0-based rung index when verdict == "depth"
|
| 308 |
rung_code: str | None = None
|
| 309 |
ladder_index: int | None = None # which ':'-part, for composite codes
|
|
|
|
| 311 |
gt: bool | None = None
|
| 312 |
judge: str | None = None
|
| 313 |
session: str = ""
|
| 314 |
+
ui: str | None = None # "simple-v1" | "ladder-v1" — distinguishes the two voting UIs
|
| 315 |
|
| 316 |
|
| 317 |
app = Server()
|