Datasets:
key stringlengths 51 67 | intent stringlengths 101 164 | template_id stringclasses 4
values | seed int64 11 5k | traces listlengths 3 3 | candidates listlengths 3 3 |
|---|---|---|---|---|---|
compose/compose_face_the_stick_button_sequence_then_idle/11 | keep the facing aligned with the left stick; and a press of the button starts style 8; after 875 milliseconds return to idle | compose_face_the_stick_button_sequence_then_idle | 11 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.848, \"ly\": -0.069, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.016, \"ly\": 0.175, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.631, \"ly\": 0.024, \"btn\": false, \"tracker_ok\": true}, {\"lx\":... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program compose_face_the_stick_button_sequence_then_idle\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nout style : INT\nvar b_greeting : BOOL\na_fx = MOVE(IN=lx)\na_fz = MOVE(IN=ly)\nb_press = R_TRI... |
compose/compose_face_the_stick_button_sequence_then_idle/12 | face the way the left stick points; and when the button is pressed play style 8 for 625 milliseconds, then idle | compose_face_the_stick_button_sequence_then_idle | 12 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.333, \"ly\": -0.715, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.978, \"ly\": -0.25, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.452, \"ly\": 0.621, \"btn\": false, \"tracker_ok\": true}, {\"lx\"... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program compose_face_the_stick_button_sequence_then_idle\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nout style : INT\nvar b_greeting : BOOL\na_fx = MOVE(IN=lx)\na_fz = MOVE(IN=ly)\nb_press = R_TRI... |
compose/compose_face_the_stick_button_sequence_then_idle/13 | turn to face the stick direction every frame; and on a button press, switch to style 5, hold it 625 ms, and go back to idle | compose_face_the_stick_button_sequence_then_idle | 13 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.368, \"ly\": 0.699, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.629, \"ly\": -0.539, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.706, \"ly\": -0.55, \"btn\": false, \"tracker_ok\": true}, {\"lx\"... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program compose_face_the_stick_button_sequence_then_idle\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nout style : INT\nvar b_greeting : BOOL\na_fx = MOVE(IN=lx)\na_fz = MOVE(IN=ly)\nb_press = R_TRI... |
compose/compose_face_the_stick_button_sequence_then_idle/14 | keep the facing aligned with the left stick; and a press of the button starts style 2; after 875 milliseconds return to idle | compose_face_the_stick_button_sequence_then_idle | 14 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.304, \"ly\": 0.881, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.458, \"ly\": -0.488, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.468, \"ly\": 0.317, \"btn\": false, \"tracker_ok\": true}, {\"lx\":... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program compose_face_the_stick_button_sequence_then_idle\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nout style : INT\nvar b_greeting : BOOL\na_fx = MOVE(IN=lx)\na_fz = MOVE(IN=ly)\nb_press = R_TRI... |
compose/compose_face_the_stick_button_sequence_then_idle/15 | face the way the left stick points; and when the button is pressed play style 4 for 375 milliseconds, then idle | compose_face_the_stick_button_sequence_then_idle | 15 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.472, \"ly\": -0.684, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.973, \"ly\": -0.966, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.759, \"ly\": 0.363, \"btn\": false, \"tracker_ok\": true}, {\"lx\":... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program compose_face_the_stick_button_sequence_then_idle\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nout style : INT\nvar b_greeting : BOOL\na_fx = MOVE(IN=lx)\na_fz = MOVE(IN=ly)\nb_press = R_TRI... |
compose/compose_face_the_stick_button_sequence_then_idle/16 | turn to face the stick direction every frame; and on a button press, switch to style 6, hold it 750 ms, and go back to idle | compose_face_the_stick_button_sequence_then_idle | 16 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.166, \"ly\": -0.106, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.181, \"ly\": 0.315, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.482, \"ly\": 0.27, \"btn\": false, \"tracker_ok\": true}, {\"lx\"... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program compose_face_the_stick_button_sequence_then_idle\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nout style : INT\nvar b_greeting : BOOL\na_fx = MOVE(IN=lx)\na_fz = MOVE(IN=ly)\nb_press = R_TRI... |
compose/compose_face_the_stick_button_sequence_then_idle/17 | keep the facing aligned with the left stick; and a press of the button starts style 9; after 750 milliseconds return to idle | compose_face_the_stick_button_sequence_then_idle | 17 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.921, \"ly\": -0.421, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.532, \"ly\": 0.408, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.323, \"ly\": -0.78, \"btn\": false, \"tracker_ok\": true}, {\"lx\": ... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program compose_face_the_stick_button_sequence_then_idle\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nout style : INT\nvar b_greeting : BOOL\na_fx = MOVE(IN=lx)\na_fz = MOVE(IN=ly)\nb_press = R_TRI... |
compose/compose_face_the_stick_button_sequence_then_idle/18 | face the way the left stick points; and when the button is pressed play style 3 for 375 milliseconds, then idle | compose_face_the_stick_button_sequence_then_idle | 18 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.331, \"ly\": -0.604, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.021, \"ly\": -0.012, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.04, \"ly\": -0.083, \"btn\": false, \"tracker_ok\": true}, {\"lx... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program compose_face_the_stick_button_sequence_then_idle\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nout style : INT\nvar b_greeting : BOOL\na_fx = MOVE(IN=lx)\na_fz = MOVE(IN=ly)\nb_press = R_TRI... |
compose/compose_face_the_stick_button_sequence_then_idle/19 | turn to face the stick direction every frame; and on a button press, switch to style 1, hold it 875 ms, and go back to idle | compose_face_the_stick_button_sequence_then_idle | 19 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.041, \"ly\": 0.023, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.213, \"ly\": 0.994, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.421, \"ly\": -0.703, \"btn\": false, \"tracker_ok\": true}, {\"lx\"... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program compose_face_the_stick_button_sequence_then_idle\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nout style : INT\nvar b_greeting : BOOL\na_fx = MOVE(IN=lx)\na_fz = MOVE(IN=ly)\nb_press = R_TRI... |
compose/compose_speed_limited_run_face_the_stick/21 | "run at 1.75 times the stick, never faster than 2.03 metres per second; and face the way the left st(...TRUNCATED) | compose_speed_limited_run_face_the_stick | 21 | ["{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"(...TRUNCATED) | [{"candidate":"rank1","rank":1,"fbd_text":"program compose_speed_limited_run_face_the_stick\nin lx :(...TRUNCATED) |
taskweft-fbd-compose-train
Intents paired with IEC 61131-3 Function Block Diagrams that carry them out, as an EditScore-shaped corpus.
What it is for
Each intent has a root row, three ranked candidate diagrams and a score row per candidate.
Rank1 is the reference diagram. Rank3 compiles and does the wrong thing. Rank5 is a diagram the compiler refuses.
The scores come from the compiler's reference scan over the composed controller's traces.
Every row is built from a template and a seed, so the labels are true by construction and the corpus regenerates from the seeds.
The train split trains. The test split holds out every tenth seed of the same distribution and gates the trained model. The evaluation split holds out the compose_walk_from_stick_tracker_lost_freezes family, and is never trained or tuned on.
The compose_root config holds the intent, template, seed, frame, the block kinds and signatures the reference uses, and the input traces.
The compose_candidates config holds each candidate's compiler text form, PLCopen XML, plan and runner result, with a sha256 of its source text.
The compose_scores config holds parse, compile, run and effect-match flags, step and wall-time measures, and the refusal.
The default compose config joins the three. Every artifact is in the parquet. An artifact a family does not produce is an empty string, never a null.
A manifest.json sits at the repo root.
Provenance
- Generator:
v-sekai-fabric/taskweft-fbd-teacher. - Compiler:
taskweft-fbd-compilerat commited1ac1d.
Use
from datasets import load_dataset
ds = load_dataset("chibifire/taskweft-fbd-compose-train", "compose", split="train")
Or fetch the files with hf download chibifire/taskweft-fbd-compose-train --repo-type dataset.
Licence
MIT. See the MIT License.
- Downloads last month
- 20