Alex Cabrera commited on
Commit
678531b
·
1 Parent(s): 208fe4c
.DS_Store ADDED
Binary file (6.15 kB). View file
 
.gitignore CHANGED
@@ -127,3 +127,5 @@ dmypy.json
127
 
128
  # Pyre type checker
129
  .pyre/
 
 
 
127
 
128
  # Pyre type checker
129
  .pyre/
130
+
131
+ .zeno_cache*/
evals/.DS_Store ADDED
Binary file (6.15 kB). View file
 
evals/.zeno_cache_emotional-intelligence/view.mjs DELETED
@@ -1,1574 +0,0 @@
1
- function noop() { }
2
- function run(fn) {
3
- return fn();
4
- }
5
- function blank_object() {
6
- return Object.create(null);
7
- }
8
- function run_all(fns) {
9
- fns.forEach(run);
10
- }
11
- function is_function(thing) {
12
- return typeof thing === 'function';
13
- }
14
- function safe_not_equal(a, b) {
15
- return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');
16
- }
17
- function is_empty(obj) {
18
- return Object.keys(obj).length === 0;
19
- }
20
- function null_to_empty(value) {
21
- return value == null ? '' : value;
22
- }
23
-
24
- // Track which nodes are claimed during hydration. Unclaimed nodes can then be removed from the DOM
25
- // at the end of hydration without touching the remaining nodes.
26
- let is_hydrating = false;
27
- function start_hydrating() {
28
- is_hydrating = true;
29
- }
30
- function end_hydrating() {
31
- is_hydrating = false;
32
- }
33
- function upper_bound(low, high, key, value) {
34
- // Return first index of value larger than input value in the range [low, high)
35
- while (low < high) {
36
- const mid = low + ((high - low) >> 1);
37
- if (key(mid) <= value) {
38
- low = mid + 1;
39
- }
40
- else {
41
- high = mid;
42
- }
43
- }
44
- return low;
45
- }
46
- function init_hydrate(target) {
47
- if (target.hydrate_init)
48
- return;
49
- target.hydrate_init = true;
50
- // We know that all children have claim_order values since the unclaimed have been detached if target is not <head>
51
- let children = target.childNodes;
52
- // If target is <head>, there may be children without claim_order
53
- if (target.nodeName === 'HEAD') {
54
- const myChildren = [];
55
- for (let i = 0; i < children.length; i++) {
56
- const node = children[i];
57
- if (node.claim_order !== undefined) {
58
- myChildren.push(node);
59
- }
60
- }
61
- children = myChildren;
62
- }
63
- /*
64
- * Reorder claimed children optimally.
65
- * We can reorder claimed children optimally by finding the longest subsequence of
66
- * nodes that are already claimed in order and only moving the rest. The longest
67
- * subsequence of nodes that are claimed in order can be found by
68
- * computing the longest increasing subsequence of .claim_order values.
69
- *
70
- * This algorithm is optimal in generating the least amount of reorder operations
71
- * possible.
72
- *
73
- * Proof:
74
- * We know that, given a set of reordering operations, the nodes that do not move
75
- * always form an increasing subsequence, since they do not move among each other
76
- * meaning that they must be already ordered among each other. Thus, the maximal
77
- * set of nodes that do not move form a longest increasing subsequence.
78
- */
79
- // Compute longest increasing subsequence
80
- // m: subsequence length j => index k of smallest value that ends an increasing subsequence of length j
81
- const m = new Int32Array(children.length + 1);
82
- // Predecessor indices + 1
83
- const p = new Int32Array(children.length);
84
- m[0] = -1;
85
- let longest = 0;
86
- for (let i = 0; i < children.length; i++) {
87
- const current = children[i].claim_order;
88
- // Find the largest subsequence length such that it ends in a value less than our current value
89
- // upper_bound returns first greater value, so we subtract one
90
- // with fast path for when we are on the current longest subsequence
91
- const seqLen = ((longest > 0 && children[m[longest]].claim_order <= current) ? longest + 1 : upper_bound(1, longest, idx => children[m[idx]].claim_order, current)) - 1;
92
- p[i] = m[seqLen] + 1;
93
- const newLen = seqLen + 1;
94
- // We can guarantee that current is the smallest value. Otherwise, we would have generated a longer sequence.
95
- m[newLen] = i;
96
- longest = Math.max(newLen, longest);
97
- }
98
- // The longest increasing subsequence of nodes (initially reversed)
99
- const lis = [];
100
- // The rest of the nodes, nodes that will be moved
101
- const toMove = [];
102
- let last = children.length - 1;
103
- for (let cur = m[longest] + 1; cur != 0; cur = p[cur - 1]) {
104
- lis.push(children[cur - 1]);
105
- for (; last >= cur; last--) {
106
- toMove.push(children[last]);
107
- }
108
- last--;
109
- }
110
- for (; last >= 0; last--) {
111
- toMove.push(children[last]);
112
- }
113
- lis.reverse();
114
- // We sort the nodes being moved to guarantee that their insertion order matches the claim order
115
- toMove.sort((a, b) => a.claim_order - b.claim_order);
116
- // Finally, we move the nodes
117
- for (let i = 0, j = 0; i < toMove.length; i++) {
118
- while (j < lis.length && toMove[i].claim_order >= lis[j].claim_order) {
119
- j++;
120
- }
121
- const anchor = j < lis.length ? lis[j] : null;
122
- target.insertBefore(toMove[i], anchor);
123
- }
124
- }
125
- function append(target, node) {
126
- target.appendChild(node);
127
- }
128
- function append_styles(target, style_sheet_id, styles) {
129
- const append_styles_to = get_root_for_style(target);
130
- if (!append_styles_to.getElementById(style_sheet_id)) {
131
- const style = element('style');
132
- style.id = style_sheet_id;
133
- style.textContent = styles;
134
- append_stylesheet(append_styles_to, style);
135
- }
136
- }
137
- function get_root_for_style(node) {
138
- if (!node)
139
- return document;
140
- const root = node.getRootNode ? node.getRootNode() : node.ownerDocument;
141
- if (root && root.host) {
142
- return root;
143
- }
144
- return node.ownerDocument;
145
- }
146
- function append_stylesheet(node, style) {
147
- append(node.head || node, style);
148
- return style.sheet;
149
- }
150
- function append_hydration(target, node) {
151
- if (is_hydrating) {
152
- init_hydrate(target);
153
- if ((target.actual_end_child === undefined) || ((target.actual_end_child !== null) && (target.actual_end_child.parentNode !== target))) {
154
- target.actual_end_child = target.firstChild;
155
- }
156
- // Skip nodes of undefined ordering
157
- while ((target.actual_end_child !== null) && (target.actual_end_child.claim_order === undefined)) {
158
- target.actual_end_child = target.actual_end_child.nextSibling;
159
- }
160
- if (node !== target.actual_end_child) {
161
- // We only insert if the ordering of this node should be modified or the parent node is not target
162
- if (node.claim_order !== undefined || node.parentNode !== target) {
163
- target.insertBefore(node, target.actual_end_child);
164
- }
165
- }
166
- else {
167
- target.actual_end_child = node.nextSibling;
168
- }
169
- }
170
- else if (node.parentNode !== target || node.nextSibling !== null) {
171
- target.appendChild(node);
172
- }
173
- }
174
- function insert_hydration(target, node, anchor) {
175
- if (is_hydrating && !anchor) {
176
- append_hydration(target, node);
177
- }
178
- else if (node.parentNode !== target || node.nextSibling != anchor) {
179
- target.insertBefore(node, anchor || null);
180
- }
181
- }
182
- function detach(node) {
183
- if (node.parentNode) {
184
- node.parentNode.removeChild(node);
185
- }
186
- }
187
- function destroy_each(iterations, detaching) {
188
- for (let i = 0; i < iterations.length; i += 1) {
189
- if (iterations[i])
190
- iterations[i].d(detaching);
191
- }
192
- }
193
- function element(name) {
194
- return document.createElement(name);
195
- }
196
- function svg_element(name) {
197
- return document.createElementNS('http://www.w3.org/2000/svg', name);
198
- }
199
- function text(data) {
200
- return document.createTextNode(data);
201
- }
202
- function space() {
203
- return text(' ');
204
- }
205
- function empty() {
206
- return text('');
207
- }
208
- function attr(node, attribute, value) {
209
- if (value == null)
210
- node.removeAttribute(attribute);
211
- else if (node.getAttribute(attribute) !== value)
212
- node.setAttribute(attribute, value);
213
- }
214
- function children(element) {
215
- return Array.from(element.childNodes);
216
- }
217
- function init_claim_info(nodes) {
218
- if (nodes.claim_info === undefined) {
219
- nodes.claim_info = { last_index: 0, total_claimed: 0 };
220
- }
221
- }
222
- function claim_node(nodes, predicate, processNode, createNode, dontUpdateLastIndex = false) {
223
- // Try to find nodes in an order such that we lengthen the longest increasing subsequence
224
- init_claim_info(nodes);
225
- const resultNode = (() => {
226
- // We first try to find an element after the previous one
227
- for (let i = nodes.claim_info.last_index; i < nodes.length; i++) {
228
- const node = nodes[i];
229
- if (predicate(node)) {
230
- const replacement = processNode(node);
231
- if (replacement === undefined) {
232
- nodes.splice(i, 1);
233
- }
234
- else {
235
- nodes[i] = replacement;
236
- }
237
- if (!dontUpdateLastIndex) {
238
- nodes.claim_info.last_index = i;
239
- }
240
- return node;
241
- }
242
- }
243
- // Otherwise, we try to find one before
244
- // We iterate in reverse so that we don't go too far back
245
- for (let i = nodes.claim_info.last_index - 1; i >= 0; i--) {
246
- const node = nodes[i];
247
- if (predicate(node)) {
248
- const replacement = processNode(node);
249
- if (replacement === undefined) {
250
- nodes.splice(i, 1);
251
- }
252
- else {
253
- nodes[i] = replacement;
254
- }
255
- if (!dontUpdateLastIndex) {
256
- nodes.claim_info.last_index = i;
257
- }
258
- else if (replacement === undefined) {
259
- // Since we spliced before the last_index, we decrease it
260
- nodes.claim_info.last_index--;
261
- }
262
- return node;
263
- }
264
- }
265
- // If we can't find any matching node, we create a new one
266
- return createNode();
267
- })();
268
- resultNode.claim_order = nodes.claim_info.total_claimed;
269
- nodes.claim_info.total_claimed += 1;
270
- return resultNode;
271
- }
272
- function claim_element_base(nodes, name, attributes, create_element) {
273
- return claim_node(nodes, (node) => node.nodeName === name, (node) => {
274
- const remove = [];
275
- for (let j = 0; j < node.attributes.length; j++) {
276
- const attribute = node.attributes[j];
277
- if (!attributes[attribute.name]) {
278
- remove.push(attribute.name);
279
- }
280
- }
281
- remove.forEach(v => node.removeAttribute(v));
282
- return undefined;
283
- }, () => create_element(name));
284
- }
285
- function claim_element(nodes, name, attributes) {
286
- return claim_element_base(nodes, name, attributes, element);
287
- }
288
- function claim_svg_element(nodes, name, attributes) {
289
- return claim_element_base(nodes, name, attributes, svg_element);
290
- }
291
- function claim_text(nodes, data) {
292
- return claim_node(nodes, (node) => node.nodeType === 3, (node) => {
293
- const dataStr = '' + data;
294
- if (node.data.startsWith(dataStr)) {
295
- if (node.data.length !== dataStr.length) {
296
- return node.splitText(dataStr.length);
297
- }
298
- }
299
- else {
300
- node.data = dataStr;
301
- }
302
- }, () => text(data), true // Text nodes should not update last index since it is likely not worth it to eliminate an increasing subsequence of actual elements
303
- );
304
- }
305
- function claim_space(nodes) {
306
- return claim_text(nodes, ' ');
307
- }
308
- function set_data(text, data) {
309
- data = '' + data;
310
- if (text.wholeText !== data)
311
- text.data = data;
312
- }
313
-
314
- let current_component;
315
- function set_current_component(component) {
316
- current_component = component;
317
- }
318
-
319
- const dirty_components = [];
320
- const binding_callbacks = [];
321
- const render_callbacks = [];
322
- const flush_callbacks = [];
323
- const resolved_promise = Promise.resolve();
324
- let update_scheduled = false;
325
- function schedule_update() {
326
- if (!update_scheduled) {
327
- update_scheduled = true;
328
- resolved_promise.then(flush);
329
- }
330
- }
331
- function add_render_callback(fn) {
332
- render_callbacks.push(fn);
333
- }
334
- // flush() calls callbacks in this order:
335
- // 1. All beforeUpdate callbacks, in order: parents before children
336
- // 2. All bind:this callbacks, in reverse order: children before parents.
337
- // 3. All afterUpdate callbacks, in order: parents before children. EXCEPT
338
- // for afterUpdates called during the initial onMount, which are called in
339
- // reverse order: children before parents.
340
- // Since callbacks might update component values, which could trigger another
341
- // call to flush(), the following steps guard against this:
342
- // 1. During beforeUpdate, any updated components will be added to the
343
- // dirty_components array and will cause a reentrant call to flush(). Because
344
- // the flush index is kept outside the function, the reentrant call will pick
345
- // up where the earlier call left off and go through all dirty components. The
346
- // current_component value is saved and restored so that the reentrant call will
347
- // not interfere with the "parent" flush() call.
348
- // 2. bind:this callbacks cannot trigger new flush() calls.
349
- // 3. During afterUpdate, any updated components will NOT have their afterUpdate
350
- // callback called a second time; the seen_callbacks set, outside the flush()
351
- // function, guarantees this behavior.
352
- const seen_callbacks = new Set();
353
- let flushidx = 0; // Do *not* move this inside the flush() function
354
- function flush() {
355
- // Do not reenter flush while dirty components are updated, as this can
356
- // result in an infinite loop. Instead, let the inner flush handle it.
357
- // Reentrancy is ok afterwards for bindings etc.
358
- if (flushidx !== 0) {
359
- return;
360
- }
361
- const saved_component = current_component;
362
- do {
363
- // first, call beforeUpdate functions
364
- // and update components
365
- try {
366
- while (flushidx < dirty_components.length) {
367
- const component = dirty_components[flushidx];
368
- flushidx++;
369
- set_current_component(component);
370
- update(component.$$);
371
- }
372
- }
373
- catch (e) {
374
- // reset dirty state to not end up in a deadlocked state and then rethrow
375
- dirty_components.length = 0;
376
- flushidx = 0;
377
- throw e;
378
- }
379
- set_current_component(null);
380
- dirty_components.length = 0;
381
- flushidx = 0;
382
- while (binding_callbacks.length)
383
- binding_callbacks.pop()();
384
- // then, once components are updated, call
385
- // afterUpdate functions. This may cause
386
- // subsequent updates...
387
- for (let i = 0; i < render_callbacks.length; i += 1) {
388
- const callback = render_callbacks[i];
389
- if (!seen_callbacks.has(callback)) {
390
- // ...so guard against infinite loops
391
- seen_callbacks.add(callback);
392
- callback();
393
- }
394
- }
395
- render_callbacks.length = 0;
396
- } while (dirty_components.length);
397
- while (flush_callbacks.length) {
398
- flush_callbacks.pop()();
399
- }
400
- update_scheduled = false;
401
- seen_callbacks.clear();
402
- set_current_component(saved_component);
403
- }
404
- function update($$) {
405
- if ($$.fragment !== null) {
406
- $$.update();
407
- run_all($$.before_update);
408
- const dirty = $$.dirty;
409
- $$.dirty = [-1];
410
- $$.fragment && $$.fragment.p($$.ctx, dirty);
411
- $$.after_update.forEach(add_render_callback);
412
- }
413
- }
414
- const outroing = new Set();
415
- let outros;
416
- function group_outros() {
417
- outros = {
418
- r: 0,
419
- c: [],
420
- p: outros // parent group
421
- };
422
- }
423
- function check_outros() {
424
- if (!outros.r) {
425
- run_all(outros.c);
426
- }
427
- outros = outros.p;
428
- }
429
- function transition_in(block, local) {
430
- if (block && block.i) {
431
- outroing.delete(block);
432
- block.i(local);
433
- }
434
- }
435
- function transition_out(block, local, detach, callback) {
436
- if (block && block.o) {
437
- if (outroing.has(block))
438
- return;
439
- outroing.add(block);
440
- outros.c.push(() => {
441
- outroing.delete(block);
442
- if (callback) {
443
- if (detach)
444
- block.d(1);
445
- callback();
446
- }
447
- });
448
- block.o(local);
449
- }
450
- else if (callback) {
451
- callback();
452
- }
453
- }
454
- function create_component(block) {
455
- block && block.c();
456
- }
457
- function claim_component(block, parent_nodes) {
458
- block && block.l(parent_nodes);
459
- }
460
- function mount_component(component, target, anchor, customElement) {
461
- const { fragment, after_update } = component.$$;
462
- fragment && fragment.m(target, anchor);
463
- if (!customElement) {
464
- // onMount happens before the initial afterUpdate
465
- add_render_callback(() => {
466
- const new_on_destroy = component.$$.on_mount.map(run).filter(is_function);
467
- // if the component was destroyed immediately
468
- // it will update the `$$.on_destroy` reference to `null`.
469
- // the destructured on_destroy may still reference to the old array
470
- if (component.$$.on_destroy) {
471
- component.$$.on_destroy.push(...new_on_destroy);
472
- }
473
- else {
474
- // Edge case - component was destroyed immediately,
475
- // most likely as a result of a binding initialising
476
- run_all(new_on_destroy);
477
- }
478
- component.$$.on_mount = [];
479
- });
480
- }
481
- after_update.forEach(add_render_callback);
482
- }
483
- function destroy_component(component, detaching) {
484
- const $$ = component.$$;
485
- if ($$.fragment !== null) {
486
- run_all($$.on_destroy);
487
- $$.fragment && $$.fragment.d(detaching);
488
- // TODO null out other refs, including component.$$ (but need to
489
- // preserve final state?)
490
- $$.on_destroy = $$.fragment = null;
491
- $$.ctx = [];
492
- }
493
- }
494
- function make_dirty(component, i) {
495
- if (component.$$.dirty[0] === -1) {
496
- dirty_components.push(component);
497
- schedule_update();
498
- component.$$.dirty.fill(0);
499
- }
500
- component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));
501
- }
502
- function init(component, options, instance, create_fragment, not_equal, props, append_styles, dirty = [-1]) {
503
- const parent_component = current_component;
504
- set_current_component(component);
505
- const $$ = component.$$ = {
506
- fragment: null,
507
- ctx: [],
508
- // state
509
- props,
510
- update: noop,
511
- not_equal,
512
- bound: blank_object(),
513
- // lifecycle
514
- on_mount: [],
515
- on_destroy: [],
516
- on_disconnect: [],
517
- before_update: [],
518
- after_update: [],
519
- context: new Map(options.context || (parent_component ? parent_component.$$.context : [])),
520
- // everything else
521
- callbacks: blank_object(),
522
- dirty,
523
- skip_bound: false,
524
- root: options.target || parent_component.$$.root
525
- };
526
- append_styles && append_styles($$.root);
527
- let ready = false;
528
- $$.ctx = instance
529
- ? instance(component, options.props || {}, (i, ret, ...rest) => {
530
- const value = rest.length ? rest[0] : ret;
531
- if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {
532
- if (!$$.skip_bound && $$.bound[i])
533
- $$.bound[i](value);
534
- if (ready)
535
- make_dirty(component, i);
536
- }
537
- return ret;
538
- })
539
- : [];
540
- $$.update();
541
- ready = true;
542
- run_all($$.before_update);
543
- // `false` as a special case of no DOM component
544
- $$.fragment = create_fragment ? create_fragment($$.ctx) : false;
545
- if (options.target) {
546
- if (options.hydrate) {
547
- start_hydrating();
548
- const nodes = children(options.target);
549
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
550
- $$.fragment && $$.fragment.l(nodes);
551
- nodes.forEach(detach);
552
- }
553
- else {
554
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
555
- $$.fragment && $$.fragment.c();
556
- }
557
- if (options.intro)
558
- transition_in(component.$$.fragment);
559
- mount_component(component, options.target, options.anchor, options.customElement);
560
- end_hydrating();
561
- flush();
562
- }
563
- set_current_component(parent_component);
564
- }
565
- /**
566
- * Base class for Svelte components. Used when dev=false.
567
- */
568
- class SvelteComponent {
569
- $destroy() {
570
- destroy_component(this, 1);
571
- this.$destroy = noop;
572
- }
573
- $on(type, callback) {
574
- if (!is_function(callback)) {
575
- return noop;
576
- }
577
- const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));
578
- callbacks.push(callback);
579
- return () => {
580
- const index = callbacks.indexOf(callback);
581
- if (index !== -1)
582
- callbacks.splice(index, 1);
583
- };
584
- }
585
- $set($$props) {
586
- if (this.$$set && !is_empty($$props)) {
587
- this.$$.skip_bound = true;
588
- this.$$set($$props);
589
- this.$$.skip_bound = false;
590
- }
591
- }
592
- }
593
-
594
- /* src/AssistantBlock.svelte generated by Svelte v3.55.1 */
595
-
596
- function add_css$3(target) {
597
- append_styles(target, "svelte-1e3mbn4", ".model.svelte-1e3mbn4.svelte-1e3mbn4{fill:var(--logo)}.no-model.svelte-1e3mbn4.svelte-1e3mbn4{fill:var(--G3)}.model-border.svelte-1e3mbn4.svelte-1e3mbn4{border:1px solid var(--logo)}.no-model-border.svelte-1e3mbn4.svelte-1e3mbn4{border:1px solid rgba(224, 224, 224, 1)}.box.svelte-1e3mbn4.svelte-1e3mbn4{margin-top:10px;margin-bottom:10px;display:flex;align-items:start}.box.svelte-1e3mbn4 svg.svelte-1e3mbn4{min-width:24px;width:24px;margin-right:10px;margin-top:7px}.chat.svelte-1e3mbn4.svelte-1e3mbn4{border-radius:5px;margin:0px;padding:10px;overflow-wrap:anywhere}");
598
- }
599
-
600
- function create_fragment$3(ctx) {
601
- let div;
602
- let svg;
603
- let path;
604
- let svg_class_value;
605
- let t0;
606
- let p;
607
- let t1;
608
- let p_class_value;
609
-
610
- return {
611
- c() {
612
- div = element("div");
613
- svg = svg_element("svg");
614
- path = svg_element("path");
615
- t0 = space();
616
- p = element("p");
617
- t1 = text(/*input*/ ctx[0]);
618
- this.h();
619
- },
620
- l(nodes) {
621
- div = claim_element(nodes, "DIV", { class: true });
622
- var div_nodes = children(div);
623
- svg = claim_svg_element(div_nodes, "svg", { xmlns: true, viewBox: true, class: true });
624
- var svg_nodes = children(svg);
625
- path = claim_svg_element(svg_nodes, "path", { d: true });
626
- children(path).forEach(detach);
627
- svg_nodes.forEach(detach);
628
- t0 = claim_space(div_nodes);
629
- p = claim_element(div_nodes, "P", { class: true });
630
- var p_nodes = children(p);
631
- t1 = claim_text(p_nodes, /*input*/ ctx[0]);
632
- p_nodes.forEach(detach);
633
- div_nodes.forEach(detach);
634
- this.h();
635
- },
636
- h() {
637
- attr(path, "d", "M320 0c17.7 0 32 14.3 32 32V96H472c39.8 0 72 32.2 72 72V440c0 39.8-32.2 72-72 72H168c-39.8 0-72-32.2-72-72V168c0-39.8 32.2-72 72-72H288V32c0-17.7 14.3-32 32-32zM208 384c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H208zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H304zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H400zM264 256a40 40 0 1 0 -80 0 40 40 0 1 0 80 0zm152 40a40 40 0 1 0 0-80 40 40 0 1 0 0 80zM48 224H64V416H48c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48zm544 0c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H576V224h16z");
638
- attr(svg, "xmlns", "http://www.w3.org/2000/svg");
639
- attr(svg, "viewBox", "0 0 640 512");
640
- attr(svg, "class", svg_class_value = "" + (null_to_empty(/*output*/ ctx[1] ? "model" : "no-model") + " svelte-1e3mbn4"));
641
- attr(p, "class", p_class_value = "chat " + (/*output*/ ctx[1] ? 'model-border' : 'no-model-border') + " svelte-1e3mbn4");
642
- attr(div, "class", "box svelte-1e3mbn4");
643
- },
644
- m(target, anchor) {
645
- insert_hydration(target, div, anchor);
646
- append_hydration(div, svg);
647
- append_hydration(svg, path);
648
- append_hydration(div, t0);
649
- append_hydration(div, p);
650
- append_hydration(p, t1);
651
- },
652
- p(ctx, [dirty]) {
653
- if (dirty & /*output*/ 2 && svg_class_value !== (svg_class_value = "" + (null_to_empty(/*output*/ ctx[1] ? "model" : "no-model") + " svelte-1e3mbn4"))) {
654
- attr(svg, "class", svg_class_value);
655
- }
656
-
657
- if (dirty & /*input*/ 1) set_data(t1, /*input*/ ctx[0]);
658
-
659
- if (dirty & /*output*/ 2 && p_class_value !== (p_class_value = "chat " + (/*output*/ ctx[1] ? 'model-border' : 'no-model-border') + " svelte-1e3mbn4")) {
660
- attr(p, "class", p_class_value);
661
- }
662
- },
663
- i: noop,
664
- o: noop,
665
- d(detaching) {
666
- if (detaching) detach(div);
667
- }
668
- };
669
- }
670
-
671
- function instance$3($$self, $$props, $$invalidate) {
672
- let { input } = $$props;
673
- let { output = false } = $$props;
674
-
675
- $$self.$$set = $$props => {
676
- if ('input' in $$props) $$invalidate(0, input = $$props.input);
677
- if ('output' in $$props) $$invalidate(1, output = $$props.output);
678
- };
679
-
680
- return [input, output];
681
- }
682
-
683
- class AssistantBlock extends SvelteComponent {
684
- constructor(options) {
685
- super();
686
- init(this, options, instance$3, create_fragment$3, safe_not_equal, { input: 0, output: 1 }, add_css$3);
687
- }
688
- }
689
-
690
- /* src/SystemBlock.svelte generated by Svelte v3.55.1 */
691
-
692
- function add_css$2(target) {
693
- append_styles(target, "svelte-18o0ab2", "p.svelte-18o0ab2{margin:0px}");
694
- }
695
-
696
- function create_fragment$2(ctx) {
697
- let p;
698
- let b;
699
- let t0;
700
- let t1;
701
- let span;
702
- let t2;
703
-
704
- return {
705
- c() {
706
- p = element("p");
707
- b = element("b");
708
- t0 = text("System:");
709
- t1 = space();
710
- span = element("span");
711
- t2 = text(/*input*/ ctx[0]);
712
- this.h();
713
- },
714
- l(nodes) {
715
- p = claim_element(nodes, "P", { class: true });
716
- var p_nodes = children(p);
717
- b = claim_element(p_nodes, "B", {});
718
- var b_nodes = children(b);
719
- t0 = claim_text(b_nodes, "System:");
720
- b_nodes.forEach(detach);
721
- t1 = claim_space(p_nodes);
722
- span = claim_element(p_nodes, "SPAN", {});
723
- var span_nodes = children(span);
724
- t2 = claim_text(span_nodes, /*input*/ ctx[0]);
725
- span_nodes.forEach(detach);
726
- p_nodes.forEach(detach);
727
- this.h();
728
- },
729
- h() {
730
- attr(p, "class", "svelte-18o0ab2");
731
- },
732
- m(target, anchor) {
733
- insert_hydration(target, p, anchor);
734
- append_hydration(p, b);
735
- append_hydration(b, t0);
736
- append_hydration(p, t1);
737
- append_hydration(p, span);
738
- append_hydration(span, t2);
739
- },
740
- p(ctx, [dirty]) {
741
- if (dirty & /*input*/ 1) set_data(t2, /*input*/ ctx[0]);
742
- },
743
- i: noop,
744
- o: noop,
745
- d(detaching) {
746
- if (detaching) detach(p);
747
- }
748
- };
749
- }
750
-
751
- function instance$2($$self, $$props, $$invalidate) {
752
- let { input } = $$props;
753
-
754
- $$self.$$set = $$props => {
755
- if ('input' in $$props) $$invalidate(0, input = $$props.input);
756
- };
757
-
758
- return [input];
759
- }
760
-
761
- class SystemBlock extends SvelteComponent {
762
- constructor(options) {
763
- super();
764
- init(this, options, instance$2, create_fragment$2, safe_not_equal, { input: 0 }, add_css$2);
765
- }
766
- }
767
-
768
- /* src/UserBlock.svelte generated by Svelte v3.55.1 */
769
-
770
- function add_css$1(target) {
771
- append_styles(target, "svelte-1lys9p1", ".box.svelte-1lys9p1.svelte-1lys9p1{margin-top:10px;margin-bottom:10px;display:flex;align-items:start}.box.svelte-1lys9p1 svg.svelte-1lys9p1{min-width:24px;width:24px;margin-right:10px;margin-top:7px;fill:var(--G3)}.chat.svelte-1lys9p1.svelte-1lys9p1{border:1px solid rgba(224, 224, 224, 1);border-radius:5px;margin:0px;padding:10px;overflow-wrap:anywhere}");
772
- }
773
-
774
- function create_fragment$1(ctx) {
775
- let div;
776
- let svg;
777
- let path;
778
- let t0;
779
- let p;
780
- let t1;
781
-
782
- return {
783
- c() {
784
- div = element("div");
785
- svg = svg_element("svg");
786
- path = svg_element("path");
787
- t0 = space();
788
- p = element("p");
789
- t1 = text(/*input*/ ctx[0]);
790
- this.h();
791
- },
792
- l(nodes) {
793
- div = claim_element(nodes, "DIV", { class: true });
794
- var div_nodes = children(div);
795
- svg = claim_svg_element(div_nodes, "svg", { xmlns: true, viewBox: true, class: true });
796
- var svg_nodes = children(svg);
797
- path = claim_svg_element(svg_nodes, "path", { d: true });
798
- children(path).forEach(detach);
799
- svg_nodes.forEach(detach);
800
- t0 = claim_space(div_nodes);
801
- p = claim_element(div_nodes, "P", { class: true });
802
- var p_nodes = children(p);
803
- t1 = claim_text(p_nodes, /*input*/ ctx[0]);
804
- p_nodes.forEach(detach);
805
- div_nodes.forEach(detach);
806
- this.h();
807
- },
808
- h() {
809
- attr(path, "d", "M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z");
810
- attr(svg, "xmlns", "http://www.w3.org/2000/svg");
811
- attr(svg, "viewBox", "0 0 448 512");
812
- attr(svg, "class", "svelte-1lys9p1");
813
- attr(p, "class", "chat svelte-1lys9p1");
814
- attr(div, "class", "box svelte-1lys9p1");
815
- },
816
- m(target, anchor) {
817
- insert_hydration(target, div, anchor);
818
- append_hydration(div, svg);
819
- append_hydration(svg, path);
820
- append_hydration(div, t0);
821
- append_hydration(div, p);
822
- append_hydration(p, t1);
823
- },
824
- p(ctx, [dirty]) {
825
- if (dirty & /*input*/ 1) set_data(t1, /*input*/ ctx[0]);
826
- },
827
- i: noop,
828
- o: noop,
829
- d(detaching) {
830
- if (detaching) detach(div);
831
- }
832
- };
833
- }
834
-
835
- function instance$1($$self, $$props, $$invalidate) {
836
- let { input } = $$props;
837
-
838
- $$self.$$set = $$props => {
839
- if ('input' in $$props) $$invalidate(0, input = $$props.input);
840
- };
841
-
842
- return [input];
843
- }
844
-
845
- class UserBlock extends SvelteComponent {
846
- constructor(options) {
847
- super();
848
- init(this, options, instance$1, create_fragment$1, safe_not_equal, { input: 0 }, add_css$1);
849
- }
850
- }
851
-
852
- /* src/InstanceView.svelte generated by Svelte v3.55.1 */
853
-
854
- function add_css(target) {
855
- append_styles(target, "svelte-eoma5v", "#container.svelte-eoma5v{border:0.5px solid rgb(224, 224, 224);min-width:350px;border-radius:2px;padding:10px}.label.svelte-eoma5v{margin-right:5px;font-weight:700}p.svelte-eoma5v{margin:5px;overflow-wrap:anywhere}");
856
- }
857
-
858
- function get_each_context(ctx, list, i) {
859
- const child_ctx = ctx.slice();
860
- child_ctx[6] = list[i];
861
- return child_ctx;
862
- }
863
-
864
- // (21:2) {#if entry[dataColumn]}
865
- function create_if_block_2(ctx) {
866
- let current_block_type_index;
867
- let if_block;
868
- let if_block_anchor;
869
- let current;
870
- const if_block_creators = [create_if_block_3, create_else_block];
871
- const if_blocks = [];
872
-
873
- function select_block_type(ctx, dirty) {
874
- if (typeof /*entry*/ ctx[0][/*dataColumn*/ ctx[3]] === "string") return 0;
875
- return 1;
876
- }
877
-
878
- current_block_type_index = select_block_type(ctx);
879
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
880
-
881
- return {
882
- c() {
883
- if_block.c();
884
- if_block_anchor = empty();
885
- },
886
- l(nodes) {
887
- if_block.l(nodes);
888
- if_block_anchor = empty();
889
- },
890
- m(target, anchor) {
891
- if_blocks[current_block_type_index].m(target, anchor);
892
- insert_hydration(target, if_block_anchor, anchor);
893
- current = true;
894
- },
895
- p(ctx, dirty) {
896
- let previous_block_index = current_block_type_index;
897
- current_block_type_index = select_block_type(ctx);
898
-
899
- if (current_block_type_index === previous_block_index) {
900
- if_blocks[current_block_type_index].p(ctx, dirty);
901
- } else {
902
- group_outros();
903
-
904
- transition_out(if_blocks[previous_block_index], 1, 1, () => {
905
- if_blocks[previous_block_index] = null;
906
- });
907
-
908
- check_outros();
909
- if_block = if_blocks[current_block_type_index];
910
-
911
- if (!if_block) {
912
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
913
- if_block.c();
914
- } else {
915
- if_block.p(ctx, dirty);
916
- }
917
-
918
- transition_in(if_block, 1);
919
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
920
- }
921
- },
922
- i(local) {
923
- if (current) return;
924
- transition_in(if_block);
925
- current = true;
926
- },
927
- o(local) {
928
- transition_out(if_block);
929
- current = false;
930
- },
931
- d(detaching) {
932
- if_blocks[current_block_type_index].d(detaching);
933
- if (detaching) detach(if_block_anchor);
934
- }
935
- };
936
- }
937
-
938
- // (24:4) {:else}
939
- function create_else_block(ctx) {
940
- let each_1_anchor;
941
- let current;
942
- let each_value = /*entry*/ ctx[0][/*dataColumn*/ ctx[3]];
943
- let each_blocks = [];
944
-
945
- for (let i = 0; i < each_value.length; i += 1) {
946
- each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
947
- }
948
-
949
- const out = i => transition_out(each_blocks[i], 1, 1, () => {
950
- each_blocks[i] = null;
951
- });
952
-
953
- return {
954
- c() {
955
- for (let i = 0; i < each_blocks.length; i += 1) {
956
- each_blocks[i].c();
957
- }
958
-
959
- each_1_anchor = empty();
960
- },
961
- l(nodes) {
962
- for (let i = 0; i < each_blocks.length; i += 1) {
963
- each_blocks[i].l(nodes);
964
- }
965
-
966
- each_1_anchor = empty();
967
- },
968
- m(target, anchor) {
969
- for (let i = 0; i < each_blocks.length; i += 1) {
970
- each_blocks[i].m(target, anchor);
971
- }
972
-
973
- insert_hydration(target, each_1_anchor, anchor);
974
- current = true;
975
- },
976
- p(ctx, dirty) {
977
- if (dirty & /*entry, dataColumn*/ 9) {
978
- each_value = /*entry*/ ctx[0][/*dataColumn*/ ctx[3]];
979
- let i;
980
-
981
- for (i = 0; i < each_value.length; i += 1) {
982
- const child_ctx = get_each_context(ctx, each_value, i);
983
-
984
- if (each_blocks[i]) {
985
- each_blocks[i].p(child_ctx, dirty);
986
- transition_in(each_blocks[i], 1);
987
- } else {
988
- each_blocks[i] = create_each_block(child_ctx);
989
- each_blocks[i].c();
990
- transition_in(each_blocks[i], 1);
991
- each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
992
- }
993
- }
994
-
995
- group_outros();
996
-
997
- for (i = each_value.length; i < each_blocks.length; i += 1) {
998
- out(i);
999
- }
1000
-
1001
- check_outros();
1002
- }
1003
- },
1004
- i(local) {
1005
- if (current) return;
1006
-
1007
- for (let i = 0; i < each_value.length; i += 1) {
1008
- transition_in(each_blocks[i]);
1009
- }
1010
-
1011
- current = true;
1012
- },
1013
- o(local) {
1014
- each_blocks = each_blocks.filter(Boolean);
1015
-
1016
- for (let i = 0; i < each_blocks.length; i += 1) {
1017
- transition_out(each_blocks[i]);
1018
- }
1019
-
1020
- current = false;
1021
- },
1022
- d(detaching) {
1023
- destroy_each(each_blocks, detaching);
1024
- if (detaching) detach(each_1_anchor);
1025
- }
1026
- };
1027
- }
1028
-
1029
- // (22:4) {#if typeof entry[dataColumn] === "string"}
1030
- function create_if_block_3(ctx) {
1031
- let userblock;
1032
- let current;
1033
-
1034
- userblock = new UserBlock({
1035
- props: {
1036
- input: /*entry*/ ctx[0][/*dataColumn*/ ctx[3]]
1037
- }
1038
- });
1039
-
1040
- return {
1041
- c() {
1042
- create_component(userblock.$$.fragment);
1043
- },
1044
- l(nodes) {
1045
- claim_component(userblock.$$.fragment, nodes);
1046
- },
1047
- m(target, anchor) {
1048
- mount_component(userblock, target, anchor);
1049
- current = true;
1050
- },
1051
- p(ctx, dirty) {
1052
- const userblock_changes = {};
1053
- if (dirty & /*entry, dataColumn*/ 9) userblock_changes.input = /*entry*/ ctx[0][/*dataColumn*/ ctx[3]];
1054
- userblock.$set(userblock_changes);
1055
- },
1056
- i(local) {
1057
- if (current) return;
1058
- transition_in(userblock.$$.fragment, local);
1059
- current = true;
1060
- },
1061
- o(local) {
1062
- transition_out(userblock.$$.fragment, local);
1063
- current = false;
1064
- },
1065
- d(detaching) {
1066
- destroy_component(userblock, detaching);
1067
- }
1068
- };
1069
- }
1070
-
1071
- // (30:42)
1072
- function create_if_block_6(ctx) {
1073
- let userblock;
1074
- let current;
1075
-
1076
- userblock = new UserBlock({
1077
- props: { input: /*item*/ ctx[6]["content"] }
1078
- });
1079
-
1080
- return {
1081
- c() {
1082
- create_component(userblock.$$.fragment);
1083
- },
1084
- l(nodes) {
1085
- claim_component(userblock.$$.fragment, nodes);
1086
- },
1087
- m(target, anchor) {
1088
- mount_component(userblock, target, anchor);
1089
- current = true;
1090
- },
1091
- p(ctx, dirty) {
1092
- const userblock_changes = {};
1093
- if (dirty & /*entry, dataColumn*/ 9) userblock_changes.input = /*item*/ ctx[6]["content"];
1094
- userblock.$set(userblock_changes);
1095
- },
1096
- i(local) {
1097
- if (current) return;
1098
- transition_in(userblock.$$.fragment, local);
1099
- current = true;
1100
- },
1101
- o(local) {
1102
- transition_out(userblock.$$.fragment, local);
1103
- current = false;
1104
- },
1105
- d(detaching) {
1106
- destroy_component(userblock, detaching);
1107
- }
1108
- };
1109
- }
1110
-
1111
- // (28:47)
1112
- function create_if_block_5(ctx) {
1113
- let assistantblock;
1114
- let current;
1115
-
1116
- assistantblock = new AssistantBlock({
1117
- props: { input: /*item*/ ctx[6]["content"] }
1118
- });
1119
-
1120
- return {
1121
- c() {
1122
- create_component(assistantblock.$$.fragment);
1123
- },
1124
- l(nodes) {
1125
- claim_component(assistantblock.$$.fragment, nodes);
1126
- },
1127
- m(target, anchor) {
1128
- mount_component(assistantblock, target, anchor);
1129
- current = true;
1130
- },
1131
- p(ctx, dirty) {
1132
- const assistantblock_changes = {};
1133
- if (dirty & /*entry, dataColumn*/ 9) assistantblock_changes.input = /*item*/ ctx[6]["content"];
1134
- assistantblock.$set(assistantblock_changes);
1135
- },
1136
- i(local) {
1137
- if (current) return;
1138
- transition_in(assistantblock.$$.fragment, local);
1139
- current = true;
1140
- },
1141
- o(local) {
1142
- transition_out(assistantblock.$$.fragment, local);
1143
- current = false;
1144
- },
1145
- d(detaching) {
1146
- destroy_component(assistantblock, detaching);
1147
- }
1148
- };
1149
- }
1150
-
1151
- // (26:8) {#if item["role"] === "system"}
1152
- function create_if_block_4(ctx) {
1153
- let systemblock;
1154
- let current;
1155
-
1156
- systemblock = new SystemBlock({
1157
- props: { input: /*item*/ ctx[6]["content"] }
1158
- });
1159
-
1160
- return {
1161
- c() {
1162
- create_component(systemblock.$$.fragment);
1163
- },
1164
- l(nodes) {
1165
- claim_component(systemblock.$$.fragment, nodes);
1166
- },
1167
- m(target, anchor) {
1168
- mount_component(systemblock, target, anchor);
1169
- current = true;
1170
- },
1171
- p(ctx, dirty) {
1172
- const systemblock_changes = {};
1173
- if (dirty & /*entry, dataColumn*/ 9) systemblock_changes.input = /*item*/ ctx[6]["content"];
1174
- systemblock.$set(systemblock_changes);
1175
- },
1176
- i(local) {
1177
- if (current) return;
1178
- transition_in(systemblock.$$.fragment, local);
1179
- current = true;
1180
- },
1181
- o(local) {
1182
- transition_out(systemblock.$$.fragment, local);
1183
- current = false;
1184
- },
1185
- d(detaching) {
1186
- destroy_component(systemblock, detaching);
1187
- }
1188
- };
1189
- }
1190
-
1191
- // (25:6) {#each entry[dataColumn] as item}
1192
- function create_each_block(ctx) {
1193
- let current_block_type_index;
1194
- let if_block;
1195
- let if_block_anchor;
1196
- let current;
1197
- const if_block_creators = [create_if_block_4, create_if_block_5, create_if_block_6];
1198
- const if_blocks = [];
1199
-
1200
- function select_block_type_1(ctx, dirty) {
1201
- if (/*item*/ ctx[6]["role"] === "system") return 0;
1202
- if (/*item*/ ctx[6]["role"] === "assistant") return 1;
1203
- if (/*item*/ ctx[6]["role"] === "user") return 2;
1204
- return -1;
1205
- }
1206
-
1207
- if (~(current_block_type_index = select_block_type_1(ctx))) {
1208
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
1209
- }
1210
-
1211
- return {
1212
- c() {
1213
- if (if_block) if_block.c();
1214
- if_block_anchor = empty();
1215
- },
1216
- l(nodes) {
1217
- if (if_block) if_block.l(nodes);
1218
- if_block_anchor = empty();
1219
- },
1220
- m(target, anchor) {
1221
- if (~current_block_type_index) {
1222
- if_blocks[current_block_type_index].m(target, anchor);
1223
- }
1224
-
1225
- insert_hydration(target, if_block_anchor, anchor);
1226
- current = true;
1227
- },
1228
- p(ctx, dirty) {
1229
- let previous_block_index = current_block_type_index;
1230
- current_block_type_index = select_block_type_1(ctx);
1231
-
1232
- if (current_block_type_index === previous_block_index) {
1233
- if (~current_block_type_index) {
1234
- if_blocks[current_block_type_index].p(ctx, dirty);
1235
- }
1236
- } else {
1237
- if (if_block) {
1238
- group_outros();
1239
-
1240
- transition_out(if_blocks[previous_block_index], 1, 1, () => {
1241
- if_blocks[previous_block_index] = null;
1242
- });
1243
-
1244
- check_outros();
1245
- }
1246
-
1247
- if (~current_block_type_index) {
1248
- if_block = if_blocks[current_block_type_index];
1249
-
1250
- if (!if_block) {
1251
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
1252
- if_block.c();
1253
- } else {
1254
- if_block.p(ctx, dirty);
1255
- }
1256
-
1257
- transition_in(if_block, 1);
1258
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
1259
- } else {
1260
- if_block = null;
1261
- }
1262
- }
1263
- },
1264
- i(local) {
1265
- if (current) return;
1266
- transition_in(if_block);
1267
- current = true;
1268
- },
1269
- o(local) {
1270
- transition_out(if_block);
1271
- current = false;
1272
- },
1273
- d(detaching) {
1274
- if (~current_block_type_index) {
1275
- if_blocks[current_block_type_index].d(detaching);
1276
- }
1277
-
1278
- if (detaching) detach(if_block_anchor);
1279
- }
1280
- };
1281
- }
1282
-
1283
- // (36:2) {#if entry[modelColumn]}
1284
- function create_if_block_1(ctx) {
1285
- let assistantblock;
1286
- let current;
1287
-
1288
- assistantblock = new AssistantBlock({
1289
- props: {
1290
- input: /*entry*/ ctx[0][/*modelColumn*/ ctx[1]],
1291
- output: true
1292
- }
1293
- });
1294
-
1295
- return {
1296
- c() {
1297
- create_component(assistantblock.$$.fragment);
1298
- },
1299
- l(nodes) {
1300
- claim_component(assistantblock.$$.fragment, nodes);
1301
- },
1302
- m(target, anchor) {
1303
- mount_component(assistantblock, target, anchor);
1304
- current = true;
1305
- },
1306
- p(ctx, dirty) {
1307
- const assistantblock_changes = {};
1308
- if (dirty & /*entry, modelColumn*/ 3) assistantblock_changes.input = /*entry*/ ctx[0][/*modelColumn*/ ctx[1]];
1309
- assistantblock.$set(assistantblock_changes);
1310
- },
1311
- i(local) {
1312
- if (current) return;
1313
- transition_in(assistantblock.$$.fragment, local);
1314
- current = true;
1315
- },
1316
- o(local) {
1317
- transition_out(assistantblock.$$.fragment, local);
1318
- current = false;
1319
- },
1320
- d(detaching) {
1321
- destroy_component(assistantblock, detaching);
1322
- }
1323
- };
1324
- }
1325
-
1326
- // (39:2) {#if entry[labelColumn]}
1327
- function create_if_block(ctx) {
1328
- let p;
1329
- let span;
1330
- let t0;
1331
- let t1;
1332
- let t2_value = /*entry*/ ctx[0][/*labelColumn*/ ctx[2]] + "";
1333
- let t2;
1334
-
1335
- return {
1336
- c() {
1337
- p = element("p");
1338
- span = element("span");
1339
- t0 = text("Expected:");
1340
- t1 = space();
1341
- t2 = text(t2_value);
1342
- this.h();
1343
- },
1344
- l(nodes) {
1345
- p = claim_element(nodes, "P", { class: true });
1346
- var p_nodes = children(p);
1347
- span = claim_element(p_nodes, "SPAN", { class: true });
1348
- var span_nodes = children(span);
1349
- t0 = claim_text(span_nodes, "Expected:");
1350
- span_nodes.forEach(detach);
1351
- t1 = claim_space(p_nodes);
1352
- t2 = claim_text(p_nodes, t2_value);
1353
- p_nodes.forEach(detach);
1354
- this.h();
1355
- },
1356
- h() {
1357
- attr(span, "class", "label svelte-eoma5v");
1358
- attr(p, "class", "svelte-eoma5v");
1359
- },
1360
- m(target, anchor) {
1361
- insert_hydration(target, p, anchor);
1362
- append_hydration(p, span);
1363
- append_hydration(span, t0);
1364
- append_hydration(p, t1);
1365
- append_hydration(p, t2);
1366
- },
1367
- p(ctx, dirty) {
1368
- if (dirty & /*entry, labelColumn*/ 5 && t2_value !== (t2_value = /*entry*/ ctx[0][/*labelColumn*/ ctx[2]] + "")) set_data(t2, t2_value);
1369
- },
1370
- d(detaching) {
1371
- if (detaching) detach(p);
1372
- }
1373
- };
1374
- }
1375
-
1376
- function create_fragment(ctx) {
1377
- let div;
1378
- let t0;
1379
- let t1;
1380
- let current;
1381
- let if_block0 = /*entry*/ ctx[0][/*dataColumn*/ ctx[3]] && create_if_block_2(ctx);
1382
- let if_block1 = /*entry*/ ctx[0][/*modelColumn*/ ctx[1]] && create_if_block_1(ctx);
1383
- let if_block2 = /*entry*/ ctx[0][/*labelColumn*/ ctx[2]] && create_if_block(ctx);
1384
-
1385
- return {
1386
- c() {
1387
- div = element("div");
1388
- if (if_block0) if_block0.c();
1389
- t0 = space();
1390
- if (if_block1) if_block1.c();
1391
- t1 = space();
1392
- if (if_block2) if_block2.c();
1393
- this.h();
1394
- },
1395
- l(nodes) {
1396
- div = claim_element(nodes, "DIV", { id: true, class: true });
1397
- var div_nodes = children(div);
1398
- if (if_block0) if_block0.l(div_nodes);
1399
- t0 = claim_space(div_nodes);
1400
- if (if_block1) if_block1.l(div_nodes);
1401
- t1 = claim_space(div_nodes);
1402
- if (if_block2) if_block2.l(div_nodes);
1403
- div_nodes.forEach(detach);
1404
- this.h();
1405
- },
1406
- h() {
1407
- attr(div, "id", "container");
1408
- attr(div, "class", "svelte-eoma5v");
1409
- },
1410
- m(target, anchor) {
1411
- insert_hydration(target, div, anchor);
1412
- if (if_block0) if_block0.m(div, null);
1413
- append_hydration(div, t0);
1414
- if (if_block1) if_block1.m(div, null);
1415
- append_hydration(div, t1);
1416
- if (if_block2) if_block2.m(div, null);
1417
- current = true;
1418
- },
1419
- p(ctx, [dirty]) {
1420
- if (/*entry*/ ctx[0][/*dataColumn*/ ctx[3]]) {
1421
- if (if_block0) {
1422
- if_block0.p(ctx, dirty);
1423
-
1424
- if (dirty & /*entry, dataColumn*/ 9) {
1425
- transition_in(if_block0, 1);
1426
- }
1427
- } else {
1428
- if_block0 = create_if_block_2(ctx);
1429
- if_block0.c();
1430
- transition_in(if_block0, 1);
1431
- if_block0.m(div, t0);
1432
- }
1433
- } else if (if_block0) {
1434
- group_outros();
1435
-
1436
- transition_out(if_block0, 1, 1, () => {
1437
- if_block0 = null;
1438
- });
1439
-
1440
- check_outros();
1441
- }
1442
-
1443
- if (/*entry*/ ctx[0][/*modelColumn*/ ctx[1]]) {
1444
- if (if_block1) {
1445
- if_block1.p(ctx, dirty);
1446
-
1447
- if (dirty & /*entry, modelColumn*/ 3) {
1448
- transition_in(if_block1, 1);
1449
- }
1450
- } else {
1451
- if_block1 = create_if_block_1(ctx);
1452
- if_block1.c();
1453
- transition_in(if_block1, 1);
1454
- if_block1.m(div, t1);
1455
- }
1456
- } else if (if_block1) {
1457
- group_outros();
1458
-
1459
- transition_out(if_block1, 1, 1, () => {
1460
- if_block1 = null;
1461
- });
1462
-
1463
- check_outros();
1464
- }
1465
-
1466
- if (/*entry*/ ctx[0][/*labelColumn*/ ctx[2]]) {
1467
- if (if_block2) {
1468
- if_block2.p(ctx, dirty);
1469
- } else {
1470
- if_block2 = create_if_block(ctx);
1471
- if_block2.c();
1472
- if_block2.m(div, null);
1473
- }
1474
- } else if (if_block2) {
1475
- if_block2.d(1);
1476
- if_block2 = null;
1477
- }
1478
- },
1479
- i(local) {
1480
- if (current) return;
1481
- transition_in(if_block0);
1482
- transition_in(if_block1);
1483
- current = true;
1484
- },
1485
- o(local) {
1486
- transition_out(if_block0);
1487
- transition_out(if_block1);
1488
- current = false;
1489
- },
1490
- d(detaching) {
1491
- if (detaching) detach(div);
1492
- if (if_block0) if_block0.d();
1493
- if (if_block1) if_block1.d();
1494
- if (if_block2) if_block2.d();
1495
- }
1496
- };
1497
- }
1498
-
1499
- function instance($$self, $$props, $$invalidate) {
1500
- let { options } = $$props;
1501
- let { entry } = $$props;
1502
- let { modelColumn } = $$props;
1503
- let { labelColumn } = $$props;
1504
- let { dataColumn } = $$props;
1505
- let { idColumn } = $$props;
1506
-
1507
- $$self.$$set = $$props => {
1508
- if ('options' in $$props) $$invalidate(4, options = $$props.options);
1509
- if ('entry' in $$props) $$invalidate(0, entry = $$props.entry);
1510
- if ('modelColumn' in $$props) $$invalidate(1, modelColumn = $$props.modelColumn);
1511
- if ('labelColumn' in $$props) $$invalidate(2, labelColumn = $$props.labelColumn);
1512
- if ('dataColumn' in $$props) $$invalidate(3, dataColumn = $$props.dataColumn);
1513
- if ('idColumn' in $$props) $$invalidate(5, idColumn = $$props.idColumn);
1514
- };
1515
-
1516
- return [entry, modelColumn, labelColumn, dataColumn, options, idColumn];
1517
- }
1518
-
1519
- class InstanceView extends SvelteComponent {
1520
- constructor(options) {
1521
- super();
1522
-
1523
- init(
1524
- this,
1525
- options,
1526
- instance,
1527
- create_fragment,
1528
- safe_not_equal,
1529
- {
1530
- options: 4,
1531
- entry: 0,
1532
- modelColumn: 1,
1533
- labelColumn: 2,
1534
- dataColumn: 3,
1535
- idColumn: 5
1536
- },
1537
- add_css
1538
- );
1539
- }
1540
- }
1541
-
1542
- function getInstance(
1543
- div,
1544
- viewOptions,
1545
- entry,
1546
- modelColumn,
1547
- labelColumn,
1548
- dataColumn,
1549
- idColumn
1550
- ) {
1551
- new InstanceView({
1552
- target: div,
1553
- props: {
1554
- entry: entry,
1555
- viewOptions: viewOptions,
1556
- modelColumn: modelColumn,
1557
- labelColumn: labelColumn,
1558
- dataColumn: dataColumn,
1559
- idColumn: idColumn,
1560
- },
1561
- hydrate: true,
1562
- });
1563
- }
1564
-
1565
- // export function getOptions(div, setOptions) {
1566
- // new OptionsView({
1567
- // target: div,
1568
- // props: {
1569
- // setOptions,
1570
- // },
1571
- // });
1572
- // }
1573
-
1574
- export { getInstance };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
evals/.zeno_cache_partially_solved_crossword_clues/OUTPUTgpt-3_5-turbo-0301.pickle DELETED
Binary file (5.94 kB)
 
evals/.zeno_cache_partially_solved_crossword_clues/OUTPUTgpt-3_5-turbo.pickle DELETED
Binary file (5.94 kB)
 
evals/.zeno_cache_partially_solved_crossword_clues/POSTDISTILLcorrectgpt-3_5-turbo-0301.pickle DELETED
Binary file (5.16 kB)
 
evals/.zeno_cache_partially_solved_crossword_clues/POSTDISTILLcorrectgpt-3_5-turbo.pickle DELETED
Binary file (5.16 kB)
 
evals/.zeno_cache_partially_solved_crossword_clues/PREDISTILLanswer_length.pickle DELETED
Binary file (5.25 kB)
 
evals/.zeno_cache_partially_solved_crossword_clues/PREDISTILLnumber_of_blanks.pickle DELETED
Binary file (5.25 kB)
 
evals/.zeno_cache_partially_solved_crossword_clues/PREDISTILLword_freq.pickle DELETED
Binary file (5.95 kB)
 
evals/.zeno_cache_partially_solved_crossword_clues/folders.pickle DELETED
@@ -1 +0,0 @@
1
- �]�.
 
 
evals/.zeno_cache_partially_solved_crossword_clues/reports.pickle DELETED
@@ -1 +0,0 @@
1
- �]�.
 
 
evals/.zeno_cache_partially_solved_crossword_clues/view.mjs DELETED
@@ -1,1574 +0,0 @@
1
- function noop() { }
2
- function run(fn) {
3
- return fn();
4
- }
5
- function blank_object() {
6
- return Object.create(null);
7
- }
8
- function run_all(fns) {
9
- fns.forEach(run);
10
- }
11
- function is_function(thing) {
12
- return typeof thing === 'function';
13
- }
14
- function safe_not_equal(a, b) {
15
- return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');
16
- }
17
- function is_empty(obj) {
18
- return Object.keys(obj).length === 0;
19
- }
20
- function null_to_empty(value) {
21
- return value == null ? '' : value;
22
- }
23
-
24
- // Track which nodes are claimed during hydration. Unclaimed nodes can then be removed from the DOM
25
- // at the end of hydration without touching the remaining nodes.
26
- let is_hydrating = false;
27
- function start_hydrating() {
28
- is_hydrating = true;
29
- }
30
- function end_hydrating() {
31
- is_hydrating = false;
32
- }
33
- function upper_bound(low, high, key, value) {
34
- // Return first index of value larger than input value in the range [low, high)
35
- while (low < high) {
36
- const mid = low + ((high - low) >> 1);
37
- if (key(mid) <= value) {
38
- low = mid + 1;
39
- }
40
- else {
41
- high = mid;
42
- }
43
- }
44
- return low;
45
- }
46
- function init_hydrate(target) {
47
- if (target.hydrate_init)
48
- return;
49
- target.hydrate_init = true;
50
- // We know that all children have claim_order values since the unclaimed have been detached if target is not <head>
51
- let children = target.childNodes;
52
- // If target is <head>, there may be children without claim_order
53
- if (target.nodeName === 'HEAD') {
54
- const myChildren = [];
55
- for (let i = 0; i < children.length; i++) {
56
- const node = children[i];
57
- if (node.claim_order !== undefined) {
58
- myChildren.push(node);
59
- }
60
- }
61
- children = myChildren;
62
- }
63
- /*
64
- * Reorder claimed children optimally.
65
- * We can reorder claimed children optimally by finding the longest subsequence of
66
- * nodes that are already claimed in order and only moving the rest. The longest
67
- * subsequence of nodes that are claimed in order can be found by
68
- * computing the longest increasing subsequence of .claim_order values.
69
- *
70
- * This algorithm is optimal in generating the least amount of reorder operations
71
- * possible.
72
- *
73
- * Proof:
74
- * We know that, given a set of reordering operations, the nodes that do not move
75
- * always form an increasing subsequence, since they do not move among each other
76
- * meaning that they must be already ordered among each other. Thus, the maximal
77
- * set of nodes that do not move form a longest increasing subsequence.
78
- */
79
- // Compute longest increasing subsequence
80
- // m: subsequence length j => index k of smallest value that ends an increasing subsequence of length j
81
- const m = new Int32Array(children.length + 1);
82
- // Predecessor indices + 1
83
- const p = new Int32Array(children.length);
84
- m[0] = -1;
85
- let longest = 0;
86
- for (let i = 0; i < children.length; i++) {
87
- const current = children[i].claim_order;
88
- // Find the largest subsequence length such that it ends in a value less than our current value
89
- // upper_bound returns first greater value, so we subtract one
90
- // with fast path for when we are on the current longest subsequence
91
- const seqLen = ((longest > 0 && children[m[longest]].claim_order <= current) ? longest + 1 : upper_bound(1, longest, idx => children[m[idx]].claim_order, current)) - 1;
92
- p[i] = m[seqLen] + 1;
93
- const newLen = seqLen + 1;
94
- // We can guarantee that current is the smallest value. Otherwise, we would have generated a longer sequence.
95
- m[newLen] = i;
96
- longest = Math.max(newLen, longest);
97
- }
98
- // The longest increasing subsequence of nodes (initially reversed)
99
- const lis = [];
100
- // The rest of the nodes, nodes that will be moved
101
- const toMove = [];
102
- let last = children.length - 1;
103
- for (let cur = m[longest] + 1; cur != 0; cur = p[cur - 1]) {
104
- lis.push(children[cur - 1]);
105
- for (; last >= cur; last--) {
106
- toMove.push(children[last]);
107
- }
108
- last--;
109
- }
110
- for (; last >= 0; last--) {
111
- toMove.push(children[last]);
112
- }
113
- lis.reverse();
114
- // We sort the nodes being moved to guarantee that their insertion order matches the claim order
115
- toMove.sort((a, b) => a.claim_order - b.claim_order);
116
- // Finally, we move the nodes
117
- for (let i = 0, j = 0; i < toMove.length; i++) {
118
- while (j < lis.length && toMove[i].claim_order >= lis[j].claim_order) {
119
- j++;
120
- }
121
- const anchor = j < lis.length ? lis[j] : null;
122
- target.insertBefore(toMove[i], anchor);
123
- }
124
- }
125
- function append(target, node) {
126
- target.appendChild(node);
127
- }
128
- function append_styles(target, style_sheet_id, styles) {
129
- const append_styles_to = get_root_for_style(target);
130
- if (!append_styles_to.getElementById(style_sheet_id)) {
131
- const style = element('style');
132
- style.id = style_sheet_id;
133
- style.textContent = styles;
134
- append_stylesheet(append_styles_to, style);
135
- }
136
- }
137
- function get_root_for_style(node) {
138
- if (!node)
139
- return document;
140
- const root = node.getRootNode ? node.getRootNode() : node.ownerDocument;
141
- if (root && root.host) {
142
- return root;
143
- }
144
- return node.ownerDocument;
145
- }
146
- function append_stylesheet(node, style) {
147
- append(node.head || node, style);
148
- return style.sheet;
149
- }
150
- function append_hydration(target, node) {
151
- if (is_hydrating) {
152
- init_hydrate(target);
153
- if ((target.actual_end_child === undefined) || ((target.actual_end_child !== null) && (target.actual_end_child.parentNode !== target))) {
154
- target.actual_end_child = target.firstChild;
155
- }
156
- // Skip nodes of undefined ordering
157
- while ((target.actual_end_child !== null) && (target.actual_end_child.claim_order === undefined)) {
158
- target.actual_end_child = target.actual_end_child.nextSibling;
159
- }
160
- if (node !== target.actual_end_child) {
161
- // We only insert if the ordering of this node should be modified or the parent node is not target
162
- if (node.claim_order !== undefined || node.parentNode !== target) {
163
- target.insertBefore(node, target.actual_end_child);
164
- }
165
- }
166
- else {
167
- target.actual_end_child = node.nextSibling;
168
- }
169
- }
170
- else if (node.parentNode !== target || node.nextSibling !== null) {
171
- target.appendChild(node);
172
- }
173
- }
174
- function insert_hydration(target, node, anchor) {
175
- if (is_hydrating && !anchor) {
176
- append_hydration(target, node);
177
- }
178
- else if (node.parentNode !== target || node.nextSibling != anchor) {
179
- target.insertBefore(node, anchor || null);
180
- }
181
- }
182
- function detach(node) {
183
- if (node.parentNode) {
184
- node.parentNode.removeChild(node);
185
- }
186
- }
187
- function destroy_each(iterations, detaching) {
188
- for (let i = 0; i < iterations.length; i += 1) {
189
- if (iterations[i])
190
- iterations[i].d(detaching);
191
- }
192
- }
193
- function element(name) {
194
- return document.createElement(name);
195
- }
196
- function svg_element(name) {
197
- return document.createElementNS('http://www.w3.org/2000/svg', name);
198
- }
199
- function text(data) {
200
- return document.createTextNode(data);
201
- }
202
- function space() {
203
- return text(' ');
204
- }
205
- function empty() {
206
- return text('');
207
- }
208
- function attr(node, attribute, value) {
209
- if (value == null)
210
- node.removeAttribute(attribute);
211
- else if (node.getAttribute(attribute) !== value)
212
- node.setAttribute(attribute, value);
213
- }
214
- function children(element) {
215
- return Array.from(element.childNodes);
216
- }
217
- function init_claim_info(nodes) {
218
- if (nodes.claim_info === undefined) {
219
- nodes.claim_info = { last_index: 0, total_claimed: 0 };
220
- }
221
- }
222
- function claim_node(nodes, predicate, processNode, createNode, dontUpdateLastIndex = false) {
223
- // Try to find nodes in an order such that we lengthen the longest increasing subsequence
224
- init_claim_info(nodes);
225
- const resultNode = (() => {
226
- // We first try to find an element after the previous one
227
- for (let i = nodes.claim_info.last_index; i < nodes.length; i++) {
228
- const node = nodes[i];
229
- if (predicate(node)) {
230
- const replacement = processNode(node);
231
- if (replacement === undefined) {
232
- nodes.splice(i, 1);
233
- }
234
- else {
235
- nodes[i] = replacement;
236
- }
237
- if (!dontUpdateLastIndex) {
238
- nodes.claim_info.last_index = i;
239
- }
240
- return node;
241
- }
242
- }
243
- // Otherwise, we try to find one before
244
- // We iterate in reverse so that we don't go too far back
245
- for (let i = nodes.claim_info.last_index - 1; i >= 0; i--) {
246
- const node = nodes[i];
247
- if (predicate(node)) {
248
- const replacement = processNode(node);
249
- if (replacement === undefined) {
250
- nodes.splice(i, 1);
251
- }
252
- else {
253
- nodes[i] = replacement;
254
- }
255
- if (!dontUpdateLastIndex) {
256
- nodes.claim_info.last_index = i;
257
- }
258
- else if (replacement === undefined) {
259
- // Since we spliced before the last_index, we decrease it
260
- nodes.claim_info.last_index--;
261
- }
262
- return node;
263
- }
264
- }
265
- // If we can't find any matching node, we create a new one
266
- return createNode();
267
- })();
268
- resultNode.claim_order = nodes.claim_info.total_claimed;
269
- nodes.claim_info.total_claimed += 1;
270
- return resultNode;
271
- }
272
- function claim_element_base(nodes, name, attributes, create_element) {
273
- return claim_node(nodes, (node) => node.nodeName === name, (node) => {
274
- const remove = [];
275
- for (let j = 0; j < node.attributes.length; j++) {
276
- const attribute = node.attributes[j];
277
- if (!attributes[attribute.name]) {
278
- remove.push(attribute.name);
279
- }
280
- }
281
- remove.forEach(v => node.removeAttribute(v));
282
- return undefined;
283
- }, () => create_element(name));
284
- }
285
- function claim_element(nodes, name, attributes) {
286
- return claim_element_base(nodes, name, attributes, element);
287
- }
288
- function claim_svg_element(nodes, name, attributes) {
289
- return claim_element_base(nodes, name, attributes, svg_element);
290
- }
291
- function claim_text(nodes, data) {
292
- return claim_node(nodes, (node) => node.nodeType === 3, (node) => {
293
- const dataStr = '' + data;
294
- if (node.data.startsWith(dataStr)) {
295
- if (node.data.length !== dataStr.length) {
296
- return node.splitText(dataStr.length);
297
- }
298
- }
299
- else {
300
- node.data = dataStr;
301
- }
302
- }, () => text(data), true // Text nodes should not update last index since it is likely not worth it to eliminate an increasing subsequence of actual elements
303
- );
304
- }
305
- function claim_space(nodes) {
306
- return claim_text(nodes, ' ');
307
- }
308
- function set_data(text, data) {
309
- data = '' + data;
310
- if (text.wholeText !== data)
311
- text.data = data;
312
- }
313
-
314
- let current_component;
315
- function set_current_component(component) {
316
- current_component = component;
317
- }
318
-
319
- const dirty_components = [];
320
- const binding_callbacks = [];
321
- const render_callbacks = [];
322
- const flush_callbacks = [];
323
- const resolved_promise = Promise.resolve();
324
- let update_scheduled = false;
325
- function schedule_update() {
326
- if (!update_scheduled) {
327
- update_scheduled = true;
328
- resolved_promise.then(flush);
329
- }
330
- }
331
- function add_render_callback(fn) {
332
- render_callbacks.push(fn);
333
- }
334
- // flush() calls callbacks in this order:
335
- // 1. All beforeUpdate callbacks, in order: parents before children
336
- // 2. All bind:this callbacks, in reverse order: children before parents.
337
- // 3. All afterUpdate callbacks, in order: parents before children. EXCEPT
338
- // for afterUpdates called during the initial onMount, which are called in
339
- // reverse order: children before parents.
340
- // Since callbacks might update component values, which could trigger another
341
- // call to flush(), the following steps guard against this:
342
- // 1. During beforeUpdate, any updated components will be added to the
343
- // dirty_components array and will cause a reentrant call to flush(). Because
344
- // the flush index is kept outside the function, the reentrant call will pick
345
- // up where the earlier call left off and go through all dirty components. The
346
- // current_component value is saved and restored so that the reentrant call will
347
- // not interfere with the "parent" flush() call.
348
- // 2. bind:this callbacks cannot trigger new flush() calls.
349
- // 3. During afterUpdate, any updated components will NOT have their afterUpdate
350
- // callback called a second time; the seen_callbacks set, outside the flush()
351
- // function, guarantees this behavior.
352
- const seen_callbacks = new Set();
353
- let flushidx = 0; // Do *not* move this inside the flush() function
354
- function flush() {
355
- // Do not reenter flush while dirty components are updated, as this can
356
- // result in an infinite loop. Instead, let the inner flush handle it.
357
- // Reentrancy is ok afterwards for bindings etc.
358
- if (flushidx !== 0) {
359
- return;
360
- }
361
- const saved_component = current_component;
362
- do {
363
- // first, call beforeUpdate functions
364
- // and update components
365
- try {
366
- while (flushidx < dirty_components.length) {
367
- const component = dirty_components[flushidx];
368
- flushidx++;
369
- set_current_component(component);
370
- update(component.$$);
371
- }
372
- }
373
- catch (e) {
374
- // reset dirty state to not end up in a deadlocked state and then rethrow
375
- dirty_components.length = 0;
376
- flushidx = 0;
377
- throw e;
378
- }
379
- set_current_component(null);
380
- dirty_components.length = 0;
381
- flushidx = 0;
382
- while (binding_callbacks.length)
383
- binding_callbacks.pop()();
384
- // then, once components are updated, call
385
- // afterUpdate functions. This may cause
386
- // subsequent updates...
387
- for (let i = 0; i < render_callbacks.length; i += 1) {
388
- const callback = render_callbacks[i];
389
- if (!seen_callbacks.has(callback)) {
390
- // ...so guard against infinite loops
391
- seen_callbacks.add(callback);
392
- callback();
393
- }
394
- }
395
- render_callbacks.length = 0;
396
- } while (dirty_components.length);
397
- while (flush_callbacks.length) {
398
- flush_callbacks.pop()();
399
- }
400
- update_scheduled = false;
401
- seen_callbacks.clear();
402
- set_current_component(saved_component);
403
- }
404
- function update($$) {
405
- if ($$.fragment !== null) {
406
- $$.update();
407
- run_all($$.before_update);
408
- const dirty = $$.dirty;
409
- $$.dirty = [-1];
410
- $$.fragment && $$.fragment.p($$.ctx, dirty);
411
- $$.after_update.forEach(add_render_callback);
412
- }
413
- }
414
- const outroing = new Set();
415
- let outros;
416
- function group_outros() {
417
- outros = {
418
- r: 0,
419
- c: [],
420
- p: outros // parent group
421
- };
422
- }
423
- function check_outros() {
424
- if (!outros.r) {
425
- run_all(outros.c);
426
- }
427
- outros = outros.p;
428
- }
429
- function transition_in(block, local) {
430
- if (block && block.i) {
431
- outroing.delete(block);
432
- block.i(local);
433
- }
434
- }
435
- function transition_out(block, local, detach, callback) {
436
- if (block && block.o) {
437
- if (outroing.has(block))
438
- return;
439
- outroing.add(block);
440
- outros.c.push(() => {
441
- outroing.delete(block);
442
- if (callback) {
443
- if (detach)
444
- block.d(1);
445
- callback();
446
- }
447
- });
448
- block.o(local);
449
- }
450
- else if (callback) {
451
- callback();
452
- }
453
- }
454
- function create_component(block) {
455
- block && block.c();
456
- }
457
- function claim_component(block, parent_nodes) {
458
- block && block.l(parent_nodes);
459
- }
460
- function mount_component(component, target, anchor, customElement) {
461
- const { fragment, after_update } = component.$$;
462
- fragment && fragment.m(target, anchor);
463
- if (!customElement) {
464
- // onMount happens before the initial afterUpdate
465
- add_render_callback(() => {
466
- const new_on_destroy = component.$$.on_mount.map(run).filter(is_function);
467
- // if the component was destroyed immediately
468
- // it will update the `$$.on_destroy` reference to `null`.
469
- // the destructured on_destroy may still reference to the old array
470
- if (component.$$.on_destroy) {
471
- component.$$.on_destroy.push(...new_on_destroy);
472
- }
473
- else {
474
- // Edge case - component was destroyed immediately,
475
- // most likely as a result of a binding initialising
476
- run_all(new_on_destroy);
477
- }
478
- component.$$.on_mount = [];
479
- });
480
- }
481
- after_update.forEach(add_render_callback);
482
- }
483
- function destroy_component(component, detaching) {
484
- const $$ = component.$$;
485
- if ($$.fragment !== null) {
486
- run_all($$.on_destroy);
487
- $$.fragment && $$.fragment.d(detaching);
488
- // TODO null out other refs, including component.$$ (but need to
489
- // preserve final state?)
490
- $$.on_destroy = $$.fragment = null;
491
- $$.ctx = [];
492
- }
493
- }
494
- function make_dirty(component, i) {
495
- if (component.$$.dirty[0] === -1) {
496
- dirty_components.push(component);
497
- schedule_update();
498
- component.$$.dirty.fill(0);
499
- }
500
- component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));
501
- }
502
- function init(component, options, instance, create_fragment, not_equal, props, append_styles, dirty = [-1]) {
503
- const parent_component = current_component;
504
- set_current_component(component);
505
- const $$ = component.$$ = {
506
- fragment: null,
507
- ctx: [],
508
- // state
509
- props,
510
- update: noop,
511
- not_equal,
512
- bound: blank_object(),
513
- // lifecycle
514
- on_mount: [],
515
- on_destroy: [],
516
- on_disconnect: [],
517
- before_update: [],
518
- after_update: [],
519
- context: new Map(options.context || (parent_component ? parent_component.$$.context : [])),
520
- // everything else
521
- callbacks: blank_object(),
522
- dirty,
523
- skip_bound: false,
524
- root: options.target || parent_component.$$.root
525
- };
526
- append_styles && append_styles($$.root);
527
- let ready = false;
528
- $$.ctx = instance
529
- ? instance(component, options.props || {}, (i, ret, ...rest) => {
530
- const value = rest.length ? rest[0] : ret;
531
- if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {
532
- if (!$$.skip_bound && $$.bound[i])
533
- $$.bound[i](value);
534
- if (ready)
535
- make_dirty(component, i);
536
- }
537
- return ret;
538
- })
539
- : [];
540
- $$.update();
541
- ready = true;
542
- run_all($$.before_update);
543
- // `false` as a special case of no DOM component
544
- $$.fragment = create_fragment ? create_fragment($$.ctx) : false;
545
- if (options.target) {
546
- if (options.hydrate) {
547
- start_hydrating();
548
- const nodes = children(options.target);
549
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
550
- $$.fragment && $$.fragment.l(nodes);
551
- nodes.forEach(detach);
552
- }
553
- else {
554
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
555
- $$.fragment && $$.fragment.c();
556
- }
557
- if (options.intro)
558
- transition_in(component.$$.fragment);
559
- mount_component(component, options.target, options.anchor, options.customElement);
560
- end_hydrating();
561
- flush();
562
- }
563
- set_current_component(parent_component);
564
- }
565
- /**
566
- * Base class for Svelte components. Used when dev=false.
567
- */
568
- class SvelteComponent {
569
- $destroy() {
570
- destroy_component(this, 1);
571
- this.$destroy = noop;
572
- }
573
- $on(type, callback) {
574
- if (!is_function(callback)) {
575
- return noop;
576
- }
577
- const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));
578
- callbacks.push(callback);
579
- return () => {
580
- const index = callbacks.indexOf(callback);
581
- if (index !== -1)
582
- callbacks.splice(index, 1);
583
- };
584
- }
585
- $set($$props) {
586
- if (this.$$set && !is_empty($$props)) {
587
- this.$$.skip_bound = true;
588
- this.$$set($$props);
589
- this.$$.skip_bound = false;
590
- }
591
- }
592
- }
593
-
594
- /* src/AssistantBlock.svelte generated by Svelte v3.55.1 */
595
-
596
- function add_css$3(target) {
597
- append_styles(target, "svelte-1e3mbn4", ".model.svelte-1e3mbn4.svelte-1e3mbn4{fill:var(--logo)}.no-model.svelte-1e3mbn4.svelte-1e3mbn4{fill:var(--G3)}.model-border.svelte-1e3mbn4.svelte-1e3mbn4{border:1px solid var(--logo)}.no-model-border.svelte-1e3mbn4.svelte-1e3mbn4{border:1px solid rgba(224, 224, 224, 1)}.box.svelte-1e3mbn4.svelte-1e3mbn4{margin-top:10px;margin-bottom:10px;display:flex;align-items:start}.box.svelte-1e3mbn4 svg.svelte-1e3mbn4{min-width:24px;width:24px;margin-right:10px;margin-top:7px}.chat.svelte-1e3mbn4.svelte-1e3mbn4{border-radius:5px;margin:0px;padding:10px;overflow-wrap:anywhere}");
598
- }
599
-
600
- function create_fragment$3(ctx) {
601
- let div;
602
- let svg;
603
- let path;
604
- let svg_class_value;
605
- let t0;
606
- let p;
607
- let t1;
608
- let p_class_value;
609
-
610
- return {
611
- c() {
612
- div = element("div");
613
- svg = svg_element("svg");
614
- path = svg_element("path");
615
- t0 = space();
616
- p = element("p");
617
- t1 = text(/*input*/ ctx[0]);
618
- this.h();
619
- },
620
- l(nodes) {
621
- div = claim_element(nodes, "DIV", { class: true });
622
- var div_nodes = children(div);
623
- svg = claim_svg_element(div_nodes, "svg", { xmlns: true, viewBox: true, class: true });
624
- var svg_nodes = children(svg);
625
- path = claim_svg_element(svg_nodes, "path", { d: true });
626
- children(path).forEach(detach);
627
- svg_nodes.forEach(detach);
628
- t0 = claim_space(div_nodes);
629
- p = claim_element(div_nodes, "P", { class: true });
630
- var p_nodes = children(p);
631
- t1 = claim_text(p_nodes, /*input*/ ctx[0]);
632
- p_nodes.forEach(detach);
633
- div_nodes.forEach(detach);
634
- this.h();
635
- },
636
- h() {
637
- attr(path, "d", "M320 0c17.7 0 32 14.3 32 32V96H472c39.8 0 72 32.2 72 72V440c0 39.8-32.2 72-72 72H168c-39.8 0-72-32.2-72-72V168c0-39.8 32.2-72 72-72H288V32c0-17.7 14.3-32 32-32zM208 384c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H208zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H304zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H400zM264 256a40 40 0 1 0 -80 0 40 40 0 1 0 80 0zm152 40a40 40 0 1 0 0-80 40 40 0 1 0 0 80zM48 224H64V416H48c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48zm544 0c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H576V224h16z");
638
- attr(svg, "xmlns", "http://www.w3.org/2000/svg");
639
- attr(svg, "viewBox", "0 0 640 512");
640
- attr(svg, "class", svg_class_value = "" + (null_to_empty(/*output*/ ctx[1] ? "model" : "no-model") + " svelte-1e3mbn4"));
641
- attr(p, "class", p_class_value = "chat " + (/*output*/ ctx[1] ? 'model-border' : 'no-model-border') + " svelte-1e3mbn4");
642
- attr(div, "class", "box svelte-1e3mbn4");
643
- },
644
- m(target, anchor) {
645
- insert_hydration(target, div, anchor);
646
- append_hydration(div, svg);
647
- append_hydration(svg, path);
648
- append_hydration(div, t0);
649
- append_hydration(div, p);
650
- append_hydration(p, t1);
651
- },
652
- p(ctx, [dirty]) {
653
- if (dirty & /*output*/ 2 && svg_class_value !== (svg_class_value = "" + (null_to_empty(/*output*/ ctx[1] ? "model" : "no-model") + " svelte-1e3mbn4"))) {
654
- attr(svg, "class", svg_class_value);
655
- }
656
-
657
- if (dirty & /*input*/ 1) set_data(t1, /*input*/ ctx[0]);
658
-
659
- if (dirty & /*output*/ 2 && p_class_value !== (p_class_value = "chat " + (/*output*/ ctx[1] ? 'model-border' : 'no-model-border') + " svelte-1e3mbn4")) {
660
- attr(p, "class", p_class_value);
661
- }
662
- },
663
- i: noop,
664
- o: noop,
665
- d(detaching) {
666
- if (detaching) detach(div);
667
- }
668
- };
669
- }
670
-
671
- function instance$3($$self, $$props, $$invalidate) {
672
- let { input } = $$props;
673
- let { output = false } = $$props;
674
-
675
- $$self.$$set = $$props => {
676
- if ('input' in $$props) $$invalidate(0, input = $$props.input);
677
- if ('output' in $$props) $$invalidate(1, output = $$props.output);
678
- };
679
-
680
- return [input, output];
681
- }
682
-
683
- class AssistantBlock extends SvelteComponent {
684
- constructor(options) {
685
- super();
686
- init(this, options, instance$3, create_fragment$3, safe_not_equal, { input: 0, output: 1 }, add_css$3);
687
- }
688
- }
689
-
690
- /* src/SystemBlock.svelte generated by Svelte v3.55.1 */
691
-
692
- function add_css$2(target) {
693
- append_styles(target, "svelte-18o0ab2", "p.svelte-18o0ab2{margin:0px}");
694
- }
695
-
696
- function create_fragment$2(ctx) {
697
- let p;
698
- let b;
699
- let t0;
700
- let t1;
701
- let span;
702
- let t2;
703
-
704
- return {
705
- c() {
706
- p = element("p");
707
- b = element("b");
708
- t0 = text("System:");
709
- t1 = space();
710
- span = element("span");
711
- t2 = text(/*input*/ ctx[0]);
712
- this.h();
713
- },
714
- l(nodes) {
715
- p = claim_element(nodes, "P", { class: true });
716
- var p_nodes = children(p);
717
- b = claim_element(p_nodes, "B", {});
718
- var b_nodes = children(b);
719
- t0 = claim_text(b_nodes, "System:");
720
- b_nodes.forEach(detach);
721
- t1 = claim_space(p_nodes);
722
- span = claim_element(p_nodes, "SPAN", {});
723
- var span_nodes = children(span);
724
- t2 = claim_text(span_nodes, /*input*/ ctx[0]);
725
- span_nodes.forEach(detach);
726
- p_nodes.forEach(detach);
727
- this.h();
728
- },
729
- h() {
730
- attr(p, "class", "svelte-18o0ab2");
731
- },
732
- m(target, anchor) {
733
- insert_hydration(target, p, anchor);
734
- append_hydration(p, b);
735
- append_hydration(b, t0);
736
- append_hydration(p, t1);
737
- append_hydration(p, span);
738
- append_hydration(span, t2);
739
- },
740
- p(ctx, [dirty]) {
741
- if (dirty & /*input*/ 1) set_data(t2, /*input*/ ctx[0]);
742
- },
743
- i: noop,
744
- o: noop,
745
- d(detaching) {
746
- if (detaching) detach(p);
747
- }
748
- };
749
- }
750
-
751
- function instance$2($$self, $$props, $$invalidate) {
752
- let { input } = $$props;
753
-
754
- $$self.$$set = $$props => {
755
- if ('input' in $$props) $$invalidate(0, input = $$props.input);
756
- };
757
-
758
- return [input];
759
- }
760
-
761
- class SystemBlock extends SvelteComponent {
762
- constructor(options) {
763
- super();
764
- init(this, options, instance$2, create_fragment$2, safe_not_equal, { input: 0 }, add_css$2);
765
- }
766
- }
767
-
768
- /* src/UserBlock.svelte generated by Svelte v3.55.1 */
769
-
770
- function add_css$1(target) {
771
- append_styles(target, "svelte-1lys9p1", ".box.svelte-1lys9p1.svelte-1lys9p1{margin-top:10px;margin-bottom:10px;display:flex;align-items:start}.box.svelte-1lys9p1 svg.svelte-1lys9p1{min-width:24px;width:24px;margin-right:10px;margin-top:7px;fill:var(--G3)}.chat.svelte-1lys9p1.svelte-1lys9p1{border:1px solid rgba(224, 224, 224, 1);border-radius:5px;margin:0px;padding:10px;overflow-wrap:anywhere}");
772
- }
773
-
774
- function create_fragment$1(ctx) {
775
- let div;
776
- let svg;
777
- let path;
778
- let t0;
779
- let p;
780
- let t1;
781
-
782
- return {
783
- c() {
784
- div = element("div");
785
- svg = svg_element("svg");
786
- path = svg_element("path");
787
- t0 = space();
788
- p = element("p");
789
- t1 = text(/*input*/ ctx[0]);
790
- this.h();
791
- },
792
- l(nodes) {
793
- div = claim_element(nodes, "DIV", { class: true });
794
- var div_nodes = children(div);
795
- svg = claim_svg_element(div_nodes, "svg", { xmlns: true, viewBox: true, class: true });
796
- var svg_nodes = children(svg);
797
- path = claim_svg_element(svg_nodes, "path", { d: true });
798
- children(path).forEach(detach);
799
- svg_nodes.forEach(detach);
800
- t0 = claim_space(div_nodes);
801
- p = claim_element(div_nodes, "P", { class: true });
802
- var p_nodes = children(p);
803
- t1 = claim_text(p_nodes, /*input*/ ctx[0]);
804
- p_nodes.forEach(detach);
805
- div_nodes.forEach(detach);
806
- this.h();
807
- },
808
- h() {
809
- attr(path, "d", "M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z");
810
- attr(svg, "xmlns", "http://www.w3.org/2000/svg");
811
- attr(svg, "viewBox", "0 0 448 512");
812
- attr(svg, "class", "svelte-1lys9p1");
813
- attr(p, "class", "chat svelte-1lys9p1");
814
- attr(div, "class", "box svelte-1lys9p1");
815
- },
816
- m(target, anchor) {
817
- insert_hydration(target, div, anchor);
818
- append_hydration(div, svg);
819
- append_hydration(svg, path);
820
- append_hydration(div, t0);
821
- append_hydration(div, p);
822
- append_hydration(p, t1);
823
- },
824
- p(ctx, [dirty]) {
825
- if (dirty & /*input*/ 1) set_data(t1, /*input*/ ctx[0]);
826
- },
827
- i: noop,
828
- o: noop,
829
- d(detaching) {
830
- if (detaching) detach(div);
831
- }
832
- };
833
- }
834
-
835
- function instance$1($$self, $$props, $$invalidate) {
836
- let { input } = $$props;
837
-
838
- $$self.$$set = $$props => {
839
- if ('input' in $$props) $$invalidate(0, input = $$props.input);
840
- };
841
-
842
- return [input];
843
- }
844
-
845
- class UserBlock extends SvelteComponent {
846
- constructor(options) {
847
- super();
848
- init(this, options, instance$1, create_fragment$1, safe_not_equal, { input: 0 }, add_css$1);
849
- }
850
- }
851
-
852
- /* src/InstanceView.svelte generated by Svelte v3.55.1 */
853
-
854
- function add_css(target) {
855
- append_styles(target, "svelte-eoma5v", "#container.svelte-eoma5v{border:0.5px solid rgb(224, 224, 224);min-width:350px;border-radius:2px;padding:10px}.label.svelte-eoma5v{margin-right:5px;font-weight:700}p.svelte-eoma5v{margin:5px;overflow-wrap:anywhere}");
856
- }
857
-
858
- function get_each_context(ctx, list, i) {
859
- const child_ctx = ctx.slice();
860
- child_ctx[6] = list[i];
861
- return child_ctx;
862
- }
863
-
864
- // (21:2) {#if entry[dataColumn]}
865
- function create_if_block_2(ctx) {
866
- let current_block_type_index;
867
- let if_block;
868
- let if_block_anchor;
869
- let current;
870
- const if_block_creators = [create_if_block_3, create_else_block];
871
- const if_blocks = [];
872
-
873
- function select_block_type(ctx, dirty) {
874
- if (typeof /*entry*/ ctx[0][/*dataColumn*/ ctx[3]] === "string") return 0;
875
- return 1;
876
- }
877
-
878
- current_block_type_index = select_block_type(ctx);
879
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
880
-
881
- return {
882
- c() {
883
- if_block.c();
884
- if_block_anchor = empty();
885
- },
886
- l(nodes) {
887
- if_block.l(nodes);
888
- if_block_anchor = empty();
889
- },
890
- m(target, anchor) {
891
- if_blocks[current_block_type_index].m(target, anchor);
892
- insert_hydration(target, if_block_anchor, anchor);
893
- current = true;
894
- },
895
- p(ctx, dirty) {
896
- let previous_block_index = current_block_type_index;
897
- current_block_type_index = select_block_type(ctx);
898
-
899
- if (current_block_type_index === previous_block_index) {
900
- if_blocks[current_block_type_index].p(ctx, dirty);
901
- } else {
902
- group_outros();
903
-
904
- transition_out(if_blocks[previous_block_index], 1, 1, () => {
905
- if_blocks[previous_block_index] = null;
906
- });
907
-
908
- check_outros();
909
- if_block = if_blocks[current_block_type_index];
910
-
911
- if (!if_block) {
912
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
913
- if_block.c();
914
- } else {
915
- if_block.p(ctx, dirty);
916
- }
917
-
918
- transition_in(if_block, 1);
919
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
920
- }
921
- },
922
- i(local) {
923
- if (current) return;
924
- transition_in(if_block);
925
- current = true;
926
- },
927
- o(local) {
928
- transition_out(if_block);
929
- current = false;
930
- },
931
- d(detaching) {
932
- if_blocks[current_block_type_index].d(detaching);
933
- if (detaching) detach(if_block_anchor);
934
- }
935
- };
936
- }
937
-
938
- // (24:4) {:else}
939
- function create_else_block(ctx) {
940
- let each_1_anchor;
941
- let current;
942
- let each_value = /*entry*/ ctx[0][/*dataColumn*/ ctx[3]];
943
- let each_blocks = [];
944
-
945
- for (let i = 0; i < each_value.length; i += 1) {
946
- each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
947
- }
948
-
949
- const out = i => transition_out(each_blocks[i], 1, 1, () => {
950
- each_blocks[i] = null;
951
- });
952
-
953
- return {
954
- c() {
955
- for (let i = 0; i < each_blocks.length; i += 1) {
956
- each_blocks[i].c();
957
- }
958
-
959
- each_1_anchor = empty();
960
- },
961
- l(nodes) {
962
- for (let i = 0; i < each_blocks.length; i += 1) {
963
- each_blocks[i].l(nodes);
964
- }
965
-
966
- each_1_anchor = empty();
967
- },
968
- m(target, anchor) {
969
- for (let i = 0; i < each_blocks.length; i += 1) {
970
- each_blocks[i].m(target, anchor);
971
- }
972
-
973
- insert_hydration(target, each_1_anchor, anchor);
974
- current = true;
975
- },
976
- p(ctx, dirty) {
977
- if (dirty & /*entry, dataColumn*/ 9) {
978
- each_value = /*entry*/ ctx[0][/*dataColumn*/ ctx[3]];
979
- let i;
980
-
981
- for (i = 0; i < each_value.length; i += 1) {
982
- const child_ctx = get_each_context(ctx, each_value, i);
983
-
984
- if (each_blocks[i]) {
985
- each_blocks[i].p(child_ctx, dirty);
986
- transition_in(each_blocks[i], 1);
987
- } else {
988
- each_blocks[i] = create_each_block(child_ctx);
989
- each_blocks[i].c();
990
- transition_in(each_blocks[i], 1);
991
- each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
992
- }
993
- }
994
-
995
- group_outros();
996
-
997
- for (i = each_value.length; i < each_blocks.length; i += 1) {
998
- out(i);
999
- }
1000
-
1001
- check_outros();
1002
- }
1003
- },
1004
- i(local) {
1005
- if (current) return;
1006
-
1007
- for (let i = 0; i < each_value.length; i += 1) {
1008
- transition_in(each_blocks[i]);
1009
- }
1010
-
1011
- current = true;
1012
- },
1013
- o(local) {
1014
- each_blocks = each_blocks.filter(Boolean);
1015
-
1016
- for (let i = 0; i < each_blocks.length; i += 1) {
1017
- transition_out(each_blocks[i]);
1018
- }
1019
-
1020
- current = false;
1021
- },
1022
- d(detaching) {
1023
- destroy_each(each_blocks, detaching);
1024
- if (detaching) detach(each_1_anchor);
1025
- }
1026
- };
1027
- }
1028
-
1029
- // (22:4) {#if typeof entry[dataColumn] === "string"}
1030
- function create_if_block_3(ctx) {
1031
- let userblock;
1032
- let current;
1033
-
1034
- userblock = new UserBlock({
1035
- props: {
1036
- input: /*entry*/ ctx[0][/*dataColumn*/ ctx[3]]
1037
- }
1038
- });
1039
-
1040
- return {
1041
- c() {
1042
- create_component(userblock.$$.fragment);
1043
- },
1044
- l(nodes) {
1045
- claim_component(userblock.$$.fragment, nodes);
1046
- },
1047
- m(target, anchor) {
1048
- mount_component(userblock, target, anchor);
1049
- current = true;
1050
- },
1051
- p(ctx, dirty) {
1052
- const userblock_changes = {};
1053
- if (dirty & /*entry, dataColumn*/ 9) userblock_changes.input = /*entry*/ ctx[0][/*dataColumn*/ ctx[3]];
1054
- userblock.$set(userblock_changes);
1055
- },
1056
- i(local) {
1057
- if (current) return;
1058
- transition_in(userblock.$$.fragment, local);
1059
- current = true;
1060
- },
1061
- o(local) {
1062
- transition_out(userblock.$$.fragment, local);
1063
- current = false;
1064
- },
1065
- d(detaching) {
1066
- destroy_component(userblock, detaching);
1067
- }
1068
- };
1069
- }
1070
-
1071
- // (30:42)
1072
- function create_if_block_6(ctx) {
1073
- let userblock;
1074
- let current;
1075
-
1076
- userblock = new UserBlock({
1077
- props: { input: /*item*/ ctx[6]["content"] }
1078
- });
1079
-
1080
- return {
1081
- c() {
1082
- create_component(userblock.$$.fragment);
1083
- },
1084
- l(nodes) {
1085
- claim_component(userblock.$$.fragment, nodes);
1086
- },
1087
- m(target, anchor) {
1088
- mount_component(userblock, target, anchor);
1089
- current = true;
1090
- },
1091
- p(ctx, dirty) {
1092
- const userblock_changes = {};
1093
- if (dirty & /*entry, dataColumn*/ 9) userblock_changes.input = /*item*/ ctx[6]["content"];
1094
- userblock.$set(userblock_changes);
1095
- },
1096
- i(local) {
1097
- if (current) return;
1098
- transition_in(userblock.$$.fragment, local);
1099
- current = true;
1100
- },
1101
- o(local) {
1102
- transition_out(userblock.$$.fragment, local);
1103
- current = false;
1104
- },
1105
- d(detaching) {
1106
- destroy_component(userblock, detaching);
1107
- }
1108
- };
1109
- }
1110
-
1111
- // (28:47)
1112
- function create_if_block_5(ctx) {
1113
- let assistantblock;
1114
- let current;
1115
-
1116
- assistantblock = new AssistantBlock({
1117
- props: { input: /*item*/ ctx[6]["content"] }
1118
- });
1119
-
1120
- return {
1121
- c() {
1122
- create_component(assistantblock.$$.fragment);
1123
- },
1124
- l(nodes) {
1125
- claim_component(assistantblock.$$.fragment, nodes);
1126
- },
1127
- m(target, anchor) {
1128
- mount_component(assistantblock, target, anchor);
1129
- current = true;
1130
- },
1131
- p(ctx, dirty) {
1132
- const assistantblock_changes = {};
1133
- if (dirty & /*entry, dataColumn*/ 9) assistantblock_changes.input = /*item*/ ctx[6]["content"];
1134
- assistantblock.$set(assistantblock_changes);
1135
- },
1136
- i(local) {
1137
- if (current) return;
1138
- transition_in(assistantblock.$$.fragment, local);
1139
- current = true;
1140
- },
1141
- o(local) {
1142
- transition_out(assistantblock.$$.fragment, local);
1143
- current = false;
1144
- },
1145
- d(detaching) {
1146
- destroy_component(assistantblock, detaching);
1147
- }
1148
- };
1149
- }
1150
-
1151
- // (26:8) {#if item["role"] === "system"}
1152
- function create_if_block_4(ctx) {
1153
- let systemblock;
1154
- let current;
1155
-
1156
- systemblock = new SystemBlock({
1157
- props: { input: /*item*/ ctx[6]["content"] }
1158
- });
1159
-
1160
- return {
1161
- c() {
1162
- create_component(systemblock.$$.fragment);
1163
- },
1164
- l(nodes) {
1165
- claim_component(systemblock.$$.fragment, nodes);
1166
- },
1167
- m(target, anchor) {
1168
- mount_component(systemblock, target, anchor);
1169
- current = true;
1170
- },
1171
- p(ctx, dirty) {
1172
- const systemblock_changes = {};
1173
- if (dirty & /*entry, dataColumn*/ 9) systemblock_changes.input = /*item*/ ctx[6]["content"];
1174
- systemblock.$set(systemblock_changes);
1175
- },
1176
- i(local) {
1177
- if (current) return;
1178
- transition_in(systemblock.$$.fragment, local);
1179
- current = true;
1180
- },
1181
- o(local) {
1182
- transition_out(systemblock.$$.fragment, local);
1183
- current = false;
1184
- },
1185
- d(detaching) {
1186
- destroy_component(systemblock, detaching);
1187
- }
1188
- };
1189
- }
1190
-
1191
- // (25:6) {#each entry[dataColumn] as item}
1192
- function create_each_block(ctx) {
1193
- let current_block_type_index;
1194
- let if_block;
1195
- let if_block_anchor;
1196
- let current;
1197
- const if_block_creators = [create_if_block_4, create_if_block_5, create_if_block_6];
1198
- const if_blocks = [];
1199
-
1200
- function select_block_type_1(ctx, dirty) {
1201
- if (/*item*/ ctx[6]["role"] === "system") return 0;
1202
- if (/*item*/ ctx[6]["role"] === "assistant") return 1;
1203
- if (/*item*/ ctx[6]["role"] === "user") return 2;
1204
- return -1;
1205
- }
1206
-
1207
- if (~(current_block_type_index = select_block_type_1(ctx))) {
1208
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
1209
- }
1210
-
1211
- return {
1212
- c() {
1213
- if (if_block) if_block.c();
1214
- if_block_anchor = empty();
1215
- },
1216
- l(nodes) {
1217
- if (if_block) if_block.l(nodes);
1218
- if_block_anchor = empty();
1219
- },
1220
- m(target, anchor) {
1221
- if (~current_block_type_index) {
1222
- if_blocks[current_block_type_index].m(target, anchor);
1223
- }
1224
-
1225
- insert_hydration(target, if_block_anchor, anchor);
1226
- current = true;
1227
- },
1228
- p(ctx, dirty) {
1229
- let previous_block_index = current_block_type_index;
1230
- current_block_type_index = select_block_type_1(ctx);
1231
-
1232
- if (current_block_type_index === previous_block_index) {
1233
- if (~current_block_type_index) {
1234
- if_blocks[current_block_type_index].p(ctx, dirty);
1235
- }
1236
- } else {
1237
- if (if_block) {
1238
- group_outros();
1239
-
1240
- transition_out(if_blocks[previous_block_index], 1, 1, () => {
1241
- if_blocks[previous_block_index] = null;
1242
- });
1243
-
1244
- check_outros();
1245
- }
1246
-
1247
- if (~current_block_type_index) {
1248
- if_block = if_blocks[current_block_type_index];
1249
-
1250
- if (!if_block) {
1251
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
1252
- if_block.c();
1253
- } else {
1254
- if_block.p(ctx, dirty);
1255
- }
1256
-
1257
- transition_in(if_block, 1);
1258
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
1259
- } else {
1260
- if_block = null;
1261
- }
1262
- }
1263
- },
1264
- i(local) {
1265
- if (current) return;
1266
- transition_in(if_block);
1267
- current = true;
1268
- },
1269
- o(local) {
1270
- transition_out(if_block);
1271
- current = false;
1272
- },
1273
- d(detaching) {
1274
- if (~current_block_type_index) {
1275
- if_blocks[current_block_type_index].d(detaching);
1276
- }
1277
-
1278
- if (detaching) detach(if_block_anchor);
1279
- }
1280
- };
1281
- }
1282
-
1283
- // (36:2) {#if entry[modelColumn]}
1284
- function create_if_block_1(ctx) {
1285
- let assistantblock;
1286
- let current;
1287
-
1288
- assistantblock = new AssistantBlock({
1289
- props: {
1290
- input: /*entry*/ ctx[0][/*modelColumn*/ ctx[1]],
1291
- output: true
1292
- }
1293
- });
1294
-
1295
- return {
1296
- c() {
1297
- create_component(assistantblock.$$.fragment);
1298
- },
1299
- l(nodes) {
1300
- claim_component(assistantblock.$$.fragment, nodes);
1301
- },
1302
- m(target, anchor) {
1303
- mount_component(assistantblock, target, anchor);
1304
- current = true;
1305
- },
1306
- p(ctx, dirty) {
1307
- const assistantblock_changes = {};
1308
- if (dirty & /*entry, modelColumn*/ 3) assistantblock_changes.input = /*entry*/ ctx[0][/*modelColumn*/ ctx[1]];
1309
- assistantblock.$set(assistantblock_changes);
1310
- },
1311
- i(local) {
1312
- if (current) return;
1313
- transition_in(assistantblock.$$.fragment, local);
1314
- current = true;
1315
- },
1316
- o(local) {
1317
- transition_out(assistantblock.$$.fragment, local);
1318
- current = false;
1319
- },
1320
- d(detaching) {
1321
- destroy_component(assistantblock, detaching);
1322
- }
1323
- };
1324
- }
1325
-
1326
- // (39:2) {#if entry[labelColumn]}
1327
- function create_if_block(ctx) {
1328
- let p;
1329
- let span;
1330
- let t0;
1331
- let t1;
1332
- let t2_value = /*entry*/ ctx[0][/*labelColumn*/ ctx[2]] + "";
1333
- let t2;
1334
-
1335
- return {
1336
- c() {
1337
- p = element("p");
1338
- span = element("span");
1339
- t0 = text("Expected:");
1340
- t1 = space();
1341
- t2 = text(t2_value);
1342
- this.h();
1343
- },
1344
- l(nodes) {
1345
- p = claim_element(nodes, "P", { class: true });
1346
- var p_nodes = children(p);
1347
- span = claim_element(p_nodes, "SPAN", { class: true });
1348
- var span_nodes = children(span);
1349
- t0 = claim_text(span_nodes, "Expected:");
1350
- span_nodes.forEach(detach);
1351
- t1 = claim_space(p_nodes);
1352
- t2 = claim_text(p_nodes, t2_value);
1353
- p_nodes.forEach(detach);
1354
- this.h();
1355
- },
1356
- h() {
1357
- attr(span, "class", "label svelte-eoma5v");
1358
- attr(p, "class", "svelte-eoma5v");
1359
- },
1360
- m(target, anchor) {
1361
- insert_hydration(target, p, anchor);
1362
- append_hydration(p, span);
1363
- append_hydration(span, t0);
1364
- append_hydration(p, t1);
1365
- append_hydration(p, t2);
1366
- },
1367
- p(ctx, dirty) {
1368
- if (dirty & /*entry, labelColumn*/ 5 && t2_value !== (t2_value = /*entry*/ ctx[0][/*labelColumn*/ ctx[2]] + "")) set_data(t2, t2_value);
1369
- },
1370
- d(detaching) {
1371
- if (detaching) detach(p);
1372
- }
1373
- };
1374
- }
1375
-
1376
- function create_fragment(ctx) {
1377
- let div;
1378
- let t0;
1379
- let t1;
1380
- let current;
1381
- let if_block0 = /*entry*/ ctx[0][/*dataColumn*/ ctx[3]] && create_if_block_2(ctx);
1382
- let if_block1 = /*entry*/ ctx[0][/*modelColumn*/ ctx[1]] && create_if_block_1(ctx);
1383
- let if_block2 = /*entry*/ ctx[0][/*labelColumn*/ ctx[2]] && create_if_block(ctx);
1384
-
1385
- return {
1386
- c() {
1387
- div = element("div");
1388
- if (if_block0) if_block0.c();
1389
- t0 = space();
1390
- if (if_block1) if_block1.c();
1391
- t1 = space();
1392
- if (if_block2) if_block2.c();
1393
- this.h();
1394
- },
1395
- l(nodes) {
1396
- div = claim_element(nodes, "DIV", { id: true, class: true });
1397
- var div_nodes = children(div);
1398
- if (if_block0) if_block0.l(div_nodes);
1399
- t0 = claim_space(div_nodes);
1400
- if (if_block1) if_block1.l(div_nodes);
1401
- t1 = claim_space(div_nodes);
1402
- if (if_block2) if_block2.l(div_nodes);
1403
- div_nodes.forEach(detach);
1404
- this.h();
1405
- },
1406
- h() {
1407
- attr(div, "id", "container");
1408
- attr(div, "class", "svelte-eoma5v");
1409
- },
1410
- m(target, anchor) {
1411
- insert_hydration(target, div, anchor);
1412
- if (if_block0) if_block0.m(div, null);
1413
- append_hydration(div, t0);
1414
- if (if_block1) if_block1.m(div, null);
1415
- append_hydration(div, t1);
1416
- if (if_block2) if_block2.m(div, null);
1417
- current = true;
1418
- },
1419
- p(ctx, [dirty]) {
1420
- if (/*entry*/ ctx[0][/*dataColumn*/ ctx[3]]) {
1421
- if (if_block0) {
1422
- if_block0.p(ctx, dirty);
1423
-
1424
- if (dirty & /*entry, dataColumn*/ 9) {
1425
- transition_in(if_block0, 1);
1426
- }
1427
- } else {
1428
- if_block0 = create_if_block_2(ctx);
1429
- if_block0.c();
1430
- transition_in(if_block0, 1);
1431
- if_block0.m(div, t0);
1432
- }
1433
- } else if (if_block0) {
1434
- group_outros();
1435
-
1436
- transition_out(if_block0, 1, 1, () => {
1437
- if_block0 = null;
1438
- });
1439
-
1440
- check_outros();
1441
- }
1442
-
1443
- if (/*entry*/ ctx[0][/*modelColumn*/ ctx[1]]) {
1444
- if (if_block1) {
1445
- if_block1.p(ctx, dirty);
1446
-
1447
- if (dirty & /*entry, modelColumn*/ 3) {
1448
- transition_in(if_block1, 1);
1449
- }
1450
- } else {
1451
- if_block1 = create_if_block_1(ctx);
1452
- if_block1.c();
1453
- transition_in(if_block1, 1);
1454
- if_block1.m(div, t1);
1455
- }
1456
- } else if (if_block1) {
1457
- group_outros();
1458
-
1459
- transition_out(if_block1, 1, 1, () => {
1460
- if_block1 = null;
1461
- });
1462
-
1463
- check_outros();
1464
- }
1465
-
1466
- if (/*entry*/ ctx[0][/*labelColumn*/ ctx[2]]) {
1467
- if (if_block2) {
1468
- if_block2.p(ctx, dirty);
1469
- } else {
1470
- if_block2 = create_if_block(ctx);
1471
- if_block2.c();
1472
- if_block2.m(div, null);
1473
- }
1474
- } else if (if_block2) {
1475
- if_block2.d(1);
1476
- if_block2 = null;
1477
- }
1478
- },
1479
- i(local) {
1480
- if (current) return;
1481
- transition_in(if_block0);
1482
- transition_in(if_block1);
1483
- current = true;
1484
- },
1485
- o(local) {
1486
- transition_out(if_block0);
1487
- transition_out(if_block1);
1488
- current = false;
1489
- },
1490
- d(detaching) {
1491
- if (detaching) detach(div);
1492
- if (if_block0) if_block0.d();
1493
- if (if_block1) if_block1.d();
1494
- if (if_block2) if_block2.d();
1495
- }
1496
- };
1497
- }
1498
-
1499
- function instance($$self, $$props, $$invalidate) {
1500
- let { options } = $$props;
1501
- let { entry } = $$props;
1502
- let { modelColumn } = $$props;
1503
- let { labelColumn } = $$props;
1504
- let { dataColumn } = $$props;
1505
- let { idColumn } = $$props;
1506
-
1507
- $$self.$$set = $$props => {
1508
- if ('options' in $$props) $$invalidate(4, options = $$props.options);
1509
- if ('entry' in $$props) $$invalidate(0, entry = $$props.entry);
1510
- if ('modelColumn' in $$props) $$invalidate(1, modelColumn = $$props.modelColumn);
1511
- if ('labelColumn' in $$props) $$invalidate(2, labelColumn = $$props.labelColumn);
1512
- if ('dataColumn' in $$props) $$invalidate(3, dataColumn = $$props.dataColumn);
1513
- if ('idColumn' in $$props) $$invalidate(5, idColumn = $$props.idColumn);
1514
- };
1515
-
1516
- return [entry, modelColumn, labelColumn, dataColumn, options, idColumn];
1517
- }
1518
-
1519
- class InstanceView extends SvelteComponent {
1520
- constructor(options) {
1521
- super();
1522
-
1523
- init(
1524
- this,
1525
- options,
1526
- instance,
1527
- create_fragment,
1528
- safe_not_equal,
1529
- {
1530
- options: 4,
1531
- entry: 0,
1532
- modelColumn: 1,
1533
- labelColumn: 2,
1534
- dataColumn: 3,
1535
- idColumn: 5
1536
- },
1537
- add_css
1538
- );
1539
- }
1540
- }
1541
-
1542
- function getInstance(
1543
- div,
1544
- viewOptions,
1545
- entry,
1546
- modelColumn,
1547
- labelColumn,
1548
- dataColumn,
1549
- idColumn
1550
- ) {
1551
- new InstanceView({
1552
- target: div,
1553
- props: {
1554
- entry: entry,
1555
- viewOptions: viewOptions,
1556
- modelColumn: modelColumn,
1557
- labelColumn: labelColumn,
1558
- dataColumn: dataColumn,
1559
- idColumn: idColumn,
1560
- },
1561
- hydrate: true,
1562
- });
1563
- }
1564
-
1565
- // export function getOptions(div, setOptions) {
1566
- // new OptionsView({
1567
- // target: div,
1568
- // props: {
1569
- // setOptions,
1570
- // },
1571
- // });
1572
- // }
1573
-
1574
- export { getInstance };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
evals/crossword/crossword-4.jsonl ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"spec": {"completion_fns": ["gpt-4"], "eval_name": "partially_solved_crossword_clues.dev.v0", "base_eval": "partially_solved_crossword_clues", "split": "dev", "run_config": {"completion_fns": ["gpt-4"], "eval_spec": {"cls": "evals.elsuite.basic.match:Match", "args": {"samples_jsonl": "partially_solved_crossword_clues/samples.jsonl"}, "key": "partially_solved_crossword_clues.dev.v0", "group": "partially_solved_crossword_clues"}, "seed": 20220722, "max_samples": null, "command": "/projects/ogma2/users/shuyanzh/miniconda3/envs/py39/bin/oaieval gpt-4 partially_solved_crossword_clues", "initial_settings": {"visible": true}}, "created_by": "", "run_id": "230421003658QR6HADBZ", "created_at": "2023-04-21 00:36:58.287348"}}
2
+ {"run_id": "230421003658QR6HADBZ", "event_id": 0, "sample_id": "partially_solved_crossword_clues.dev.7", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Like much baby food - Letters: P___E_"}], "sampled": ["PUREED"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.440095+00:00"}
3
+ {"run_id": "230421003658QR6HADBZ", "event_id": 1, "sample_id": "partially_solved_crossword_clues.dev.7", "type": "match", "data": {"correct": true, "expected": "PUREED", "picked": "PUREED", "sampled": "PUREED", "options": ["PUREED"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.440219+00:00"}
4
+ {"run_id": "230421003658QR6HADBZ", "event_id": 2, "sample_id": "partially_solved_crossword_clues.dev.64", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Deep cut? - Letters: ____A_S_"}], "sampled": ["ABYSS"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.470330+00:00"}
5
+ {"run_id": "230421003658QR6HADBZ", "event_id": 3, "sample_id": "partially_solved_crossword_clues.dev.64", "type": "match", "data": {"correct": false, "expected": "CREVASSE", "picked": null, "sampled": "ABYSS", "options": ["CREVASSE"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.470389+00:00"}
6
+ {"run_id": "230421003658QR6HADBZ", "event_id": 4, "sample_id": "partially_solved_crossword_clues.dev.93", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Private - Letters: __N__"}], "sampled": ["LONER"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.478402+00:00"}
7
+ {"run_id": "230421003658QR6HADBZ", "event_id": 5, "sample_id": "partially_solved_crossword_clues.dev.93", "type": "match", "data": {"correct": false, "expected": "INNER", "picked": null, "sampled": "LONER", "options": ["INNER"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.478461+00:00"}
8
+ {"run_id": "230421003658QR6HADBZ", "event_id": 6, "sample_id": "partially_solved_crossword_clues.dev.50", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Unimaginative - Letters: __O_A__"}], "sampled": ["BORING"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.527434+00:00"}
9
+ {"run_id": "230421003658QR6HADBZ", "event_id": 7, "sample_id": "partially_solved_crossword_clues.dev.50", "type": "match", "data": {"correct": false, "expected": "PROSAIC", "picked": null, "sampled": "BORING", "options": ["PROSAIC"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.527489+00:00"}
10
+ {"run_id": "230421003658QR6HADBZ", "event_id": 8, "sample_id": "partially_solved_crossword_clues.dev.63", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Inoffensive - Letters: ___DY__"}], "sampled": ["MILDLY"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.698550+00:00"}
11
+ {"run_id": "230421003658QR6HADBZ", "event_id": 9, "sample_id": "partially_solved_crossword_clues.dev.63", "type": "match", "data": {"correct": false, "expected": "ANODYNE", "picked": null, "sampled": "MILDLY", "options": ["ANODYNE"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.698608+00:00"}
12
+ {"run_id": "230421003658QR6HADBZ", "event_id": 10, "sample_id": "partially_solved_crossword_clues.dev.75", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Go with the wind, in a way - Letters: _A__"}], "sampled": ["SAIL"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.843905+00:00"}
13
+ {"run_id": "230421003658QR6HADBZ", "event_id": 11, "sample_id": "partially_solved_crossword_clues.dev.75", "type": "match", "data": {"correct": true, "expected": "SAIL", "picked": "SAIL", "sampled": "SAIL", "options": ["SAIL"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.843963+00:00"}
14
+ {"run_id": "230421003658QR6HADBZ", "event_id": 12, "sample_id": "partially_solved_crossword_clues.dev.84", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: No longer affected by - Letters: ___R"}], "sampled": ["OVER"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.871062+00:00"}
15
+ {"run_id": "230421003658QR6HADBZ", "event_id": 13, "sample_id": "partially_solved_crossword_clues.dev.84", "type": "match", "data": {"correct": true, "expected": "OVER", "picked": "OVER", "sampled": "OVER", "options": ["OVER"]}, "created_by": "", "created_at": "2023-04-21 00:36:59.871120+00:00"}
16
+ {"run_id": "230421003658QR6HADBZ", "event_id": 14, "sample_id": "partially_solved_crossword_clues.dev.29", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: It divides and multiplies - Letters: A___B_"}], "sampled": ["AMOEBA"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.040033+00:00"}
17
+ {"run_id": "230421003658QR6HADBZ", "event_id": 15, "sample_id": "partially_solved_crossword_clues.dev.29", "type": "match", "data": {"correct": true, "expected": "AMOEBA", "picked": "AMOEBA", "sampled": "AMOEBA", "options": ["AMOEBA"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.040088+00:00"}
18
+ {"run_id": "230421003658QR6HADBZ", "event_id": 16, "sample_id": "partially_solved_crossword_clues.dev.87", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: A bad joke might land with one - Letters: _H__"}], "sampled": ["THUD"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.151408+00:00"}
19
+ {"run_id": "230421003658QR6HADBZ", "event_id": 17, "sample_id": "partially_solved_crossword_clues.dev.87", "type": "match", "data": {"correct": true, "expected": "THUD", "picked": "THUD", "sampled": "THUD", "options": ["THUD"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.151471+00:00"}
20
+ {"run_id": "230421003658QR6HADBZ", "event_id": 18, "sample_id": "partially_solved_crossword_clues.dev.60", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Game stoppers - Letters: R____"}], "sampled": ["REFS"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.289503+00:00"}
21
+ {"run_id": "230421003658QR6HADBZ", "event_id": 19, "sample_id": "partially_solved_crossword_clues.dev.60", "type": "match", "data": {"correct": false, "expected": "RAINS", "picked": null, "sampled": "REFS", "options": ["RAINS"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.289562+00:00"}
22
+ {"run_id": "230421003658QR6HADBZ", "event_id": 20, "sample_id": "partially_solved_crossword_clues.dev.67", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Unyielding - Letters: ____D"}], "sampled": ["RIGID"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.345043+00:00"}
23
+ {"run_id": "230421003658QR6HADBZ", "event_id": 21, "sample_id": "partially_solved_crossword_clues.dev.67", "type": "match", "data": {"correct": true, "expected": "RIGID", "picked": "RIGID", "sampled": "RIGID", "options": ["RIGID"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.345103+00:00"}
24
+ {"run_id": "230421003658QR6HADBZ", "event_id": 22, "sample_id": "partially_solved_crossword_clues.dev.1", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Certain vaccine target - Letters: M_____S"}], "sampled": ["MEASLES"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.398640+00:00"}
25
+ {"run_id": "230421003658QR6HADBZ", "event_id": 23, "sample_id": "partially_solved_crossword_clues.dev.1", "type": "match", "data": {"correct": true, "expected": "MEASLES", "picked": "MEASLES", "sampled": "MEASLES", "options": ["MEASLES"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.398678+00:00"}
26
+ {"run_id": "230421003658QR6HADBZ", "event_id": 24, "sample_id": "partially_solved_crossword_clues.dev.3", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Animal farm facility - Letters: _E____T"}], "sampled": ["KENNEL"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.588781+00:00"}
27
+ {"run_id": "230421003658QR6HADBZ", "event_id": 25, "sample_id": "partially_solved_crossword_clues.dev.3", "type": "match", "data": {"correct": false, "expected": "FEEDLOT", "picked": null, "sampled": "KENNEL", "options": ["FEEDLOT"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.588840+00:00"}
28
+ {"run_id": "230421003658QR6HADBZ", "event_id": 26, "sample_id": "partially_solved_crossword_clues.dev.24", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Cornhole attempts - Letters: _O__E_"}], "sampled": ["TOSSES"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.618672+00:00"}
29
+ {"run_id": "230421003658QR6HADBZ", "event_id": 27, "sample_id": "partially_solved_crossword_clues.dev.24", "type": "match", "data": {"correct": true, "expected": "TOSSES", "picked": "TOSSES", "sampled": "TOSSES", "options": ["TOSSES"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.618730+00:00"}
30
+ {"run_id": "230421003658QR6HADBZ", "event_id": 28, "sample_id": "partially_solved_crossword_clues.dev.22", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Yearbook signers - Letters: C_A______S"}], "sampled": ["CLASSMATES"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.901746+00:00"}
31
+ {"run_id": "230421003658QR6HADBZ", "event_id": 29, "sample_id": "partially_solved_crossword_clues.dev.22", "type": "match", "data": {"correct": true, "expected": "CLASSMATES", "picked": "CLASSMATES", "sampled": "CLASSMATES", "options": ["CLASSMATES"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.901804+00:00"}
32
+ {"run_id": "230421003658QR6HADBZ", "event_id": 30, "sample_id": "partially_solved_crossword_clues.dev.44", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Learning opportunity, so to speak - Letters: M__T___"}], "sampled": ["MENTOR"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.918338+00:00"}
33
+ {"run_id": "230421003658QR6HADBZ", "event_id": 31, "sample_id": "partially_solved_crossword_clues.dev.44", "type": "match", "data": {"correct": false, "expected": "MISTAKE", "picked": null, "sampled": "MENTOR", "options": ["MISTAKE"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.918396+00:00"}
34
+ {"run_id": "230421003658QR6HADBZ", "event_id": 32, "sample_id": "partially_solved_crossword_clues.dev.9", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Search blindly (for) - Letters: G____"}], "sampled": ["GROPE"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.954883+00:00"}
35
+ {"run_id": "230421003658QR6HADBZ", "event_id": 33, "sample_id": "partially_solved_crossword_clues.dev.9", "type": "match", "data": {"correct": true, "expected": "GROPE", "picked": "GROPE", "sampled": "GROPE", "options": ["GROPE"]}, "created_by": "", "created_at": "2023-04-21 00:37:00.954930+00:00"}
36
+ {"run_id": "230421003658QR6HADBZ", "event_id": 34, "sample_id": "partially_solved_crossword_clues.dev.45", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Game from Africa - Letters: __U"}], "sampled": ["Mancala"]}, "created_by": "", "created_at": "2023-04-21 00:37:01.135622+00:00"}
37
+ {"run_id": "230421003658QR6HADBZ", "event_id": 35, "sample_id": "partially_solved_crossword_clues.dev.45", "type": "match", "data": {"correct": false, "expected": "GNU", "picked": null, "sampled": "Mancala", "options": ["GNU"]}, "created_by": "", "created_at": "2023-04-21 00:37:01.135682+00:00"}
38
+ {"run_id": "230421003658QR6HADBZ", "event_id": 36, "sample_id": "partially_solved_crossword_clues.dev.14", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Greasy garage job - Letters: _U__"}], "sampled": ["LUBE"]}, "created_by": "", "created_at": "2023-04-21 00:37:01.320344+00:00"}
39
+ {"run_id": "230421003658QR6HADBZ", "event_id": 37, "sample_id": "partially_solved_crossword_clues.dev.14", "type": "match", "data": {"correct": true, "expected": "LUBE", "picked": "LUBE", "sampled": "LUBE", "options": ["LUBE"]}, "created_by": "", "created_at": "2023-04-21 00:37:01.320403+00:00"}
40
+ {"run_id": "230421003658QR6HADBZ", "event_id": 38, "sample_id": "partially_solved_crossword_clues.dev.96", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Many a Monopoly property - Letters: AV____"}], "sampled": ["AVENUE"]}, "created_by": "", "created_at": "2023-04-21 00:37:01.359432+00:00"}
41
+ {"run_id": "230421003658QR6HADBZ", "event_id": 39, "sample_id": "partially_solved_crossword_clues.dev.96", "type": "match", "data": {"correct": true, "expected": "AVENUE", "picked": "AVENUE", "sampled": "AVENUE", "options": ["AVENUE"]}, "created_by": "", "created_at": "2023-04-21 00:37:01.359491+00:00"}
42
+ {"run_id": "230421003658QR6HADBZ", "event_id": 40, "sample_id": "partially_solved_crossword_clues.dev.28", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Come to - Letters: __T__"}], "sampled": ["ATTAIN"]}, "created_by": "", "created_at": "2023-04-21 00:37:01.433703+00:00"}
43
+ {"run_id": "230421003658QR6HADBZ", "event_id": 41, "sample_id": "partially_solved_crossword_clues.dev.28", "type": "match", "data": {"correct": false, "expected": "TOTAL", "picked": null, "sampled": "ATTAIN", "options": ["TOTAL"]}, "created_by": "", "created_at": "2023-04-21 00:37:01.433762+00:00"}
44
+ {"run_id": "230421003658QR6HADBZ", "event_id": 42, "sample_id": "partially_solved_crossword_clues.dev.12", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Bounded - Letters: ___PE_"}], "sampled": ["COPED"]}, "created_by": "", "created_at": "2023-04-21 00:37:01.442305+00:00"}
45
+ {"run_id": "230421003658QR6HADBZ", "event_id": 43, "sample_id": "partially_solved_crossword_clues.dev.12", "type": "match", "data": {"correct": false, "expected": "LEAPED", "picked": null, "sampled": "COPED", "options": ["LEAPED"]}, "created_by": "", "created_at": "2023-04-21 00:37:01.442364+00:00"}
46
+ {"run_id": "230421003658QR6HADBZ", "event_id": 44, "sample_id": "partially_solved_crossword_clues.dev.69", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: One getting out early - Letters: __RO___"}], "sampled": ["ERROR"]}, "created_by": "", "created_at": "2023-04-21 00:37:01.907060+00:00"}
47
+ {"run_id": "230421003658QR6HADBZ", "event_id": 45, "sample_id": "partially_solved_crossword_clues.dev.69", "type": "match", "data": {"correct": false, "expected": "PAROLEE", "picked": null, "sampled": "ERROR", "options": ["PAROLEE"]}, "created_by": "", "created_at": "2023-04-21 00:37:01.907119+00:00"}
48
+ {"run_id": "230421003658QR6HADBZ", "event_id": 46, "sample_id": "partially_solved_crossword_clues.dev.74", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Not just bad - Letters: _V__"}], "sampled": ["EVIL"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.026725+00:00"}
49
+ {"run_id": "230421003658QR6HADBZ", "event_id": 47, "sample_id": "partially_solved_crossword_clues.dev.74", "type": "match", "data": {"correct": true, "expected": "EVIL", "picked": "EVIL", "sampled": "EVIL", "options": ["EVIL"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.026783+00:00"}
50
+ {"run_id": "230421003658QR6HADBZ", "event_id": 48, "sample_id": "partially_solved_crossword_clues.dev.15", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Pointed at, say - Letters: ___ME_"}], "sampled": ["AIMED"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.222038+00:00"}
51
+ {"run_id": "230421003658QR6HADBZ", "event_id": 49, "sample_id": "partially_solved_crossword_clues.dev.15", "type": "match", "data": {"correct": false, "expected": "BLAMED", "picked": null, "sampled": "AIMED", "options": ["BLAMED"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.222097+00:00"}
52
+ {"run_id": "230421003658QR6HADBZ", "event_id": 50, "sample_id": "partially_solved_crossword_clues.dev.85", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Clears - Letters: __A__S"}], "sampled": ["ERASES"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.252361+00:00"}
53
+ {"run_id": "230421003658QR6HADBZ", "event_id": 51, "sample_id": "partially_solved_crossword_clues.dev.85", "type": "match", "data": {"correct": true, "expected": "ERASES", "picked": "ERASES", "sampled": "ERASES", "options": ["ERASES"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.252420+00:00"}
54
+ {"run_id": "230421003658QR6HADBZ", "event_id": 52, "sample_id": "partially_solved_crossword_clues.dev.35", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Put off - Letters: ___G__TE_"}], "sampled": ["PROLONGATE"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.280769+00:00"}
55
+ {"run_id": "230421003658QR6HADBZ", "event_id": 53, "sample_id": "partially_solved_crossword_clues.dev.35", "type": "match", "data": {"correct": false, "expected": "DISGUSTED", "picked": null, "sampled": "PROLONGATE", "options": ["DISGUSTED"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.280827+00:00"}
56
+ {"run_id": "230421003658QR6HADBZ", "event_id": 54, "sample_id": "partially_solved_crossword_clues.dev.54", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Feed - Letters: __O__"}], "sampled": ["FOOD"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.288885+00:00"}
57
+ {"run_id": "230421003658QR6HADBZ", "event_id": 55, "sample_id": "partially_solved_crossword_clues.dev.54", "type": "match", "data": {"correct": false, "expected": "STOKE", "picked": null, "sampled": "FOOD", "options": ["STOKE"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.288944+00:00"}
58
+ {"run_id": "230421003658QR6HADBZ", "event_id": 56, "sample_id": "partially_solved_crossword_clues.dev.39", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Rides with runners - Letters: __E__"}], "sampled": ["SLEDS"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.597657+00:00"}
59
+ {"run_id": "230421003658QR6HADBZ", "event_id": 57, "sample_id": "partially_solved_crossword_clues.dev.39", "type": "match", "data": {"correct": true, "expected": "SLEDS", "picked": "SLEDS", "sampled": "SLEDS", "options": ["SLEDS"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.597715+00:00"}
60
+ {"run_id": "230421003658QR6HADBZ", "event_id": 58, "sample_id": "partially_solved_crossword_clues.dev.83", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Provokes - Letters: _O___"}], "sampled": ["GOADS"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.605388+00:00"}
61
+ {"run_id": "230421003658QR6HADBZ", "event_id": 59, "sample_id": "partially_solved_crossword_clues.dev.83", "type": "match", "data": {"correct": true, "expected": "GOADS", "picked": "GOADS", "sampled": "GOADS", "options": ["GOADS"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.605447+00:00"}
62
+ {"run_id": "230421003658QR6HADBZ", "event_id": 60, "sample_id": "partially_solved_crossword_clues.dev.91", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Ill-humored - Letters: D___"}], "sampled": ["DOUR"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.740687+00:00"}
63
+ {"run_id": "230421003658QR6HADBZ", "event_id": 61, "sample_id": "partially_solved_crossword_clues.dev.91", "type": "match", "data": {"correct": true, "expected": "DOUR", "picked": "DOUR", "sampled": "DOUR", "options": ["DOUR"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.740745+00:00"}
64
+ {"run_id": "230421003658QR6HADBZ", "event_id": 62, "sample_id": "partially_solved_crossword_clues.dev.10", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Shape of a certain bean - Letters: _I__E_"}], "sampled": ["KIDNEY"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.816039+00:00"}
65
+ {"run_id": "230421003658QR6HADBZ", "event_id": 63, "sample_id": "partially_solved_crossword_clues.dev.10", "type": "match", "data": {"correct": true, "expected": "KIDNEY", "picked": "KIDNEY", "sampled": "KIDNEY", "options": ["KIDNEY"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.816098+00:00"}
66
+ {"run_id": "230421003658QR6HADBZ", "event_id": 64, "sample_id": "partially_solved_crossword_clues.dev.46", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Superlatively swell - Letters: N___E__"}], "sampled": ["NICEST"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.889266+00:00"}
67
+ {"run_id": "230421003658QR6HADBZ", "event_id": 65, "sample_id": "partially_solved_crossword_clues.dev.46", "type": "match", "data": {"correct": false, "expected": "NEATEST", "picked": null, "sampled": "NICEST", "options": ["NEATEST"]}, "created_by": "", "created_at": "2023-04-21 00:37:02.889326+00:00"}
68
+ {"run_id": "230421003658QR6HADBZ", "event_id": 66, "sample_id": "partially_solved_crossword_clues.dev.23", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: You might see them now and again - Letters: R___N_"}], "sampled": ["RAVEN"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.194364+00:00"}
69
+ {"run_id": "230421003658QR6HADBZ", "event_id": 67, "sample_id": "partially_solved_crossword_clues.dev.23", "type": "match", "data": {"correct": false, "expected": "RERUNS", "picked": null, "sampled": "RAVEN", "options": ["RERUNS"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.194423+00:00"}
70
+ {"run_id": "230421003658QR6HADBZ", "event_id": 68, "sample_id": "partially_solved_crossword_clues.dev.47", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Easily put out - Letters: T____"}], "sampled": ["TOUCHY"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.368835+00:00"}
71
+ {"run_id": "230421003658QR6HADBZ", "event_id": 69, "sample_id": "partially_solved_crossword_clues.dev.47", "type": "match", "data": {"correct": false, "expected": "TESTY", "picked": null, "sampled": "TOUCHY", "options": ["TESTY"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.368894+00:00"}
72
+ {"run_id": "230421003658QR6HADBZ", "event_id": 70, "sample_id": "partially_solved_crossword_clues.dev.26", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Flowing tresses - Letters: _A__"}], "sampled": ["HAIR"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.376834+00:00"}
73
+ {"run_id": "230421003658QR6HADBZ", "event_id": 71, "sample_id": "partially_solved_crossword_clues.dev.26", "type": "match", "data": {"correct": false, "expected": "MANE", "picked": null, "sampled": "HAIR", "options": ["MANE"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.376892+00:00"}
74
+ {"run_id": "230421003658QR6HADBZ", "event_id": 72, "sample_id": "partially_solved_crossword_clues.dev.82", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Discomfiture - Letters: _____IN"}], "sampled": ["CHAGRIN"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.424835+00:00"}
75
+ {"run_id": "230421003658QR6HADBZ", "event_id": 73, "sample_id": "partially_solved_crossword_clues.dev.82", "type": "match", "data": {"correct": true, "expected": "CHAGRIN", "picked": "CHAGRIN", "sampled": "CHAGRIN", "options": ["CHAGRIN"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.424893+00:00"}
76
+ {"run_id": "230421003658QR6HADBZ", "event_id": 74, "sample_id": "partially_solved_crossword_clues.dev.81", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: One standing on one’s own two feet? - Letters: _I___"}], "sampled": ["BIPED"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.497667+00:00"}
77
+ {"run_id": "230421003658QR6HADBZ", "event_id": 75, "sample_id": "partially_solved_crossword_clues.dev.81", "type": "match", "data": {"correct": true, "expected": "BIPED", "picked": "BIPED", "sampled": "BIPED", "options": ["BIPED"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.497726+00:00"}
78
+ {"run_id": "230421003658QR6HADBZ", "event_id": 76, "sample_id": "partially_solved_crossword_clues.dev.32", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Merry air - Letters: _I__"}], "sampled": ["LILT"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.558481+00:00"}
79
+ {"run_id": "230421003658QR6HADBZ", "event_id": 77, "sample_id": "partially_solved_crossword_clues.dev.32", "type": "match", "data": {"correct": true, "expected": "LILT", "picked": "LILT", "sampled": "LILT", "options": ["LILT"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.558540+00:00"}
80
+ {"run_id": "230421003658QR6HADBZ", "event_id": 78, "sample_id": "partially_solved_crossword_clues.dev.27", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Centers of attention - Letters: F___"}], "sampled": ["FOCI"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.722853+00:00"}
81
+ {"run_id": "230421003658QR6HADBZ", "event_id": 79, "sample_id": "partially_solved_crossword_clues.dev.27", "type": "match", "data": {"correct": true, "expected": "FOCI", "picked": "FOCI", "sampled": "FOCI", "options": ["FOCI"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.722912+00:00"}
82
+ {"run_id": "230421003658QR6HADBZ", "event_id": 80, "sample_id": "partially_solved_crossword_clues.dev.56", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Some china - Letters: _E___R_"}], "sampled": ["TEACUP"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.931096+00:00"}
83
+ {"run_id": "230421003658QR6HADBZ", "event_id": 81, "sample_id": "partially_solved_crossword_clues.dev.56", "type": "match", "data": {"correct": false, "expected": "TEAWARE", "picked": null, "sampled": "TEACUP", "options": ["TEAWARE"]}, "created_by": "", "created_at": "2023-04-21 00:37:03.931155+00:00"}
84
+ {"run_id": "230421003658QR6HADBZ", "event_id": 82, "sample_id": "partially_solved_crossword_clues.dev.41", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Latest thing - Letters: R___"}], "sampled": ["RAGE"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.061208+00:00"}
85
+ {"run_id": "230421003658QR6HADBZ", "event_id": 83, "sample_id": "partially_solved_crossword_clues.dev.41", "type": "match", "data": {"correct": true, "expected": "RAGE", "picked": "RAGE", "sampled": "RAGE", "options": ["RAGE"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.061268+00:00"}
86
+ {"run_id": "230421003658QR6HADBZ", "event_id": 84, "sample_id": "partially_solved_crossword_clues.dev.95", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Need for a tough crossword, perhaps - Letters: ER____"}], "sampled": ["ERASER"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.249863+00:00"}
87
+ {"run_id": "230421003658QR6HADBZ", "event_id": 85, "sample_id": "partially_solved_crossword_clues.dev.95", "type": "match", "data": {"correct": true, "expected": "ERASER", "picked": "ERASER", "sampled": "ERASER", "options": ["ERASER"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.249921+00:00"}
88
+ {"run_id": "230421003658QR6HADBZ", "event_id": 86, "sample_id": "partially_solved_crossword_clues.dev.25", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: It comes after nine but not after ten - Letters: __E_"}], "sampled": ["ELEVEN"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.321078+00:00"}
89
+ {"run_id": "230421003658QR6HADBZ", "event_id": 87, "sample_id": "partially_solved_crossword_clues.dev.25", "type": "match", "data": {"correct": false, "expected": "TEEN", "picked": null, "sampled": "ELEVEN", "options": ["TEEN"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.321136+00:00"}
90
+ {"run_id": "230421003658QR6HADBZ", "event_id": 88, "sample_id": "partially_solved_crossword_clues.dev.72", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: It smooths the way - Letters: G____E"}], "sampled": ["GREASE"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.448343+00:00"}
91
+ {"run_id": "230421003658QR6HADBZ", "event_id": 89, "sample_id": "partially_solved_crossword_clues.dev.72", "type": "match", "data": {"correct": true, "expected": "GREASE", "picked": "GREASE", "sampled": "GREASE", "options": ["GREASE"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.448406+00:00"}
92
+ {"run_id": "230421003658QR6HADBZ", "event_id": 90, "sample_id": "partially_solved_crossword_clues.dev.73", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Assert - Letters: _T___"}], "sampled": ["STATE"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.636528+00:00"}
93
+ {"run_id": "230421003658QR6HADBZ", "event_id": 91, "sample_id": "partially_solved_crossword_clues.dev.73", "type": "match", "data": {"correct": true, "expected": "STATE", "picked": "STATE", "sampled": "STATE", "options": ["STATE"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.636587+00:00"}
94
+ {"run_id": "230421003658QR6HADBZ", "event_id": 92, "sample_id": "partially_solved_crossword_clues.dev.62", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Ring or belt, essentially - Letters: _A__"}], "sampled": ["BAND"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.697731+00:00"}
95
+ {"run_id": "230421003658QR6HADBZ", "event_id": 93, "sample_id": "partially_solved_crossword_clues.dev.62", "type": "match", "data": {"correct": true, "expected": "BAND", "picked": "BAND", "sampled": "BAND", "options": ["BAND"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.697792+00:00"}
96
+ {"run_id": "230421003658QR6HADBZ", "event_id": 94, "sample_id": "partially_solved_crossword_clues.dev.38", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Gets behind - Letters: __G_"}], "sampled": ["EGGS"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.799815+00:00"}
97
+ {"run_id": "230421003658QR6HADBZ", "event_id": 95, "sample_id": "partially_solved_crossword_clues.dev.38", "type": "match", "data": {"correct": false, "expected": "LAGS", "picked": null, "sampled": "EGGS", "options": ["LAGS"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.799874+00:00"}
98
+ {"run_id": "230421003658QR6HADBZ", "event_id": 96, "sample_id": "partially_solved_crossword_clues.dev.59", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Put away for now - Letters: __O__"}], "sampled": ["STORE"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.943155+00:00"}
99
+ {"run_id": "230421003658QR6HADBZ", "event_id": 97, "sample_id": "partially_solved_crossword_clues.dev.59", "type": "match", "data": {"correct": true, "expected": "STORE", "picked": "STORE", "sampled": "STORE", "options": ["STORE"]}, "created_by": "", "created_at": "2023-04-21 00:37:04.943214+00:00"}
100
+ {"run_id": "230421003658QR6HADBZ", "event_id": 98, "sample_id": "partially_solved_crossword_clues.dev.70", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Calculus calculation - Letters: __E_"}], "sampled": ["DERIVATIVE"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.005986+00:00"}
101
+ {"run_id": "230421003658QR6HADBZ", "event_id": 99, "sample_id": "partially_solved_crossword_clues.dev.70", "type": "match", "data": {"correct": false, "expected": "AREA", "picked": null, "sampled": "DERIVATIVE", "options": ["AREA"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.006044+00:00"}
102
+ {"run_id": "230421003658QR6HADBZ", "event_id": 100, "sample_id": "partially_solved_crossword_clues.dev.80", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Accommodated, in a way - Letters: _O_S__"}], "sampled": ["HOUSED"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.140689+00:00"}
103
+ {"run_id": "230421003658QR6HADBZ", "event_id": 101, "sample_id": "partially_solved_crossword_clues.dev.80", "type": "match", "data": {"correct": true, "expected": "HOUSED", "picked": "HOUSED", "sampled": "HOUSED", "options": ["HOUSED"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.140751+00:00"}
104
+ {"run_id": "230421003658QR6HADBZ", "event_id": 102, "sample_id": "partially_solved_crossword_clues.dev.58", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Make a trade - Letters: ___P"}], "sampled": ["SWAP"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.150260+00:00"}
105
+ {"run_id": "230421003658QR6HADBZ", "event_id": 103, "sample_id": "partially_solved_crossword_clues.dev.58", "type": "match", "data": {"correct": true, "expected": "SWAP", "picked": "SWAP", "sampled": "SWAP", "options": ["SWAP"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.150320+00:00"}
106
+ {"run_id": "230421003658QR6HADBZ", "event_id": 104, "sample_id": "partially_solved_crossword_clues.dev.21", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: One giving creepy looks - Letters: ____R"}], "sampled": ["LEERER"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.311229+00:00"}
107
+ {"run_id": "230421003658QR6HADBZ", "event_id": 105, "sample_id": "partially_solved_crossword_clues.dev.21", "type": "match", "data": {"correct": false, "expected": "OGLER", "picked": null, "sampled": "LEERER", "options": ["OGLER"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.311291+00:00"}
108
+ {"run_id": "230421003658QR6HADBZ", "event_id": 106, "sample_id": "partially_solved_crossword_clues.dev.19", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: When said three times, mantra for some accused - Letters: __N_"}], "sampled": ["INN"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.359343+00:00"}
109
+ {"run_id": "230421003658QR6HADBZ", "event_id": 107, "sample_id": "partially_solved_crossword_clues.dev.19", "type": "match", "data": {"correct": false, "expected": "DENY", "picked": null, "sampled": "INN", "options": ["DENY"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.359404+00:00"}
110
+ {"run_id": "230421003658QR6HADBZ", "event_id": 108, "sample_id": "partially_solved_crossword_clues.dev.51", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Examined, as a dog might - Letters: ___FF__"}], "sampled": ["SNIFFED"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.399283+00:00"}
111
+ {"run_id": "230421003658QR6HADBZ", "event_id": 109, "sample_id": "partially_solved_crossword_clues.dev.51", "type": "match", "data": {"correct": true, "expected": "SNIFFED", "picked": "SNIFFED", "sampled": "SNIFFED", "options": ["SNIFFED"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.399369+00:00"}
112
+ {"run_id": "230421003658QR6HADBZ", "event_id": 110, "sample_id": "partially_solved_crossword_clues.dev.49", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: It can mean hello or goodbye - Letters: __V_"}], "sampled": ["ALOHA"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.460783+00:00"}
113
+ {"run_id": "230421003658QR6HADBZ", "event_id": 111, "sample_id": "partially_solved_crossword_clues.dev.49", "type": "match", "data": {"correct": false, "expected": "WAVE", "picked": null, "sampled": "ALOHA", "options": ["WAVE"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.460844+00:00"}
114
+ {"run_id": "230421003658QR6HADBZ", "event_id": 112, "sample_id": "partially_solved_crossword_clues.dev.65", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: One might be raised on a farm - Letters: __R_"}], "sampled": ["BARN"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.522868+00:00"}
115
+ {"run_id": "230421003658QR6HADBZ", "event_id": 113, "sample_id": "partially_solved_crossword_clues.dev.65", "type": "match", "data": {"correct": true, "expected": "BARN", "picked": "BARN", "sampled": "BARN", "options": ["BARN"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.522929+00:00"}
116
+ {"run_id": "230421003658QR6HADBZ", "event_id": 114, "sample_id": "partially_solved_crossword_clues.dev.33", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Many an emoticon - Letters: _M___"}], "sampled": ["SMILEY"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.597839+00:00"}
117
+ {"run_id": "230421003658QR6HADBZ", "event_id": 115, "sample_id": "partially_solved_crossword_clues.dev.33", "type": "match", "data": {"correct": true, "expected": "SMILE", "picked": "SMILE", "sampled": "SMILEY", "options": ["SMILE"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.597900+00:00"}
118
+ {"run_id": "230421003658QR6HADBZ", "event_id": 116, "sample_id": "partially_solved_crossword_clues.dev.53", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Go off - Letters: ___T"}], "sampled": ["BUST"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.757134+00:00"}
119
+ {"run_id": "230421003658QR6HADBZ", "event_id": 117, "sample_id": "partially_solved_crossword_clues.dev.53", "type": "match", "data": {"correct": false, "expected": "RANT", "picked": null, "sampled": "BUST", "options": ["RANT"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.757196+00:00"}
120
+ {"run_id": "230421003658QR6HADBZ", "event_id": 118, "sample_id": "partially_solved_crossword_clues.dev.66", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Stop running, in a way - Letters: C___"}], "sampled": ["CEASE"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.829320+00:00"}
121
+ {"run_id": "230421003658QR6HADBZ", "event_id": 119, "sample_id": "partially_solved_crossword_clues.dev.66", "type": "match", "data": {"correct": false, "expected": "CLOT", "picked": null, "sampled": "CEASE", "options": ["CLOT"]}, "created_by": "", "created_at": "2023-04-21 00:37:05.829382+00:00"}
122
+ {"run_id": "230421003658QR6HADBZ", "event_id": 120, "sample_id": "partially_solved_crossword_clues.dev.61", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Buzzer - Letters: B__"}], "sampled": ["BEE"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.018864+00:00"}
123
+ {"run_id": "230421003658QR6HADBZ", "event_id": 121, "sample_id": "partially_solved_crossword_clues.dev.61", "type": "match", "data": {"correct": true, "expected": "BEE", "picked": "BEE", "sampled": "BEE", "options": ["BEE"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.018926+00:00"}
124
+ {"run_id": "230421003658QR6HADBZ", "event_id": 122, "sample_id": "partially_solved_crossword_clues.dev.36", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: They’re up for debate - Letters: T_P___"}], "sampled": ["TOPICS"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.054935+00:00"}
125
+ {"run_id": "230421003658QR6HADBZ", "event_id": 123, "sample_id": "partially_solved_crossword_clues.dev.36", "type": "match", "data": {"correct": true, "expected": "TOPICS", "picked": "TOPICS", "sampled": "TOPICS", "options": ["TOPICS"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.054997+00:00"}
126
+ {"run_id": "230421003658QR6HADBZ", "event_id": 124, "sample_id": "partially_solved_crossword_clues.dev.30", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Affectedly creative - Letters: _R__"}], "sampled": ["ARTY"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.108529+00:00"}
127
+ {"run_id": "230421003658QR6HADBZ", "event_id": 125, "sample_id": "partially_solved_crossword_clues.dev.30", "type": "match", "data": {"correct": true, "expected": "ARTY", "picked": "ARTY", "sampled": "ARTY", "options": ["ARTY"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.108589+00:00"}
128
+ {"run_id": "230421003658QR6HADBZ", "event_id": 126, "sample_id": "partially_solved_crossword_clues.dev.78", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Winsome - Letters: E____RI__"}], "sampled": ["ENDEARING"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.433815+00:00"}
129
+ {"run_id": "230421003658QR6HADBZ", "event_id": 127, "sample_id": "partially_solved_crossword_clues.dev.78", "type": "match", "data": {"correct": true, "expected": "ENDEARING", "picked": "ENDEARING", "sampled": "ENDEARING", "options": ["ENDEARING"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.433876+00:00"}
130
+ {"run_id": "230421003658QR6HADBZ", "event_id": 128, "sample_id": "partially_solved_crossword_clues.dev.77", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: No party person - Letters: _O___"}], "sampled": ["LONER"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.558270+00:00"}
131
+ {"run_id": "230421003658QR6HADBZ", "event_id": 129, "sample_id": "partially_solved_crossword_clues.dev.77", "type": "match", "data": {"correct": true, "expected": "LONER", "picked": "LONER", "sampled": "LONER", "options": ["LONER"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.558332+00:00"}
132
+ {"run_id": "230421003658QR6HADBZ", "event_id": 130, "sample_id": "partially_solved_crossword_clues.dev.18", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Becomes unduly prominent - Letters: _BT_____"}], "sampled": ["OBTRUDES"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.588408+00:00"}
133
+ {"run_id": "230421003658QR6HADBZ", "event_id": 131, "sample_id": "partially_solved_crossword_clues.dev.18", "type": "match", "data": {"correct": true, "expected": "OBTRUDES", "picked": "OBTRUDES", "sampled": "OBTRUDES", "options": ["OBTRUDES"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.588470+00:00"}
134
+ {"run_id": "230421003658QR6HADBZ", "event_id": 132, "sample_id": "partially_solved_crossword_clues.dev.37", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Tiny biter - Letters: ___E"}], "sampled": ["MITE"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.635953+00:00"}
135
+ {"run_id": "230421003658QR6HADBZ", "event_id": 133, "sample_id": "partially_solved_crossword_clues.dev.37", "type": "match", "data": {"correct": true, "expected": "MITE", "picked": "MITE", "sampled": "MITE", "options": ["MITE"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.636013+00:00"}
136
+ {"run_id": "230421003658QR6HADBZ", "event_id": 134, "sample_id": "partially_solved_crossword_clues.dev.16", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Like Halley’s comet every 75 or so years - Letters: _E___N"}], "sampled": ["PERIODIC"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.691209+00:00"}
137
+ {"run_id": "230421003658QR6HADBZ", "event_id": 135, "sample_id": "partially_solved_crossword_clues.dev.16", "type": "match", "data": {"correct": false, "expected": "RESEEN", "picked": null, "sampled": "PERIODIC", "options": ["RESEEN"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.691270+00:00"}
138
+ {"run_id": "230421003658QR6HADBZ", "event_id": 136, "sample_id": "partially_solved_crossword_clues.dev.5", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Without holding back - Letters: F__E__"}], "sampled": ["FREELY"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.826763+00:00"}
139
+ {"run_id": "230421003658QR6HADBZ", "event_id": 137, "sample_id": "partially_solved_crossword_clues.dev.5", "type": "match", "data": {"correct": true, "expected": "FREELY", "picked": "FREELY", "sampled": "FREELY", "options": ["FREELY"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.826824+00:00"}
140
+ {"run_id": "230421003658QR6HADBZ", "event_id": 138, "sample_id": "partially_solved_crossword_clues.dev.57", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Turn off - Letters: _E___"}], "sampled": ["DEACTIVATE"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.907532+00:00"}
141
+ {"run_id": "230421003658QR6HADBZ", "event_id": 139, "sample_id": "partially_solved_crossword_clues.dev.57", "type": "match", "data": {"correct": false, "expected": "REPEL", "picked": null, "sampled": "DEACTIVATE", "options": ["REPEL"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.907593+00:00"}
142
+ {"run_id": "230421003658QR6HADBZ", "event_id": 140, "sample_id": "partially_solved_crossword_clues.dev.94", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Flatten - Letters: __NC___"}], "sampled": ["PANCAKE"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.994884+00:00"}
143
+ {"run_id": "230421003658QR6HADBZ", "event_id": 141, "sample_id": "partially_solved_crossword_clues.dev.94", "type": "match", "data": {"correct": true, "expected": "PANCAKE", "picked": "PANCAKE", "sampled": "PANCAKE", "options": ["PANCAKE"]}, "created_by": "", "created_at": "2023-04-21 00:37:06.994945+00:00"}
144
+ {"run_id": "230421003658QR6HADBZ", "event_id": 142, "sample_id": "partially_solved_crossword_clues.dev.2", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Big mouths - Letters: _A__"}], "sampled": ["GAPS"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.121645+00:00"}
145
+ {"run_id": "230421003658QR6HADBZ", "event_id": 143, "sample_id": "partially_solved_crossword_clues.dev.2", "type": "match", "data": {"correct": false, "expected": "MAWS", "picked": null, "sampled": "GAPS", "options": ["MAWS"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.121705+00:00"}
146
+ {"run_id": "230421003658QR6HADBZ", "event_id": 144, "sample_id": "partially_solved_crossword_clues.dev.40", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Not going anywhere - Letters: __MO__B__"}], "sampled": ["IMMOBILE"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.193471+00:00"}
147
+ {"run_id": "230421003658QR6HADBZ", "event_id": 145, "sample_id": "partially_solved_crossword_clues.dev.40", "type": "match", "data": {"correct": false, "expected": "IMMOVABLE", "picked": null, "sampled": "IMMOBILE", "options": ["IMMOVABLE"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.193532+00:00"}
148
+ {"run_id": "230421003658QR6HADBZ", "event_id": 146, "sample_id": "partially_solved_crossword_clues.dev.76", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Come to an end - Letters: ___S_"}], "sampled": ["CEASE"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.575755+00:00"}
149
+ {"run_id": "230421003658QR6HADBZ", "event_id": 147, "sample_id": "partially_solved_crossword_clues.dev.76", "type": "match", "data": {"correct": true, "expected": "CEASE", "picked": "CEASE", "sampled": "CEASE", "options": ["CEASE"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.575816+00:00"}
150
+ {"run_id": "230421003658QR6HADBZ", "event_id": 148, "sample_id": "partially_solved_crossword_clues.dev.92", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: One vs. 52? - Letters: ___I___RE"}], "sampled": ["UNIVERSE"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.683539+00:00"}
151
+ {"run_id": "230421003658QR6HADBZ", "event_id": 149, "sample_id": "partially_solved_crossword_clues.dev.92", "type": "match", "data": {"correct": false, "expected": "SOLITAIRE", "picked": null, "sampled": "UNIVERSE", "options": ["SOLITAIRE"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.683603+00:00"}
152
+ {"run_id": "230421003658QR6HADBZ", "event_id": 150, "sample_id": "partially_solved_crossword_clues.dev.55", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Alternatives to GIFs - Letters: _I__A__"}], "sampled": ["VIDEOS"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.719675+00:00"}
153
+ {"run_id": "230421003658QR6HADBZ", "event_id": 151, "sample_id": "partially_solved_crossword_clues.dev.55", "type": "match", "data": {"correct": false, "expected": "BITMAPS", "picked": null, "sampled": "VIDEOS", "options": ["BITMAPS"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.719737+00:00"}
154
+ {"run_id": "230421003658QR6HADBZ", "event_id": 152, "sample_id": "partially_solved_crossword_clues.dev.79", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Potential cause of a respiratory problem - Letters: S___"}], "sampled": ["SMOG"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.746508+00:00"}
155
+ {"run_id": "230421003658QR6HADBZ", "event_id": 153, "sample_id": "partially_solved_crossword_clues.dev.79", "type": "match", "data": {"correct": true, "expected": "SMOG", "picked": "SMOG", "sampled": "SMOG", "options": ["SMOG"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.746569+00:00"}
156
+ {"run_id": "230421003658QR6HADBZ", "event_id": 154, "sample_id": "partially_solved_crossword_clues.dev.86", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: 1 on a scale of 1 to 5, maybe - Letters: __O_"}], "sampled": ["POOR"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.783660+00:00"}
157
+ {"run_id": "230421003658QR6HADBZ", "event_id": 155, "sample_id": "partially_solved_crossword_clues.dev.86", "type": "match", "data": {"correct": true, "expected": "POOR", "picked": "POOR", "sampled": "POOR", "options": ["POOR"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.783723+00:00"}
158
+ {"run_id": "230421003658QR6HADBZ", "event_id": 156, "sample_id": "partially_solved_crossword_clues.dev.97", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Sign of neglect - Letters: __S_"}], "sampled": ["MESS"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.831002+00:00"}
159
+ {"run_id": "230421003658QR6HADBZ", "event_id": 157, "sample_id": "partially_solved_crossword_clues.dev.97", "type": "match", "data": {"correct": false, "expected": "DUST", "picked": null, "sampled": "MESS", "options": ["DUST"]}, "created_by": "", "created_at": "2023-04-21 00:37:07.831059+00:00"}
160
+ {"run_id": "230421003658QR6HADBZ", "event_id": 158, "sample_id": "partially_solved_crossword_clues.dev.89", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Lets it all out, say - Letters: V____"}], "sampled": ["VENTS"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.047008+00:00"}
161
+ {"run_id": "230421003658QR6HADBZ", "event_id": 159, "sample_id": "partially_solved_crossword_clues.dev.89", "type": "match", "data": {"correct": true, "expected": "VENTS", "picked": "VENTS", "sampled": "VENTS", "options": ["VENTS"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.047069+00:00"}
162
+ {"run_id": "230421003658QR6HADBZ", "event_id": 160, "sample_id": "partially_solved_crossword_clues.dev.8", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Words of praise - Letters: _D_"}], "sampled": ["ODE"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.104532+00:00"}
163
+ {"run_id": "230421003658QR6HADBZ", "event_id": 161, "sample_id": "partially_solved_crossword_clues.dev.8", "type": "match", "data": {"correct": true, "expected": "ODE", "picked": "ODE", "sampled": "ODE", "options": ["ODE"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.104593+00:00"}
164
+ {"run_id": "230421003658QR6HADBZ", "event_id": 162, "sample_id": "partially_solved_crossword_clues.dev.0", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Shining intensely - Letters: _G___E"}], "sampled": ["AGLEAM"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.156227+00:00"}
165
+ {"run_id": "230421003658QR6HADBZ", "event_id": 163, "sample_id": "partially_solved_crossword_clues.dev.0", "type": "match", "data": {"correct": false, "expected": "AGLARE", "picked": null, "sampled": "AGLEAM", "options": ["AGLARE"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.156292+00:00"}
166
+ {"run_id": "230421003658QR6HADBZ", "event_id": 164, "sample_id": "partially_solved_crossword_clues.dev.31", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Like a screw after being turned counterclockwise - Letters: ___SE_"}], "sampled": ["LOOSE"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.394422+00:00"}
167
+ {"final_report": {"accuracy": 0.55}}
168
+ {"run_id": "230421003658QR6HADBZ", "event_id": 165, "sample_id": "partially_solved_crossword_clues.dev.31", "type": "match", "data": {"correct": false, "expected": "LOOSER", "picked": null, "sampled": "LOOSE", "options": ["LOOSER"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.416243+00:00"}
169
+ {"run_id": "230421003658QR6HADBZ", "event_id": 166, "sample_id": "partially_solved_crossword_clues.dev.17", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Formal - Letters: D_E___"}], "sampled": ["DECENT"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.449801+00:00"}
170
+ {"run_id": "230421003658QR6HADBZ", "event_id": 167, "sample_id": "partially_solved_crossword_clues.dev.17", "type": "match", "data": {"correct": false, "expected": "DRESSY", "picked": null, "sampled": "DECENT", "options": ["DRESSY"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.449860+00:00"}
171
+ {"run_id": "230421003658QR6HADBZ", "event_id": 168, "sample_id": "partially_solved_crossword_clues.dev.99", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Stuff - Letters: _A__"}], "sampled": ["SACK"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.608906+00:00"}
172
+ {"run_id": "230421003658QR6HADBZ", "event_id": 169, "sample_id": "partially_solved_crossword_clues.dev.99", "type": "match", "data": {"correct": false, "expected": "SATE", "picked": null, "sampled": "SACK", "options": ["SATE"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.608966+00:00"}
173
+ {"run_id": "230421003658QR6HADBZ", "event_id": 170, "sample_id": "partially_solved_crossword_clues.dev.88", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Secures - Letters: __C__"}], "sampled": ["LOCKS"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.727630+00:00"}
174
+ {"run_id": "230421003658QR6HADBZ", "event_id": 171, "sample_id": "partially_solved_crossword_clues.dev.88", "type": "match", "data": {"correct": true, "expected": "LOCKS", "picked": "LOCKS", "sampled": "LOCKS", "options": ["LOCKS"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.727691+00:00"}
175
+ {"run_id": "230421003658QR6HADBZ", "event_id": 172, "sample_id": "partially_solved_crossword_clues.dev.90", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: They can make a huge impact - Letters: A____O_D_"}], "sampled": ["ASTEROID"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.892405+00:00"}
176
+ {"run_id": "230421003658QR6HADBZ", "event_id": 173, "sample_id": "partially_solved_crossword_clues.dev.90", "type": "match", "data": {"correct": false, "expected": "ASTEROIDS", "picked": null, "sampled": "ASTEROID", "options": ["ASTEROIDS"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.892466+00:00"}
177
+ {"run_id": "230421003658QR6HADBZ", "event_id": 174, "sample_id": "partially_solved_crossword_clues.dev.42", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Fodder for an analyst - Letters: _T___"}], "sampled": ["STATS"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.951719+00:00"}
178
+ {"run_id": "230421003658QR6HADBZ", "event_id": 175, "sample_id": "partially_solved_crossword_clues.dev.42", "type": "match", "data": {"correct": true, "expected": "STATS", "picked": "STATS", "sampled": "STATS", "options": ["STATS"]}, "created_by": "", "created_at": "2023-04-21 00:37:08.951780+00:00"}
179
+ {"run_id": "230421003658QR6HADBZ", "event_id": 176, "sample_id": "partially_solved_crossword_clues.dev.20", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Word has it! - Letters: ____O_OG_"}], "sampled": ["EPILOGUE"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.177499+00:00"}
180
+ {"run_id": "230421003658QR6HADBZ", "event_id": 177, "sample_id": "partially_solved_crossword_clues.dev.20", "type": "match", "data": {"correct": false, "expected": "ETYMOLOGY", "picked": null, "sampled": "EPILOGUE", "options": ["ETYMOLOGY"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.177559+00:00"}
181
+ {"run_id": "230421003658QR6HADBZ", "event_id": 178, "sample_id": "partially_solved_crossword_clues.dev.71", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Tedious sort - Letters: B___"}], "sampled": ["BORE"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.186099+00:00"}
182
+ {"run_id": "230421003658QR6HADBZ", "event_id": 179, "sample_id": "partially_solved_crossword_clues.dev.71", "type": "match", "data": {"correct": true, "expected": "BORE", "picked": "BORE", "sampled": "BORE", "options": ["BORE"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.186157+00:00"}
183
+ {"run_id": "230421003658QR6HADBZ", "event_id": 180, "sample_id": "partially_solved_crossword_clues.dev.4", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Fairy lookalike - Letters: S____E"}], "sampled": ["SPRITE"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.303205+00:00"}
184
+ {"run_id": "230421003658QR6HADBZ", "event_id": 181, "sample_id": "partially_solved_crossword_clues.dev.4", "type": "match", "data": {"correct": true, "expected": "SPRITE", "picked": "SPRITE", "sampled": "SPRITE", "options": ["SPRITE"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.303265+00:00"}
185
+ {"run_id": "230421003658QR6HADBZ", "event_id": 182, "sample_id": "partially_solved_crossword_clues.dev.43", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Vocal feature - Letters: __S_"}], "sampled": ["RASP"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.330410+00:00"}
186
+ {"run_id": "230421003658QR6HADBZ", "event_id": 183, "sample_id": "partially_solved_crossword_clues.dev.43", "type": "match", "data": {"correct": true, "expected": "RASP", "picked": "RASP", "sampled": "RASP", "options": ["RASP"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.330468+00:00"}
187
+ {"run_id": "230421003658QR6HADBZ", "event_id": 184, "sample_id": "partially_solved_crossword_clues.dev.68", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Stolen goods - Letters: ___IL_"}], "sampled": ["LOOT"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.338648+00:00"}
188
+ {"run_id": "230421003658QR6HADBZ", "event_id": 185, "sample_id": "partially_solved_crossword_clues.dev.68", "type": "match", "data": {"correct": false, "expected": "SPOILS", "picked": null, "sampled": "LOOT", "options": ["SPOILS"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.338707+00:00"}
189
+ {"run_id": "230421003658QR6HADBZ", "event_id": 186, "sample_id": "partially_solved_crossword_clues.dev.48", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Browns, e.g. - Letters: E___H_O___"}], "sampled": ["EARTHTONES"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.525006+00:00"}
190
+ {"run_id": "230421003658QR6HADBZ", "event_id": 187, "sample_id": "partially_solved_crossword_clues.dev.48", "type": "match", "data": {"correct": true, "expected": "EARTHTONES", "picked": "EARTHTONES", "sampled": "EARTHTONES", "options": ["EARTHTONES"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.525064+00:00"}
191
+ {"run_id": "230421003658QR6HADBZ", "event_id": 188, "sample_id": "partially_solved_crossword_clues.dev.13", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Result of some bargaining - Letters: _L__"}], "sampled": ["DEAL"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.600174+00:00"}
192
+ {"run_id": "230421003658QR6HADBZ", "event_id": 189, "sample_id": "partially_solved_crossword_clues.dev.13", "type": "match", "data": {"correct": false, "expected": "PLEA", "picked": null, "sampled": "DEAL", "options": ["PLEA"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.600239+00:00"}
193
+ {"run_id": "230421003658QR6HADBZ", "event_id": 190, "sample_id": "partially_solved_crossword_clues.dev.98", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Abrogate - Letters: ___O"}], "sampled": ["VOID"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.886206+00:00"}
194
+ {"run_id": "230421003658QR6HADBZ", "event_id": 191, "sample_id": "partially_solved_crossword_clues.dev.98", "type": "match", "data": {"correct": false, "expected": "UNDO", "picked": null, "sampled": "VOID", "options": ["UNDO"]}, "created_by": "", "created_at": "2023-04-21 00:37:09.886264+00:00"}
195
+ {"run_id": "230421003658QR6HADBZ", "event_id": 192, "sample_id": "partially_solved_crossword_clues.dev.11", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Expose - Letters: __R_"}], "sampled": ["BARE"]}, "created_by": "", "created_at": "2023-04-21 00:37:10.014266+00:00"}
196
+ {"run_id": "230421003658QR6HADBZ", "event_id": 193, "sample_id": "partially_solved_crossword_clues.dev.11", "type": "match", "data": {"correct": true, "expected": "BARE", "picked": "BARE", "sampled": "BARE", "options": ["BARE"]}, "created_by": "", "created_at": "2023-04-21 00:37:10.014323+00:00"}
197
+ {"run_id": "230421003658QR6HADBZ", "event_id": 194, "sample_id": "partially_solved_crossword_clues.dev.6", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Family member - Letters: _OB____"}], "sampled": ["ROBUST"]}, "created_by": "", "created_at": "2023-04-21 00:37:10.339557+00:00"}
198
+ {"run_id": "230421003658QR6HADBZ", "event_id": 195, "sample_id": "partially_solved_crossword_clues.dev.6", "type": "match", "data": {"correct": false, "expected": "MOBSTER", "picked": null, "sampled": "ROBUST", "options": ["MOBSTER"]}, "created_by": "", "created_at": "2023-04-21 00:37:10.339615+00:00"}
199
+ {"run_id": "230421003658QR6HADBZ", "event_id": 196, "sample_id": "partially_solved_crossword_clues.dev.52", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Pallid - Letters: A___"}], "sampled": ["ASHEN"]}, "created_by": "", "created_at": "2023-04-21 00:37:10.494452+00:00"}
200
+ {"run_id": "230421003658QR6HADBZ", "event_id": 197, "sample_id": "partially_solved_crossword_clues.dev.52", "type": "match", "data": {"correct": false, "expected": "ASHY", "picked": null, "sampled": "ASHEN", "options": ["ASHY"]}, "created_by": "", "created_at": "2023-04-21 00:37:10.494510+00:00"}
201
+ {"run_id": "230421003658QR6HADBZ", "event_id": 198, "sample_id": "partially_solved_crossword_clues.dev.34", "type": "sampling", "data": {"prompt": [{"role": "system", "content": "Give the answer to this crossword clue, respecting the already placed letters which will be indicated after the clue. Provide only the answer, in capital letters."}, {"role": "user", "content": "Clue: Waits on - Letters: S____S"}], "sampled": ["SERVES"]}, "created_by": "", "created_at": "2023-04-21 00:37:10.621688+00:00"}
202
+ {"run_id": "230421003658QR6HADBZ", "event_id": 199, "sample_id": "partially_solved_crossword_clues.dev.34", "type": "match", "data": {"correct": true, "expected": "SERVES", "picked": "SERVES", "sampled": "SERVES", "options": ["SERVES"]}, "created_by": "", "created_at": "2023-04-21 00:37:10.621746+00:00"}
evals/crossword/crossword_fns.py CHANGED
@@ -1,5 +1,5 @@
1
- from zeno import distill, DistillReturn
2
  from wordfreq import word_frequency
 
3
 
4
 
5
  @distill
 
 
1
  from wordfreq import word_frequency
2
+ from zeno import DistillReturn, distill
3
 
4
 
5
  @distill
evals/emotional-intelligence/{emotional-intelligence-turbo-0301.jsonl → emotional-intelligence-0301.jsonl} RENAMED
File without changes
evals/evals.yaml CHANGED
@@ -1,12 +1,11 @@
1
  - crossword:
2
  results-file: ./crossword/crossword-turbo.jsonl
3
- second-results-file: ./crossword/crossword-turbo-0301.jsonl
4
  functions-file: ./crossword/crossword_fns.py
5
  link: https://github.com/openai/evals/tree/main/evals/registry/data/partially_solved_crossword_clues
6
- - emotional-intelligence:
7
- results-file: ./crossword/crossword-turbo.jsonl
8
- second-results-file: ./crossword/crossword-turbo-0301.jsonl
9
- link: https://github.com/openai/evals/tree/main/evals/registry/data/partially_solved_crossword_clues
10
- - crossword-only-result:
11
- results-file: ./crossword/crossword-turbo.jsonl
12
- link: https://github.com/openai/evals/tree/main/evals/registry/data/partially_solved_crossword_clues
 
1
  - crossword:
2
  results-file: ./crossword/crossword-turbo.jsonl
3
+ second-results-file: ./crossword/crossword-4.jsonl
4
  functions-file: ./crossword/crossword_fns.py
5
  link: https://github.com/openai/evals/tree/main/evals/registry/data/partially_solved_crossword_clues
6
+ - us-tort-law:
7
+ results-file: ./us-tort-law/us-tort-law-turbo.jsonl
8
+ link: https://github.com/openai/evals/tree/main/evals/registry/data/us-tort-law
9
+ # - emotional-intelligence:
10
+ # results-file: ./emotional-intelligence/emotional-intelligence-turbo.jsonl
11
+ # link: https://github.com/openai/evals/tree/main/evals/registry/data/emotional-intelligence
 
evals/us-tort-law/us-tort-law-turbo.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
frontend/src/App.svelte CHANGED
@@ -8,7 +8,7 @@
8
 
9
  <main>
10
  <header>
11
- <h1>Evals Hub</h1>
12
  </header>
13
  <div class="tagline">
14
  Explore and compare the results of
@@ -20,6 +20,8 @@
20
  <img class="open_ai" src="./build/zeno.png" alt="Zeno logo" />
21
  <b><a href="https://github.com/zeno-ml/zeno/stargazers">Zeno</a></b>
22
  </div>
 
 
23
  <!-- table with links to zeno sites. -->
24
  <div id="container">
25
  <div id="table-background">
@@ -40,12 +42,14 @@
40
  {#each final_data as d}
41
  {@const name = Object.keys(d)[0]}
42
  <tr>
43
- <td><a href="#"><span class="name-wrap">{name}</span></a> </td>
 
 
44
  <td>
45
  {#each d[name]["models"] as m}{m}<br />{/each}
46
  </td>
47
  <td>
48
- {#each d[name]["accuracy"] as a}{a}%<br />{/each}
49
  </td>
50
  <td>
51
  {#each d[name]["events"] as e}{e}<br />{/each}
 
8
 
9
  <main>
10
  <header>
11
+ <h1>Zeno Evals Hub</h1>
12
  </header>
13
  <div class="tagline">
14
  Explore and compare the results of
 
20
  <img class="open_ai" src="./build/zeno.png" alt="Zeno logo" />
21
  <b><a href="https://github.com/zeno-ml/zeno/stargazers">Zeno</a></b>
22
  </div>
23
+ <br />
24
+ <div>Add your own evals!</div>
25
  <!-- table with links to zeno sites. -->
26
  <div id="container">
27
  <div id="table-background">
 
42
  {#each final_data as d}
43
  {@const name = Object.keys(d)[0]}
44
  <tr>
45
+ <td
46
+ ><a href={d[name]["link"]}><span class="name-wrap">{name}</span></a>
47
+ </td>
48
  <td>
49
  {#each d[name]["models"] as m}{m}<br />{/each}
50
  </td>
51
  <td>
52
+ {#each d[name]["accuracy"] as a}{a.toFixed(2)}%<br />{/each}
53
  </td>
54
  <td>
55
  {#each d[name]["events"] as e}{e}<br />{/each}
poetry.lock CHANGED
@@ -2153,14 +2153,14 @@ diagrams = ["jinja2", "railroad-diagrams"]
2153
 
2154
  [[package]]
2155
  name = "pyright"
2156
- version = "1.1.303"
2157
  description = "Command line wrapper for pyright"
2158
  category = "dev"
2159
  optional = false
2160
  python-versions = ">=3.7"
2161
  files = [
2162
- {file = "pyright-1.1.303-py3-none-any.whl", hash = "sha256:8fe3d122d7e965e2df2cef64e1ceb98cff8200f458e7892d92a4c21ee85689c7"},
2163
- {file = "pyright-1.1.303.tar.gz", hash = "sha256:7daa516424555681e8974b21a95c108c5def791bf5381522b1410026d4da62c1"},
2164
  ]
2165
 
2166
  [package.dependencies]
@@ -2519,14 +2519,14 @@ doc = ["Sphinx", "sphinx-rtd-theme"]
2519
 
2520
  [[package]]
2521
  name = "setuptools"
2522
- version = "67.6.1"
2523
  description = "Easily download, build, install, upgrade, and uninstall Python packages"
2524
  category = "main"
2525
  optional = false
2526
  python-versions = ">=3.7"
2527
  files = [
2528
- {file = "setuptools-67.6.1-py3-none-any.whl", hash = "sha256:e728ca814a823bf7bf60162daf9db95b93d532948c4c0bea762ce62f60189078"},
2529
- {file = "setuptools-67.6.1.tar.gz", hash = "sha256:257de92a9d50a60b8e22abfcbb771571fde0dbf3ec234463212027a4eeecbe9a"},
2530
  ]
2531
 
2532
  [package.extras]
@@ -2997,14 +2997,14 @@ multidict = ">=4.0"
2997
 
2998
  [[package]]
2999
  name = "zeno-evals"
3000
- version = "0.1.7"
3001
  description = "Visualize OpenAI evals with Zeno"
3002
  category = "main"
3003
  optional = false
3004
  python-versions = ">=3.9,<=3.11"
3005
  files = [
3006
- {file = "zeno_evals-0.1.7-py3-none-any.whl", hash = "sha256:90f6e3d97482a9dc3d96827c41f937cb103cdf206c0fb7e29f3c0f2c7589bc01"},
3007
- {file = "zeno_evals-0.1.7.tar.gz", hash = "sha256:81b1e2691ed653e03253a7dd3b0e8400912b8d4a51159c1df2be5b2fd4ef157d"},
3008
  ]
3009
 
3010
  [package.dependencies]
@@ -3059,4 +3059,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more
3059
  [metadata]
3060
  lock-version = "2.0"
3061
  python-versions = "^3.9.0,<=3.11"
3062
- content-hash = "e3e486f004e684037c149d02033492fbb44dda001e7cbd31b1f1c8967ad056c9"
 
2153
 
2154
  [[package]]
2155
  name = "pyright"
2156
+ version = "1.1.304"
2157
  description = "Command line wrapper for pyright"
2158
  category = "dev"
2159
  optional = false
2160
  python-versions = ">=3.7"
2161
  files = [
2162
+ {file = "pyright-1.1.304-py3-none-any.whl", hash = "sha256:70021bbae07fc28ed16e435f5efa65cd71e06a1888d9ca998798c283d4b3d010"},
2163
+ {file = "pyright-1.1.304.tar.gz", hash = "sha256:87adec38081904c939e3657ab23d5fc40b7ccc22709be0af1859fc785ae4ea61"},
2164
  ]
2165
 
2166
  [package.dependencies]
 
2519
 
2520
  [[package]]
2521
  name = "setuptools"
2522
+ version = "67.7.1"
2523
  description = "Easily download, build, install, upgrade, and uninstall Python packages"
2524
  category = "main"
2525
  optional = false
2526
  python-versions = ">=3.7"
2527
  files = [
2528
+ {file = "setuptools-67.7.1-py3-none-any.whl", hash = "sha256:6f0839fbdb7e3cfef1fc38d7954f5c1c26bf4eebb155a55c9bf8faf997b9fb67"},
2529
+ {file = "setuptools-67.7.1.tar.gz", hash = "sha256:bb16732e8eb928922eabaa022f881ae2b7cdcfaf9993ef1f5e841a96d32b8e0c"},
2530
  ]
2531
 
2532
  [package.extras]
 
2997
 
2998
  [[package]]
2999
  name = "zeno-evals"
3000
+ version = "0.1.8"
3001
  description = "Visualize OpenAI evals with Zeno"
3002
  category = "main"
3003
  optional = false
3004
  python-versions = ">=3.9,<=3.11"
3005
  files = [
3006
+ {file = "zeno_evals-0.1.8-py3-none-any.whl", hash = "sha256:64ff4b7e1f247be7d591c190cc909eaf02d83f1850549a6d97b33f109830dcf5"},
3007
+ {file = "zeno_evals-0.1.8.tar.gz", hash = "sha256:cea1ba179c2594294ddeca0391842ccc476701a34572fe2733e3512eca8d8a9c"},
3008
  ]
3009
 
3010
  [package.dependencies]
 
3059
  [metadata]
3060
  lock-version = "2.0"
3061
  python-versions = "^3.9.0,<=3.11"
3062
+ content-hash = "8cdb312a4e47f0c40a7d68d98eabd87ebbca4d8be8effd857af440212db659ad"
pyproject.toml CHANGED
@@ -10,7 +10,7 @@ zenoml = "^0.4.7"
10
  python = "^3.9.0,<=3.11"
11
  fastapi = "^0.95.0"
12
  uvicorn = "^0.21.1"
13
- zeno-evals = "^0.1.5"
14
  pyyaml = "^6.0"
15
  wordfreq = "^3.0.3"
16
 
 
10
  python = "^3.9.0,<=3.11"
11
  fastapi = "^0.95.0"
12
  uvicorn = "^0.21.1"
13
+ zeno-evals = "^0.1.8"
14
  pyyaml = "^6.0"
15
  wordfreq = "^3.0.3"
16
 
zeno-evals-hub/main.py CHANGED
@@ -6,8 +6,8 @@ import uvicorn
6
  import yaml # type: ignore
7
  from fastapi import FastAPI
8
  from fastapi.staticfiles import StaticFiles
9
- from zeno import get_server, zeno, ZenoParameters # type: ignore
10
- from zeno_evals import generate_zeno_config # type: ignore
11
 
12
 
13
  # parse information in spec
@@ -39,30 +39,6 @@ def prepare_zeno_params(config: ZenoParameters):
39
  return res
40
 
41
 
42
- # handle not having a second results or functions file
43
- def prepare_zeno_config(params, second_exits, function_exists) -> ZenoParameters:
44
- if second_exits and function_exists:
45
- return generate_zeno_config(
46
- params["results-file"],
47
- params["second-results-file"],
48
- params["functions-file"],
49
- )
50
- elif second_exits:
51
- return generate_zeno_config(
52
- params["results-file"],
53
- params["second-results-file"],
54
- )
55
- elif function_exists:
56
- return generate_zeno_config(
57
- params["results-file"],
58
- params["functions-file"],
59
- )
60
- else:
61
- return generate_zeno_config(
62
- params["results-file"],
63
- )
64
-
65
-
66
  def command_line():
67
  app = FastAPI(title="Frontend API")
68
  args = []
@@ -82,12 +58,12 @@ def command_line():
82
  params = entry[name]
83
 
84
  second_exists = True if "second-results-file" in params else False
85
- function_exists = True if "function-results" in params else False
86
 
87
  res_spec = prepare_spec(params["results-file"])
88
  params["models"] = [res_spec["models"]]
89
  params["accuracy"] = [res_spec["accuracy"]]
90
  params["events"] = [res_spec["events"]]
 
91
 
92
  if second_exists:
93
  sec_res_spec = prepare_spec(params["second-results-file"])
@@ -95,8 +71,16 @@ def command_line():
95
  params["accuracy"].append(sec_res_spec["accuracy"])
96
  params["events"].append(sec_res_spec["events"])
97
 
98
- config = prepare_zeno_config(params, second_exists, function_exists)
 
 
 
 
 
 
99
  config.serve = False
 
 
100
  zeno_obj = zeno(config)
101
  if zeno_obj is None:
102
  sys.exit(1)
 
6
  import yaml # type: ignore
7
  from fastapi import FastAPI
8
  from fastapi.staticfiles import StaticFiles
9
+ from zeno import ZenoParameters, get_server, zeno # type: ignore
10
+ from zeno_evals import ZenoEvals
11
 
12
 
13
  # parse information in spec
 
39
  return res
40
 
41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  def command_line():
43
  app = FastAPI(title="Frontend API")
44
  args = []
 
58
  params = entry[name]
59
 
60
  second_exists = True if "second-results-file" in params else False
 
61
 
62
  res_spec = prepare_spec(params["results-file"])
63
  params["models"] = [res_spec["models"]]
64
  params["accuracy"] = [res_spec["accuracy"]]
65
  params["events"] = [res_spec["events"]]
66
+ params["link"] = [params["link"]]
67
 
68
  if second_exists:
69
  sec_res_spec = prepare_spec(params["second-results-file"])
 
71
  params["accuracy"].append(sec_res_spec["accuracy"])
72
  params["events"].append(sec_res_spec["events"])
73
 
74
+ zeno_eval = ZenoEvals(
75
+ params.get("results-file"),
76
+ params.get("second-results-file"),
77
+ params.get("functions-file"),
78
+ )
79
+ config = zeno_eval.generate_zeno_config()
80
+
81
  config.serve = False
82
+ config.cache_path = "./.zeno_cache_" + name
83
+
84
  zeno_obj = zeno(config)
85
  if zeno_obj is None:
86
  sys.exit(1)