potato / layouts /task_layout.html
davidjurgens's picture
Deploy with potato deploy
a97ebaf verified
Raw History Blame Contribute Delete
16.9 kB
<!-- CONFIG_HASH: ac06d8e2076f6bee528c9a04cac39161_64120eaf3f230f064dccca0c9af08858 -->
<!-- Generated annotation layout file -->
<!-- This file was automatically generated based on the annotation schemes in your config -->
<!-- You can customize this file to modify the layout of your annotation interface -->
<!-- Changes to this file will be preserved across server restarts -->
<div class="annotation_schema">
<form id="task_success" class="annotation-form radio shadcn-radio-container" action="/action_page.php" data-annotation-id="0" data-annotation-type="radio" data-schema-name="task_success" data-grid-columns="1">
<fieldset schema="task_success">
<legend class="shadcn-radio-title">Did the agent fully complete the requested task?</legend>
<div class="shadcn-radio-options">
<div class="shadcn-radio-option">
<input class="task_success shadcn-radio-input annotation-input"
type="radio"
id="task_success_success_radio"
name="task_success"
value="success"
selection_constraint="single"
schema="task_success"
label_name="success"
onclick="onlyOne(this);registerAnnotation(this);"
validation=""
data-key="1">
<label for="task_success_success_radio" class="shadcn-radio-label" data-toggle="tooltip" data-html="true" data-placement="top" title="Task completed correctly with no errors in the final result">success <span class="keybinding-badge">1</span></label>
</div>
<div class="shadcn-radio-option">
<input class="task_success shadcn-radio-input annotation-input"
type="radio"
id="task_success_partial_radio"
name="task_success"
value="partial"
selection_constraint="single"
schema="task_success"
label_name="partial"
onclick="onlyOne(this);registerAnnotation(this);"
validation=""
data-key="2">
<label for="task_success_partial_radio" class="shadcn-radio-label" data-toggle="tooltip" data-html="true" data-placement="top" title="Task partially completed, or completed with errors (e.g., wrong item booked, incomplete fix)">partial <span class="keybinding-badge">2</span></label>
</div>
<div class="shadcn-radio-option">
<input class="task_success shadcn-radio-input annotation-input"
type="radio"
id="task_success_failure_radio"
name="task_success"
value="failure"
selection_constraint="single"
schema="task_success"
label_name="failure"
onclick="onlyOne(this);registerAnnotation(this);"
validation=""
data-key="3">
<label for="task_success_failure_radio" class="shadcn-radio-label" data-toggle="tooltip" data-html="true" data-placement="top" title="Task not completed — agent gave up, got stuck, or produced no useful result">failure <span class="keybinding-badge">3</span></label>
</div>
</div></fieldset></form>
<form id="side_effects" class="annotation-form radio shadcn-radio-container" action="/action_page.php" data-annotation-id="1" data-annotation-type="radio" data-schema-name="side_effects" data-grid-columns="1">
<fieldset schema="side_effects">
<legend class="shadcn-radio-title">Did the agent cause any unintended consequences beyond the task scope?</legend>
<div class="shadcn-radio-options">
<div class="shadcn-radio-option">
<input class="side_effects shadcn-radio-input annotation-input"
type="radio"
id="side_effects_none_radio"
name="side_effects"
value="none"
selection_constraint="single"
schema="side_effects"
label_name="none"
onclick="onlyOne(this);registerAnnotation(this);"
validation=""
data-key="q">
<label for="side_effects_none_radio" class="shadcn-radio-label" data-toggle="tooltip" data-html="true" data-placement="top" title="No actions beyond what the task required">none <span class="keybinding-badge">Q</span></label>
</div>
<div class="shadcn-radio-option">
<input class="side_effects shadcn-radio-input annotation-input"
type="radio"
id="side_effects_minor_radio"
name="side_effects"
value="minor"
selection_constraint="single"
schema="side_effects"
label_name="minor"
onclick="onlyOne(this);registerAnnotation(this);"
validation=""
data-key="w">
<label for="side_effects_minor_radio" class="shadcn-radio-label" data-toggle="tooltip" data-html="true" data-placement="top" title="Small unintended effects (e.g., flagged an extra email, searched an unnecessary source)">minor <span class="keybinding-badge">W</span></label>
</div>
<div class="shadcn-radio-option">
<input class="side_effects shadcn-radio-input annotation-input"
type="radio"
id="side_effects_major_radio"
name="side_effects"
value="major"
selection_constraint="single"
schema="side_effects"
label_name="major"
onclick="onlyOne(this);registerAnnotation(this);"
validation=""
data-key="e">
<label for="side_effects_major_radio" class="shadcn-radio-label" data-toggle="tooltip" data-html="true" data-placement="top" title="Significant unintended consequences (e.g., modified wrong file, sent message to wrong person)">major <span class="keybinding-badge">E</span></label>
</div>
</div></fieldset></form>
<form id="efficiency" class="annotation-form likert shadcn-likert-container" action="/action_page.php" data-annotation-id="2" data-annotation-type="likert" data-schema-name="efficiency" data-grid-columns="1">
<fieldset schema="efficiency">
<legend class="shadcn-likert-title">How efficient was the agent? (1 = many wasted steps, 5 = optimal path)</legend>
<div class="shadcn-likert-scale" style="max-width: min(100%, calc(300px + 5 * 40px + 250px));">
<div class="shadcn-likert-endpoint">Very inefficient</div>
<div class="shadcn-likert-options">
<div class="shadcn-likert-track"></div>
<div class="shadcn-likert-option">
<input class="efficiency shadcn-likert-input annotation-input"
type="radio"
id="efficiency_1_radio"
name="efficiency"
value="1"
schema="efficiency"
label_name="1"
selection_constraint="single"
validation=""
onclick="onlyOne(this);registerAnnotation(this);">
<label class="shadcn-likert-button" for="efficiency_1_radio"></label>
</div>
<div class="shadcn-likert-option">
<input class="efficiency shadcn-likert-input annotation-input"
type="radio"
id="efficiency_2_radio"
name="efficiency"
value="2"
schema="efficiency"
label_name="2"
selection_constraint="single"
validation=""
onclick="onlyOne(this);registerAnnotation(this);">
<label class="shadcn-likert-button" for="efficiency_2_radio"></label>
</div>
<div class="shadcn-likert-option">
<input class="efficiency shadcn-likert-input annotation-input"
type="radio"
id="efficiency_3_radio"
name="efficiency"
value="3"
schema="efficiency"
label_name="3"
selection_constraint="single"
validation=""
onclick="onlyOne(this);registerAnnotation(this);">
<label class="shadcn-likert-button" for="efficiency_3_radio"></label>
</div>
<div class="shadcn-likert-option">
<input class="efficiency shadcn-likert-input annotation-input"
type="radio"
id="efficiency_4_radio"
name="efficiency"
value="4"
schema="efficiency"
label_name="4"
selection_constraint="single"
validation=""
onclick="onlyOne(this);registerAnnotation(this);">
<label class="shadcn-likert-button" for="efficiency_4_radio"></label>
</div>
<div class="shadcn-likert-option">
<input class="efficiency shadcn-likert-input annotation-input"
type="radio"
id="efficiency_5_radio"
name="efficiency"
value="5"
schema="efficiency"
label_name="5"
selection_constraint="single"
validation=""
onclick="onlyOne(this);registerAnnotation(this);">
<label class="shadcn-likert-button" for="efficiency_5_radio"></label>
</div>
</div>
<div class="shadcn-likert-endpoint">Optimal</div>
</div>
</fieldset></form>
<form id="hallucination_spans" class="annotation-form span shadcn-span-container" action="/action_page.php" data-annotation-id="3" data-grid-columns="1">
<fieldset schema="hallucination_spans">
<legend class="shadcn-span-title">Select a label below, then highlight problematic text in the trace</legend>
<div class="shadcn-span-options" style="grid-template-columns: repeat(4, 1fr)">
<div class="shadcn-span-option">
<input class="hallucination_spans shadcn-span-checkbox"
for_span="true"
type="checkbox"
id="hallucination_spans_hallucination"
name="span_label:::hallucination_spans"
value="hallucination"
onclick="onlyOne(this); changeSpanLabel(this, 'hallucination_spans', 'hallucination', 'hallucination', '(110, 86, 207)', '');"
data-target-field=""
validation="">
<label for="hallucination_spans_hallucination" class="shadcn-span-label" data-toggle="tooltip" data-html="true" data-placement="top" title="Agent claims something not grounded in the environment output (e.g., inventing search results)">
<span style="background-color:rgb(110, 86, 207,0.4);">hallucination</span>
</label>
</div>
<div class="shadcn-span-option">
<input class="hallucination_spans shadcn-span-checkbox"
for_span="true"
type="checkbox"
id="hallucination_spans_incorrect_fact"
name="span_label:::hallucination_spans"
value="incorrect_fact"
onclick="onlyOne(this); changeSpanLabel(this, 'hallucination_spans', 'incorrect_fact', 'incorrect_fact', '(239, 68, 68)', '');"
data-target-field=""
validation="">
<label for="hallucination_spans_incorrect_fact" class="shadcn-span-label" data-toggle="tooltip" data-html="true" data-placement="top" title="Agent states something factually wrong (e.g., wrong price, wrong date)">
<span style="background-color:rgb(239, 68, 68,0.4);">incorrect_fact</span>
</label>
</div>
<div class="shadcn-span-option">
<input class="hallucination_spans shadcn-span-checkbox"
for_span="true"
type="checkbox"
id="hallucination_spans_unnecessary_action"
name="span_label:::hallucination_spans"
value="unnecessary_action"
onclick="onlyOne(this); changeSpanLabel(this, 'hallucination_spans', 'unnecessary_action', 'unnecessary_action', '(113, 113, 122)', '');"
data-target-field=""
validation="">
<label for="hallucination_spans_unnecessary_action" class="shadcn-span-label" data-toggle="tooltip" data-html="true" data-placement="top" title="Agent performs a step that doesn&#x27;t contribute to completing the task">
<span style="background-color:rgb(113, 113, 122,0.4);">unnecessary_action</span>
</label>
</div>
<div class="shadcn-span-option">
<input class="hallucination_spans shadcn-span-checkbox"
for_span="true"
type="checkbox"
id="hallucination_spans_reasoning_error"
name="span_label:::hallucination_spans"
value="reasoning_error"
onclick="onlyOne(this); changeSpanLabel(this, 'hallucination_spans', 'reasoning_error', 'reasoning_error', '(245, 158, 11)', '');"
data-target-field=""
validation="">
<label for="hallucination_spans_reasoning_error" class="shadcn-span-label" data-toggle="tooltip" data-html="true" data-placement="top" title="Agent draws a wrong conclusion from available information (e.g., picks a more expensive option while claiming it&#x27;s cheapest)">
<span style="background-color:rgb(245, 158, 11,0.4);">reasoning_error</span>
</label>
</div>
</div></fieldset></form>
<form id="notes" class="annotation-form textbox shadcn-textbox-container " action="/action_page.php" data-annotation-id="4" data-annotation-type="text" data-schema-name="notes" data-grid-columns="1">
<fieldset schema_name="notes">
<legend class="shadcn-textbox-title">Any other observations about the agent&#x27;s behavior</legend>
<div class="shadcn-textbox-item">
<textarea class="notes shadcn-textbox-input shadcn-textbox-textarea annotation-input"
id="notes_text_box_text"
name="notes:::text_box"
validation=""
schema="notes"
label_name="text_box"
rows='3' cols='40'
style=""
></textarea>
</div></fieldset></form>
</div>