davanstrien HF Staff commited on
Commit
cffbfb2
·
verified ·
1 Parent(s): 79da8b2

Simplify annotation vote to yes/no/can't-tell (ladder UI preserved on branch ladder-voting)

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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()