Skip to content

Import pilot-1 annotations with label origin; first pilot dev scores - #20

Merged
professor3333 merged 1 commit into
mainfrom
pilot/import
Nov 2, 2026
Merged

professor3333 merged 1 commit into
mainfrom
pilot/import

Conversation

@professor3333

Copy link
Copy Markdown
Owner

What

  • Schema 1.1 (additive): AdvisoryAnnotation.origin (manual / model_draft_accepted / model_draft_edited) and origin_model, read from Label Studio's parent_prediction link. Only label changes (spans, categories, roles, relations, document status) count as edits; the notes field does not.
  • Importer: the report counts origins and warns that accepted model drafts measure agreement with the draft model, not accuracy.
  • Evaluate: --gold-origin manual scores hand-made records only; the report header states the slice and document count.
  • Data: annotations/pilot/pilot-1.jsonl: 100 clean records, 0 issues (22 manual, 78 model_draft_accepted from model-pilot-draft-2026-11-01-v1).
  • Reports: reports/pilot/: rules-2 and crf-1 on the dev split only, manual and all slices. Locked test split untouched.
  • README and annotations/README.md updated: the label-origin principle, pilot status, and a preliminary dev-only results table.

Preliminary dev results (manual slice, 10 docs, 17 gold conditions)

System Typed micro-F1 False-prerequisite rate
rules-2 0.095 [0.000, 0.333] 0.750 [0.000, 1.000]
crf-1 0.154 [0.000, 0.385] 0.556 [0.200, 0.750]

Checks

ruff, ruff format, mypy strict, pytest -m "not slow" (212 passed). CRF retrain reproduces predictions byte for byte.

…v scores

Annotation records gain an `origin` (manual, model_draft_accepted,
model_draft_edited) and `origin_model`, read from Label Studio's
parent_prediction link; only label changes count as edits, not notes.
Schema version 1.1 (additive). The import report counts origins, and
`evaluate --gold-origin manual` scores hand-made records only.

pilot-1: 100 clean records (22 manual, 78 accepted model drafts).
Rules and CRF are scored on the dev split only; the locked test split
is untouched. Reports separate the manual slice from the all slice,
which measures agreement with the draft model rather than accuracy.
@professor3333
professor3333 merged commit a9dac21 into main Nov 2, 2026
2 checks passed
@professor3333
professor3333 deleted the pilot/import branch November 2, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant