File size: 16,876 Bytes
a97ebaf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
<!-- 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>