Task config
The eval_config defines what clinicians see and fill in. Key fields:
purpose:evaluate(grade a model output),label(categorise / annotate data), orcreate(produce gold answers, preferences, or ratings). Defaults toevaluate; it sets the reviewer workflow and the deliverable.instructions: your rubric, shown to clinicians at the top of every task — what to evaluate, the standard, what counts as an error, edge cases. Optional, but it’s the single biggest lever on answer quality and reviewer agreement. Use line breaks to separate points. (Templates ship with a starter rubric you can tune.)adjudicate:trueholds any item where reviewers disagree for a senior reviewer to resolve, instead of shipping the majority vote. Recommended for judgment work; the judgment templates set it for you. Optional (defaultfalse).auto_deliver: by default a finished batch is held for a human sign-off before it’s released to you (status staysin_reviewuntil then). Settruefor hands-off delivery the moment every item is done. Optional (defaultfalse).input:text(shows thecontextfields),image(each item needs animageURL), oraudio/video(each item needs anaudio/videoURL; a clinician plays it, streamed straight from your storage).context: for text tasks, which data keys to show the clinician, in order.classes: the label set used byfrom_classesandstructuredfields.case_id_field: which item field ties a result back to your own record.field_order: the order clinicians are asked the fields, as a list of field names. Worth setting — configs are stored as JSON, whose key order is not preserved, so without it the form is ordered arbitrarily and a clinician can be asked for a rationale before the verdict it explains. Templates set it for you; names you leave out are asked last.- Each field takes a
label(the question a clinician reads — without one the field name is prettified, socorrect_labelreads as “Correct label”) and an optionalhint. primary_field: which answer decides reviewer agreement, and so which items are held for adjudication. Defaults to the first requiredsingle/from_classesfield.
fields is a map of what the clinician fills. Each has a type:
single: choose one ofoptions.from_classes: choose one of the projectclasses.structured: yes or no, plus which finding (from classes).scale: a rating from 1 tomax.flag: a single checkbox.text: free-text notes (rowssets the box height for long-form).spans: highlight text in the model output and tag each span with one ofoptions(text input only).
Any field can add required: true, visible_when: "field!=value", and hint: "..." (a one-line note shown under the field’s label to guide the clinician).
Questions? senebiclabs@gmail.com