Datasets:
key stringlengths 22 33 | intent stringclasses 228
values | template_id stringclasses 62
values | seed int64 1 5k | traces listlengths 3 3 | candidates listlengths 3 3 |
|---|---|---|---|---|---|
harness/harness_add_4/1 | add the inputs together | harness_add_4 | 1 | [
"{\"dt\": 0.016666666666666666, \"ticks\": [\n {\"a\": true, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": false, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": true, \"b\... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_4\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m, IN3=k, IN4=-2)\nv = g.OUT\n",
"fbd_sha": "d42c6462c98a030926f9fb63838125b9e... |
harness/harness_add_4/2 | the total | harness_add_4 | 2 | [
"{\"dt\": 0.03333333333333333, \"ticks\": [\n {\"a\": false, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": true, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": false, \"b\... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_4\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m, IN3=k, IN4=2)\nv = g.OUT\n",
"fbd_sha": "edc72d8b67661afa2fd12a461e8e0932a9... |
harness/harness_add_4/3 | the sum of the inputs | harness_add_4 | 3 | [
"{\"dt\": 0.016666666666666666, \"ticks\": [\n {\"a\": false, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": true, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": false, \"b... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_4\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m, IN3=k, IN4=4)\nv = g.OUT\n",
"fbd_sha": "bcb101abb3661de58e7ffc0d2950e36e01... |
harness/harness_add_4/4 | add the inputs together | harness_add_4 | 4 | [
"{\"dt\": 0.03333333333333333, \"ticks\": [\n {\"a\": false, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": true, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": true, \"b\"... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_4\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m, IN3=k, IN4=-3)\nv = g.OUT\n",
"fbd_sha": "460a949e2d79f3c446f5dd00751c337b0... |
harness/harness_add_4/5 | the total | harness_add_4 | 5 | [
"{\"dt\": 0.016666666666666666, \"ticks\": [\n {\"a\": false, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": true, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": true, \"b\... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_4\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m, IN3=k, IN4=2)\nv = g.OUT\n",
"fbd_sha": "edc72d8b67661afa2fd12a461e8e0932a9... |
harness/harness_add_4/6 | the sum of the inputs | harness_add_4 | 6 | [
"{\"dt\": 0.03333333333333333, \"ticks\": [\n {\"a\": false, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": true, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": true, \"b\"... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_4\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m, IN3=k, IN4=5)\nv = g.OUT\n",
"fbd_sha": "e83ae18e2f129e96a6a686beb393b47e29... |
harness/harness_add_4/7 | add the inputs together | harness_add_4 | 7 | [
"{\"dt\": 0.016666666666666666, \"ticks\": [\n {\"a\": false, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": true, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": true, \"b\... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_4\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m, IN3=k, IN4=0)\nv = g.OUT\n",
"fbd_sha": "5155bda818e7eaa8e43ed70d098e6d7a79... |
harness/harness_add_4/8 | the total | harness_add_4 | 8 | [
"{\"dt\": 0.03333333333333333, \"ticks\": [\n {\"a\": true, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": true, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": false, \"b\"... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_4\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m, IN3=k, IN4=-2)\nv = g.OUT\n",
"fbd_sha": "d42c6462c98a030926f9fb63838125b9e... |
harness/harness_add_4/9 | the sum of the inputs | harness_add_4 | 9 | [
"{\"dt\": 0.016666666666666666, \"ticks\": [\n {\"a\": true, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": true, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": false, \"b\... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_4\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m, IN3=k, IN4=4)\nv = g.OUT\n",
"fbd_sha": "bcb101abb3661de58e7ffc0d2950e36e01... |
harness/harness_add_int/11 | the total | harness_add_int | 11 | [
"{\"dt\": 0.016666666666666666, \"ticks\": [\n {\"a\": false, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": false, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": false, \"... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_int\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m)\nv = g.OUT\n",
"fbd_sha": "1a3b0fddbe75bb563adda5e3f645f1c981475e03977d3a... |
harness/harness_add_int/12 | the sum of the inputs | harness_add_int | 12 | [
"{\"dt\": 0.03333333333333333, \"ticks\": [\n {\"a\": true, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": false, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": true, \"b\"... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_int\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m)\nv = g.OUT\n",
"fbd_sha": "1a3b0fddbe75bb563adda5e3f645f1c981475e03977d3a... |
harness/harness_add_int/13 | add the inputs together | harness_add_int | 13 | [
"{\"dt\": 0.016666666666666666, \"ticks\": [\n {\"a\": true, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": false, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": true, \"b\... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_int\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m)\nv = g.OUT\n",
"fbd_sha": "1a3b0fddbe75bb563adda5e3f645f1c981475e03977d3a... |
harness/harness_add_int/14 | the total | harness_add_int | 14 | [
"{\"dt\": 0.03333333333333333, \"ticks\": [\n {\"a\": false, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": true, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": false, \"b\... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_int\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m)\nv = g.OUT\n",
"fbd_sha": "1a3b0fddbe75bb563adda5e3f645f1c981475e03977d3a... |
harness/harness_add_int/15 | the sum of the inputs | harness_add_int | 15 | [
"{\"dt\": 0.016666666666666666, \"ticks\": [\n {\"a\": false, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": true, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": false, \"b... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_int\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m)\nv = g.OUT\n",
"fbd_sha": "1a3b0fddbe75bb563adda5e3f645f1c981475e03977d3a... |
harness/harness_add_int/16 | add the inputs together | harness_add_int | 16 | [
"{\"dt\": 0.03333333333333333, \"ticks\": [\n {\"a\": false, \"b\": false, \"c\": true, \"d\": true, \"e\": true, \"n\": 0, \"m\": 9, \"k\": 0, \"x\": 0.0, \"y\": 4.5},\n {\"a\": true, \"b\": false, \"c\": false, \"d\": false, \"e\": true, \"n\": 1, \"m\": 0, \"k\": 1, \"x\": 1.5, \"y\": 0.0},\n {\"a\": true, \"b\"... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program add_int\nin a : BOOL\nin b : BOOL\nin c : BOOL\nin d : BOOL\nin e : BOOL\nin n : INT\nin m : INT\nin k : INT\nin x : REAL\nin y : REAL\nout v : INT\ng = ADD(IN1=n, IN2=m)\nv = g.OUT\n",
"fbd_sha": "1a3b0fddbe75bb563adda5e3f645f1c981475e03977d3a... |
taskweft-fbd-harness-train
Intents and the IEC 61131-3 Function Block Diagrams that carry them out, as an EditScore-shaped corpus: one root row per intent, three candidates per row (rank1 the reference diagram, rank3 one that compiles and does the wrong thing, rank5 one the compiler refuses), and one score row per candidate from the compiler's reference scan, rank1's outputs the reference for the others. Every row is constructed from a template and a seed, so the labels are true by construction and the corpus regenerates from the seeds. Controls were asserted on every row before the emit.
Three splits. train trains. test is the same distribution with every tenth seed
held out: the gate after training. evaluation is whole held-out families and block
kinds (GE, MOD, RS, TOF), never trained or tuned on.
What a row carries
Every artefact is in the parquet; nothing points outside it.
harness_root, one row per intent: key, intent, template_id, seed,
frame_id, blocks (the block kinds and signatures the reference diagram uses),
traces (the input traces as JSON strings, empty where the family has none), and
the EditScore stub columns.
harness_candidates, three per row: candidate and rank, fbd_text (the
compiler's text form, verbatim), fbd_xml (the PLCopen XML, verbatim),
plan_json and result_json (what the compiler planned and what the runner
returned, where the family has a runner), fbd_sha (sha256 of the text the
candidate was built from), fbd_path (where the writer kept it on disk) and
provenance. An artefact a family does not produce is an empty string, never a
null.
harness_scores, three per row: parses, compiles, runs, effect_matches,
steps, wall_ms, refusal.
harness is the joined view and the default config: the root row with its
candidates, each carrying its scores.
Rows: 5000 (4059 train, 451 test, 490 evaluation). Templates: {"harness_add_4": 80, "harness_add_int": 80, "harness_add_mixed": 80, "harness_add_real": 80, "harness_and_2": 80, "harness_and_4": 80, "harness_and_en": 80, "harness_and_feedback": 80, "harness_chain_count": 80, "harness_chain_hold": 80, "harness_div_en": 80, "harness_div_int": 80, "harness_div_mixed": 80, "harness_div_real": 80, "harness_eq_int": 80, "harness_eq_real": 80, "harness_f_trig": 80, "harness_f_trig_en": 70, "harness_ge_int": 70, "harness_ge_real": 70, "harness_gt_int": 70, "harness_gt_real": 70, "harness_le_int": 70, "harness_le_real": 70, "harness_limit_int": 70, "harness_limit_real": 70, "harness_lt_int": 70, "harness_lt_real": 70, "harness_max_real": 70, "harness_min_int": 70, "harness_mod_int": 70, "harness_move_bool": 70, "harness_move_int": 70, "harness_move_real": 70, "harness_mul_3": 70, "harness_mul_int": 70, "harness_mul_mixed": 70, "harness_mul_real": 70, "harness_mux_3": 70, "harness_ne_int": 70, "harness_ne_real": 70, "harness_not_1": 70, "harness_or_2": 70, "harness_or_4": 70, "harness_or_en": 70, "harness_or_feedback": 70, "harness_r_trig": 70, "harness_r_trig_en": 70, "harness_rs": 70, "harness_sel_int": 70, "harness_sel_real": 70, "harness_sr": 70, "harness_sr_edge": 70, "harness_sub_int": 70, "harness_sub_mixed": 70, "harness_sub_real": 70, "harness_tof": 70, "harness_tof_en": 70, "harness_tof_pt_wire": 70, "harness_ton": 70, "harness_ton_en": 70, "harness_ton_pt_wire": 70, "harness_tp": 70, "harness_tp_en": 70, "harness_tp_pt_wire": 70, "harness_xor_2": 70, "harness_xor_4": 70, "harness_xor_en": 70, "harness_xor_feedback": 70}. Compiler: taskweft-fbd-compiler 72c2603. Source: v-sekai-fabric/taskweft-fbd-teacher.
- Downloads last month
- 56