Datasets:
key stringlengths 11 24 | intent stringlengths 25 98 | template_id stringclasses 3
values | seed int64 1 4.99k | traces listlengths 0 0 | candidates listlengths 3 3 |
|---|---|---|---|---|---|
fbd/write/1 | put the text islet into a file called ember_583.txt | write | 1 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'ember_583.txt'<... |
fbd/write/2 | create birch_94.txt containing larch | write | 2 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'birch_94.txt'</... |
fbd/write/3 | save larch thistle as heath_607.txt | write | 3 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'heath_607.txt'<... |
fbd/write/4 | write yarrow to heath_311.txt | write | 4 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'heath_311.txt'<... |
fbd/write/5 | put the text willow yarrow umber into a file called thistle_262.txt | write | 5 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'thistle_262.txt... |
fbd/write/6 | create sedge_842.txt containing pine | write | 6 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'sedge_842.txt'<... |
fbd/write/7 | save moss umber as kelp_971.txt | write | 7 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'kelp_971.txt'</... |
fbd/write/8 | write ember glade willow birch to heath_380.txt | write | 8 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'heath_380.txt'<... |
fbd/write/9 | put the text islet ember fjord into a file called orchid_628.txt | write | 9 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'orchid_628.txt'... |
fbd/write_then_read/11 | after saving orchid quartz sedge glade into orchid_887.txt, read orchid_887.txt back to be sure | write_then_read | 11 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_then_read\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'orchid_887... |
fbd/write_then_read/12 | write ember moss alder to pine_276.txt, then check that pine_276.txt exists | write_then_read | 12 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_then_read\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'pine_276.t... |
fbd/write_then_read/13 | create islet_298.txt with umber heath and confirm the file is there afterwards | write_then_read | 13 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_then_read\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'islet_298.... |
fbd/write_then_read/14 | after saving islet yarrow into dune_631.txt, read dune_631.txt back to be sure | write_then_read | 14 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_then_read\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'dune_631.t... |
fbd/write_then_read/15 | write fjord to glade_12.txt, then check that glade_12.txt exists | write_then_read | 15 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_then_read\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'glade_12.t... |
fbd/write_then_read/16 | create larch_481.txt with juniper nettle heath orchid and confirm the file is there afterwards | write_then_read | 16 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_then_read\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'larch_481.... |
fbd/write_then_read/17 | after saving larch juniper fjord into quartz_425.txt, read quartz_425.txt back to be sure | write_then_read | 17 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_then_read\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'quartz_425... |
fbd/write_then_read/18 | write kelp heath glade pine to fjord_126.txt, then check that fjord_126.txt exists | write_then_read | 18 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_then_read\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'fjord_126.... |
fbd/write_then_read/19 | create vale_45.txt with quartz and confirm the file is there afterwards | write_then_read | 19 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_then_read\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'vale_45.tx... |
fbd/run_print/21 | run python and print 173962 | run_print | 21 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"run_print\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'python'</express... |
fbd/run_print/22 | use python to print the number 952439 | run_print | 22 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"run_print\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'python'</express... |
fbd/run_print/23 | print 970791 with a python one-liner | run_print | 23 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"run_print\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'python'</express... |
fbd/run_print/24 | run python and print 747945 | run_print | 24 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"run_print\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'python'</express... |
fbd/run_print/25 | use python to print the number 396273 | run_print | 25 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"run_print\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'python'</express... |
fbd/run_print/26 | print 784591 with a python one-liner | run_print | 26 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"run_print\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'python'</express... |
fbd/run_print/27 | run python and print 680998 | run_print | 27 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"run_print\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'python'</express... |
fbd/run_print/28 | use python to print the number 119444 | run_print | 28 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"run_print\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'python'</express... |
fbd/run_print/29 | print 575744 with a python one-liner | run_print | 29 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"run_print\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'python'</express... |
fbd/write/41 | put the text fjord moss into a file called moss_341.txt | write | 41 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'moss_341.txt'</... |
fbd/write/42 | create umber_115.txt containing yarrow | write | 42 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'umber_115.txt'<... |
fbd/write/43 | save orchid larch as birch_293.txt | write | 43 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'birch_293.txt'<... |
fbd/write/44 | write fjord to nettle_533.txt | write | 44 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'nettle_533.txt'... |
fbd/write/45 | put the text islet cedar juniper kelp into a file called islet_428.txt | write | 45 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'islet_428.txt'<... |
fbd/write/46 | create cedar_410.txt containing sedge | write | 46 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'cedar_410.txt'<... |
fbd/write/47 | save reed orchid sedge kelp as larch_65.txt | write | 47 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'larch_65.txt'</... |
fbd/write/48 | write reed willow to reed_324.txt | write | 48 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'reed_324.txt'</... |
fbd/write/49 | put the text dune kelp zephyr reed into a file called cedar_353.txt | write | 49 | [] | [
{
"candidate": "rank1",
"rank": 1,
"fbd_xml": "<pou name=\"write_file\" pouType=\"program\">\n <interface>\n <localVars>\n <variable name=\"done\"><type><BOOL/></type></variable>\n </localVars>\n </interface>\n <body>\n <FBD>\n <inVariable localId=\"1\"><expression>'cedar_353.txt'<... |
taskweft-fbd-editscore-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 and a runner that performed the plan.
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 write_then_count family, and is never trained or tuned on.
The editscore_root config holds the intent, template, seed, frame, the block kinds and signatures the reference uses, and the input traces.
The editscore_candidates config holds each candidate's compiler text form, PLCopen XML, plan and runner result, with a sha256 of its source text.
The editscore_scores config holds parse, compile, run and effect-match flags, step and wall-time measures, and the refusal.
The default editscore 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-editscore-train", "editscore", split="train")
Or fetch the files with hf download chibifire/taskweft-fbd-editscore-train --repo-type dataset.
Licence
MIT. See the MIT License.
- Downloads last month
- 49