Datasets:
key stringlengths 23 31 | intent stringlengths 34 86 | template_id stringclasses 4
values | seed int64 1 5k | traces listlengths 3 3 | candidates listlengths 3 3 |
|---|---|---|---|---|---|
react/walk_from_stick/1 | move in the stick's direction with gain 0.89; never faster than 1.79 m/s | walk_from_stick | 1 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.009, \"ly\": -0.101, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.303, \"ly\": 0.577, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.812, \"ly\": -0.943, \"btn\": false, \"tracker_ok\": true}, {\"lx\... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program walk_from_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout move_x : REAL\nout move_z : REAL\nout speed : REAL\nmx = MUL(IN1=lx, IN2=0.89)\nmz = MUL(IN1=ly, IN2=0.89)\nsp = LIMIT(MN=0.0, IN=mx.OUT, MX=1.79)\nmove_x = mx.OU... |
react/walk_from_stick/2 | the left stick drives walking: scale it by 1.47 and cap the speed at 1.93 | walk_from_stick | 2 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.671, \"ly\": 0.472, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.339, \"ly\": -0.384, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.212, \"ly\": 0.214, \"btn\": false, \"tracker_ok\": true}, {\"lx\": ... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program walk_from_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout move_x : REAL\nout move_z : REAL\nout speed : REAL\nmx = MUL(IN1=lx, IN2=1.47)\nmz = MUL(IN1=ly, IN2=1.47)\nsp = LIMIT(MN=0.0, IN=mx.OUT, MX=1.93)\nmove_x = mx.OU... |
react/walk_from_stick/3 | walk where the left stick points, 0.97 times the stick, at most 1.36 metres per second | walk_from_stick | 3 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.251, \"ly\": -0.869, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.974, \"ly\": 0.675, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.481, \"ly\": -0.531, \"btn\": false, \"tracker_ok\": true}, {\"lx\... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program walk_from_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout move_x : REAL\nout move_z : REAL\nout speed : REAL\nmx = MUL(IN1=lx, IN2=0.97)\nmz = MUL(IN1=ly, IN2=0.97)\nsp = LIMIT(MN=0.0, IN=mx.OUT, MX=1.36)\nmove_x = mx.OU... |
react/walk_from_stick/4 | move in the stick's direction with gain 0.97; never faster than 0.74 m/s | walk_from_stick | 4 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.867, \"ly\": -0.197, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.836, \"ly\": 0.601, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.53, \"ly\": -0.556, \"btn\": false, \"tracker_ok\": true}, {\"lx\":... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program walk_from_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout move_x : REAL\nout move_z : REAL\nout speed : REAL\nmx = MUL(IN1=lx, IN2=0.97)\nmz = MUL(IN1=ly, IN2=0.97)\nsp = LIMIT(MN=0.0, IN=mx.OUT, MX=0.74)\nmove_x = mx.OU... |
react/walk_from_stick/5 | the left stick drives walking: scale it by 1.24 and cap the speed at 1.64 | walk_from_stick | 5 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.48, \"ly\": 0.845, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.942, \"ly\": -0.069, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.887, \"ly\": 0.298, \"btn\": false, \"tracker_ok\": true}, {\"lx\": ... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program walk_from_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout move_x : REAL\nout move_z : REAL\nout speed : REAL\nmx = MUL(IN1=lx, IN2=1.24)\nmz = MUL(IN1=ly, IN2=1.24)\nsp = LIMIT(MN=0.0, IN=mx.OUT, MX=1.64)\nmove_x = mx.OU... |
react/walk_from_stick/6 | walk where the left stick points, 1.36 times the stick, at most 1.75 metres per second | walk_from_stick | 6 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.999, \"ly\": 0.326, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.059, \"ly\": 0.519, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.254, \"ly\": 0.54, \"btn\": false, \"tracker_ok\": true}, {\"lx\":... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program walk_from_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout move_x : REAL\nout move_z : REAL\nout speed : REAL\nmx = MUL(IN1=lx, IN2=1.36)\nmz = MUL(IN1=ly, IN2=1.36)\nsp = LIMIT(MN=0.0, IN=mx.OUT, MX=1.75)\nmove_x = mx.OU... |
react/walk_from_stick/7 | move in the stick's direction with gain 1.03; never faster than 0.81 m/s | walk_from_stick | 7 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.072, \"ly\": -0.269, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.884, \"ly\": 0.015, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.925, \"ly\": -0.133, \"btn\": false, \"tracker_ok\": true}, {\"lx\... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program walk_from_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout move_x : REAL\nout move_z : REAL\nout speed : REAL\nmx = MUL(IN1=lx, IN2=1.03)\nmz = MUL(IN1=ly, IN2=1.03)\nsp = LIMIT(MN=0.0, IN=mx.OUT, MX=0.81)\nmove_x = mx.OU... |
react/walk_from_stick/8 | the left stick drives walking: scale it by 0.96 and cap the speed at 1.95 | walk_from_stick | 8 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.83, \"ly\": -0.505, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.998, \"ly\": -0.581, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.284, \"ly\": -0.082, \"btn\": false, \"tracker_ok\": true}, {\"lx\"... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program walk_from_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout move_x : REAL\nout move_z : REAL\nout speed : REAL\nmx = MUL(IN1=lx, IN2=0.96)\nmz = MUL(IN1=ly, IN2=0.96)\nsp = LIMIT(MN=0.0, IN=mx.OUT, MX=1.95)\nmove_x = mx.OU... |
react/walk_from_stick/9 | walk where the left stick points, 1.12 times the stick, at most 1.12 metres per second | walk_from_stick | 9 | [
"{\"dt\": 0.125, \"ticks\": [{\"lx\": 1.0, \"ly\": -1.0, \"btn\": false, \"tracker_ok\": true}, {\"lx\": -0.987, \"ly\": 0.006, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.797, \"ly\": -0.838, \"btn\": false, \"tracker_ok\": true}, {\"lx\": 0.109, \"ly\": 0.233, \"btn\": false, \"tracker_ok\": true}, {\"lx\":... | [
{
"candidate": "rank1",
"rank": 1,
"fbd_text": "program walk_from_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout move_x : REAL\nout move_z : REAL\nout speed : REAL\nmx = MUL(IN1=lx, IN2=1.12)\nmz = MUL(IN1=ly, IN2=1.12)\nsp = LIMIT(MN=0.0, IN=mx.OUT, MX=1.12)\nmove_x = mx.OU... |
react/face_the_stick/11 | keep the facing aligned with the left stick | face_the_stick | 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 face_the_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nfx = MOVE(IN=lx)\nfz = MOVE(IN=ly)\nface_x = fx.OUT\nface_z = fz.OUT\n",
"fbd_sha": "d4b1257ea3835ba93fa46a006b07ed75ad3b3271... |
react/face_the_stick/12 | face the way the left stick points | face_the_stick | 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 face_the_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nfx = MOVE(IN=lx)\nfz = MOVE(IN=ly)\nface_x = fx.OUT\nface_z = fz.OUT\n",
"fbd_sha": "d4b1257ea3835ba93fa46a006b07ed75ad3b3271... |
react/face_the_stick/13 | turn to face the stick direction every frame | face_the_stick | 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 face_the_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nfx = MOVE(IN=lx)\nfz = MOVE(IN=ly)\nface_x = fx.OUT\nface_z = fz.OUT\n",
"fbd_sha": "d4b1257ea3835ba93fa46a006b07ed75ad3b3271... |
react/face_the_stick/14 | keep the facing aligned with the left stick | face_the_stick | 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 face_the_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nfx = MOVE(IN=lx)\nfz = MOVE(IN=ly)\nface_x = fx.OUT\nface_z = fz.OUT\n",
"fbd_sha": "d4b1257ea3835ba93fa46a006b07ed75ad3b3271... |
react/face_the_stick/15 | face the way the left stick points | face_the_stick | 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 face_the_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nfx = MOVE(IN=lx)\nfz = MOVE(IN=ly)\nface_x = fx.OUT\nface_z = fz.OUT\n",
"fbd_sha": "d4b1257ea3835ba93fa46a006b07ed75ad3b3271... |
react/face_the_stick/16 | turn to face the stick direction every frame | face_the_stick | 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 face_the_stick\nin lx : REAL\nin ly : REAL\nin btn : BOOL\nin tracker_ok : BOOL\nout face_x : REAL\nout face_z : REAL\nfx = MOVE(IN=lx)\nfz = MOVE(IN=ly)\nface_x = fx.OUT\nface_z = fz.OUT\n",
"fbd_sha": "d4b1257ea3835ba93fa46a006b07ed75ad3b3271... |
taskweft-fbd-react-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 on constructed input 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 button_sequence_then_idle family, and is never trained or tuned on.
The react_root config holds the intent, template, seed, frame, the block kinds and signatures the reference uses, and the input traces.
The react_candidates config holds each candidate's compiler text form, PLCopen XML, plan and runner result, with a sha256 of its source text.
The react_scores config holds parse, compile, run and effect-match flags, step and wall-time measures, and the refusal.
The default react 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 commitd3279ec.
Use
from datasets import load_dataset
ds = load_dataset("chibifire/taskweft-fbd-react-train", "react", split="train")
Or fetch the files with hf download chibifire/taskweft-fbd-react-train --repo-type dataset.
Licence
MIT. See the MIT License.
- Downloads last month
- 39