Datasets:
docs: add Inputs/Outputs section with worked examples; sync Task Analysis count (500 -> 499)
Browse files
README.md
CHANGED
|
@@ -32,15 +32,13 @@ configs:
|
|
| 32 |
# TRACE Dataset Card (v1)
|
| 33 |
|
| 34 |
**Name:** **TRACE** — **T**axonomy-**R**eferenced **A**BA **C**linical **E**xamples
|
| 35 |
-
**Version:** v1
|
| 36 |
-
**Date:** 2026-04-
|
| 37 |
**Primary language:** English
|
| 38 |
-
**License
|
| 39 |
**Total examples:** 2,999
|
| 40 |
**Tasks:** 2 — (1) ABA teaching program generation, (2) behavioral session interpretation.
|
| 41 |
-
**
|
| 42 |
-
**Publisher / maintained by:** [Pombo Labs](https://github.com/Pombo-Labs).
|
| 43 |
-
**Repository:** https://github.com/Pombo-Labs/TRACE
|
| 44 |
|
| 45 |
---
|
| 46 |
|
|
@@ -53,9 +51,100 @@ TRACE is a **synthetic instruction-tuning dataset** for two clinical tasks in Ap
|
|
| 53 |
|
| 54 |
The dataset was produced by a **taxonomy-driven generator** whose controlled vocabulary is grounded in the canonical ABA literature (Cooper, Heron, & Heward 2020; VB-MAPP; AFLS; key JABA papers). Every example carries full **provenance metadata** — the exact taxonomy cells that were sampled to produce it. Clinical accuracy was iterated via practitioner-in-the-loop ad-hoc review.
|
| 55 |
|
| 56 |
-
**Intended use.**
|
| 57 |
|
| 58 |
-
**Not for:**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
---
|
| 61 |
|
|
@@ -66,9 +155,9 @@ The dataset was produced by a **taxonomy-driven generator** whose controlled voc
|
|
| 66 |
| Split | Examples | Fraction | Purpose |
|
| 67 |
|---|---:|---:|---|
|
| 68 |
| `train.jsonl` | 2,549 | 85.0% | LoRA fine-tuning |
|
| 69 |
-
| `valid.jsonl` | 149 |
|
| 70 |
-
| `test.jsonl` | 281 | 9.
|
| 71 |
-
| `sanity.jsonl` | 20 | 0.
|
| 72 |
| **Total** | **2,999** | 100% | |
|
| 73 |
|
| 74 |
Splits are **stratified by task × category** (method for teaching programs; pattern_class for session interpretation) so each split mirrors the corpus distribution. The test set is the full curation pool minus a 20-example stratified sanity carveout.
|
|
@@ -79,7 +168,7 @@ Splits are **stratified by task × category** (method for teaching programs; pat
|
|
| 79 |
|---|---:|---|---|
|
| 80 |
| DTT | 800 | teaching_program | VB-MAPP (array-based discrete-response domains) |
|
| 81 |
| NET | 500 | teaching_program | VB-MAPP (mand, social, spontaneous vocal, intraverbal) |
|
| 82 |
-
| Task Analysis |
|
| 83 |
| Session Interpretation | 1,200 | session_interpretation | 12 clinical trajectory patterns |
|
| 84 |
|
| 85 |
### 2.3 DTT skill-domain distribution (800 total)
|
|
@@ -107,7 +196,7 @@ Sampled across VB-MAPP Levels 1 (≈45%), 2 (≈40%), and 3 (≈15%).
|
|
| 107 |
|
| 108 |
Each NET program carries a Motivating Operation arrangement matched to the skill (deprivation, missing-item, break opportunity, completion opportunity, bathroom opportunity, peer presence, reciprocal conversation, routine lead-in) and is embedded in a natural context (snack, free play, transition, arrival, etc.).
|
| 109 |
|
| 110 |
-
### 2.5 Task Analysis distribution (
|
| 111 |
|
| 112 |
| AFLS module | Count | | Program type | Count |
|
| 113 |
|---|---:|---|---|---:|
|
|
@@ -265,11 +354,27 @@ For each example:
|
|
| 265 |
- **Teaching methods** — DTT (Lovaas 1987; Smith 2001); NET (Hart & Risley 1975 in CHH Ch. 18); Task Analysis / chaining (CHH Ch. 20).
|
| 266 |
- **Operational definitions of target behaviors** — Cooper/Heron/Heward Ch. 3, 27; key JABA papers (Iwata et al. 1994 for SIB and functional analysis; Carr & Durand 1985 for FCT; Hanley, Iwata, & McCord 2003 for FBA).
|
| 267 |
- **Session patterns** — derived from CHH Ch. 6–7 (analyzing behavior change) and Stokes & Baer 1977 (generalization).
|
| 268 |
-
- **Crisis plans** — BACB Ethics Code (2020)
|
| 269 |
|
| 270 |
### 4.4 Clinical-accuracy pipeline
|
| 271 |
|
| 272 |
-
Initial generation produced the structural skeleton. The corpus was then iterated via **practitioner-in-the-loop review**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 273 |
|
| 274 |
---
|
| 275 |
|
|
@@ -277,11 +382,11 @@ Initial generation produced the structural skeleton. The corpus was then iterate
|
|
| 277 |
|
| 278 |
### 5.1 Direct use
|
| 279 |
- Instruction-tuning a small language model (recommended: Gemma 4 E2B 4-bit with QLoRA) to draft ABA teaching programs and interpret session logs.
|
| 280 |
-
- Evaluation of task-specific competencies using the held-out `test.jsonl` (
|
| 281 |
- Research on taxonomy-driven synthetic data generation for clinical decision support.
|
| 282 |
|
| 283 |
### 5.2 Downstream use
|
| 284 |
-
-
|
| 285 |
- Comparison baselines for future ABA-specific LLM work (Kumar et al. 2024 "Personalized-ABA" is the closest direct predecessor; the present dataset extends to structured program generation and session-log interpretation).
|
| 286 |
|
| 287 |
### 5.3 Out-of-scope (do NOT use for)
|
|
@@ -299,10 +404,10 @@ Initial generation produced the structural skeleton. The corpus was then iterate
|
|
| 299 |
Every example is synthetic. No real client data, no real session notes, no real identifiers were used at any step. Learner references use synthetic IDs (`SYN-####`); dates fall in the range 2026-01-01 to 2026-12-31.
|
| 300 |
|
| 301 |
### 6.2 Clinical-risk framing
|
| 302 |
-
The dataset is
|
| 303 |
|
| 304 |
### 6.3 Crisis-plan sensitivity
|
| 305 |
-
Crisis plans were written against the ABAI 2010 Position Statement on Restraint and Seclusion and BACB Ethics Code 2020
|
| 306 |
|
| 307 |
### 6.4 Population representation
|
| 308 |
Learner profiles are intentionally abstract (early / school-age / adolescent / adult). The dataset does not encode demographic categories (race, socioeconomic status, gender identity) and does not attempt to characterize clinical presentations by such categories. This is a deliberate choice for a first release; future versions may add representation if grounded in published demographic work.
|
|
@@ -313,12 +418,10 @@ Learner profiles are intentionally abstract (early / school-age / adolescent / a
|
|
| 313 |
- **VB-MAPP + AFLS only.** Other curricula (ABLLS-R, Essential for Living, PEAK) are not covered. Practitioners using those curricula should adapt.
|
| 314 |
- **No longitudinal data.** Sessions within a log are temporally ordered but the pipeline does not model real continuity over months or years.
|
| 315 |
- **Toleration covers hygiene only.** Other toleration programs (e.g., wearing glasses, riding in a car seat) are not represented.
|
| 316 |
-
- **Toilet-training acquisition is out of scope.** Accidents are tracked in session logs and bathroom-requesting is taught as a NET mand, but the full Azrin & Foxx 1971 rapid toilet-training acquisition protocol is not included as a task-analysis program.
|
| 317 |
|
| 318 |
### 6.6 License
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
**Responsibility.** TRACE is a research artifact. It is not a clinical tool, has not been clinically validated, and carries no clinical endorsement. Anyone who chooses to deploy TRACE — or any model derived from it — in a clinical setting does so entirely at their own responsibility and under their facility's own oversight. The authors and Pombo Labs make no representation of clinical suitability and accept no liability for clinical outcomes.
|
| 322 |
|
| 323 |
---
|
| 324 |
|
|
@@ -330,13 +433,13 @@ The corpus is regenerated deterministically from:
|
|
| 330 |
- `src/generators/*.py` (generator code)
|
| 331 |
|
| 332 |
```bash
|
| 333 |
-
uv run python src/generate.py --all # regenerate
|
| 334 |
uv run python src/split_data.py # stratified split
|
| 335 |
uv run python src/prepare_curation.py # browseable review.md
|
| 336 |
uv run python src/compile_curation.py # test.jsonl + sanity.jsonl
|
| 337 |
```
|
| 338 |
|
| 339 |
-
The
|
| 340 |
|
| 341 |
---
|
| 342 |
|
|
@@ -344,15 +447,14 @@ The dataset version is `v1.0.0`; the matching git tag pins the exact configs and
|
|
| 344 |
|
| 345 |
Please cite as:
|
| 346 |
|
| 347 |
-
> Kahunla, F. (2026). *TRACE: Taxonomy-Grounded Synthetic Data for Teaching Program Generation and Session Interpretation in Applied Behavior Analysis.*
|
| 348 |
-
|
| 349 |
-
Machine-readable metadata: `CITATION.cff`.
|
| 350 |
|
| 351 |
---
|
| 352 |
|
| 353 |
## 9. Appendices
|
| 354 |
|
| 355 |
-
- **Datasheet** (Gebru et al. 2021 format): `datasheet.md`
|
| 356 |
-
- **Data statement** (Bender & Friedman 2018 format): `data-statement.md`
|
| 357 |
-
- **Taxonomy reference** (operational definitions + citations): `taxonomy-v1.md`
|
| 358 |
-
- **Schema reference** (wire format + slot specifications): `schema-v1.md`
|
|
|
|
|
|
| 32 |
# TRACE Dataset Card (v1)
|
| 33 |
|
| 34 |
**Name:** **TRACE** — **T**axonomy-**R**eferenced **A**BA **C**linical **E**xamples
|
| 35 |
+
**Version:** v1 (dataset hash pinned to commit `945248d`)
|
| 36 |
+
**Date:** 2026-04-24
|
| 37 |
**Primary language:** English
|
| 38 |
+
**License:** Synthetic data, released under [TBD — recommend CC BY-NC 4.0 for research use; no clinical deployment].
|
| 39 |
**Total examples:** 2,999
|
| 40 |
**Tasks:** 2 — (1) ABA teaching program generation, (2) behavioral session interpretation.
|
| 41 |
+
**Maintained by:** Festus Kahunla (Drexel University).
|
|
|
|
|
|
|
| 42 |
|
| 43 |
---
|
| 44 |
|
|
|
|
| 51 |
|
| 52 |
The dataset was produced by a **taxonomy-driven generator** whose controlled vocabulary is grounded in the canonical ABA literature (Cooper, Heron, & Heward 2020; VB-MAPP; AFLS; key JABA papers). Every example carries full **provenance metadata** — the exact taxonomy cells that were sampled to produce it. Clinical accuracy was iterated via practitioner-in-the-loop ad-hoc review.
|
| 53 |
|
| 54 |
+
**Intended use.** Fine-tune small language models (4-bit Gemma 4 E2B with QLoRA) for on-device decision support **drafting**. Not for autonomous clinical decisions. A Board Certified Behavior Analyst (BCBA) remains responsible for every program and every interpretation.
|
| 55 |
|
| 56 |
+
**Not for:** training on real client data; replacing a BCBA; writing final Behavior Intervention Plans without clinical review; clinical use without facility approval.
|
| 57 |
+
|
| 58 |
+
### 1.1 Inputs, outputs, and evaluation
|
| 59 |
+
|
| 60 |
+
TRACE is a supervised fine-tuning corpus. For both tasks, the **model input** is `messages.user`, the **supervised target** is `messages.assistant`, and `meta.gold_labels` holds extractable categorical labels used for automated scoring. The system prompt (`messages.system`) is identical across all examples within a task and is not part of the input the model has to interpret.
|
| 61 |
+
|
| 62 |
+
#### Task 1 — Teaching program generation
|
| 63 |
+
|
| 64 |
+
| | |
|
| 65 |
+
|---|---|
|
| 66 |
+
| **Input** | A BCBA-style request specifying skill target, curriculum reference, learner profile, and current mastery state. |
|
| 67 |
+
| **Output** | A structured Markdown teaching program with sections for overview, end goal / trial procedure, prompt strategy, error correction, reinforcement, mastery criteria, data collection, and generalization. |
|
| 68 |
+
| **Evaluation** | (a) Categorical accuracy on `meta.gold_labels.method` (`dtt` / `net` / `task_analysis`) and `meta.gold_labels.program_type` (Task Analysis only: `independence` / `toleration`); (b) BERTScore F1 between the generated assistant message and the gold assistant message. |
|
| 69 |
+
|
| 70 |
+
**Worked example (trimmed):**
|
| 71 |
+
|
| 72 |
+
```
|
| 73 |
+
INPUT (messages.user):
|
| 74 |
+
Skill Target: tolerating tooth brushing by caregiver
|
| 75 |
+
Curriculum: AFLS Basic Living Skills
|
| 76 |
+
Learner: School-Age Learner
|
| 77 |
+
Mastery Status: Generalization phase
|
| 78 |
+
Please include the toleration end goal, shaping progression,
|
| 79 |
+
antecedent strategies, reinforcement plan, refusal / safety
|
| 80 |
+
procedures, and mastery criteria.
|
| 81 |
+
|
| 82 |
+
OUTPUT (messages.assistant, abbreviated):
|
| 83 |
+
## Program Overview
|
| 84 |
+
- Target skill: tolerating tooth brushing by caregiver
|
| 85 |
+
- Approach: Toleration / systematic desensitization
|
| 86 |
+
## Shaping Progression
|
| 87 |
+
1. 1-second toothbrush contact with teeth
|
| 88 |
+
2. 3 seconds of brushing
|
| 89 |
+
...
|
| 90 |
+
## Reinforcement
|
| 91 |
+
Deliver high-magnitude, high-preference reinforcement contingent
|
| 92 |
+
on successful toleration of the target duration.
|
| 93 |
+
## Mastery Criteria
|
| 94 |
+
End-goal activity tolerated with 2 different caregivers across
|
| 95 |
+
2 consecutive weeks.
|
| 96 |
+
|
| 97 |
+
GOLD LABELS (meta.gold_labels):
|
| 98 |
+
method: "task_analysis"
|
| 99 |
+
program_type: "toleration"
|
| 100 |
+
domain: "AFLS.basic_living"
|
| 101 |
+
learner_profile: "school_age"
|
| 102 |
+
mastery_state: "generalization"
|
| 103 |
+
```
|
| 104 |
+
|
| 105 |
+
#### Task 2 — Behavioral session interpretation
|
| 106 |
+
|
| 107 |
+
| | |
|
| 108 |
+
|---|---|
|
| 109 |
+
| **Input** | A multi-session behavioral log (5–12 sessions): learner profile, acceleration programs with per-session accuracy / latency / prompt-distribution data, deceleration targets with measurement traces, and (in ~30% of logs) ABC entries and IOA agreement values. |
|
| 110 |
+
| **Output** | A structured Markdown interpretation with sections for clinical concerns, pattern classification, behavior function hypothesis, programming recommendations (antecedent / replacement / consequence / crisis), escalation level, confidence, and data-supported rationale. |
|
| 111 |
+
| **Evaluation** | (a) Categorical accuracy on `pattern_class` (12-way), `behavior_functions` (5-way per behavior), `escalation_level` (1–5; exact-match accuracy and MAE), `confidence` (3-way), and `crisis_plan_required` (binary F1); (b) BERTScore F1 against the gold assistant message. |
|
| 112 |
+
|
| 113 |
+
**Worked example (trimmed):**
|
| 114 |
+
|
| 115 |
+
```
|
| 116 |
+
INPUT (messages.user, abbreviated):
|
| 117 |
+
LEARNER PROFILE: Early Learner, 4 acceleration programs,
|
| 118 |
+
1 deceleration target
|
| 119 |
+
Session 1 (2026-06-10): mand 4/10 (38%); listener 5/12 (42%); ...
|
| 120 |
+
Session 2 (2026-06-12): mand 6/14 (44%); listener 4/9 (47%); ...
|
| 121 |
+
...
|
| 122 |
+
Session 8 (2026-06-24): mand 9/12 (72%); listener 14/15 (92%); ...
|
| 123 |
+
Vocal stereotypy: ranged freq 0–1 across sessions
|
| 124 |
+
|
| 125 |
+
OUTPUT (messages.assistant, abbreviated):
|
| 126 |
+
## Clinical Concerns
|
| 127 |
+
Steady improvement: accuracy rose from 38% to 72% across 8 sessions.
|
| 128 |
+
## Pattern Classification
|
| 129 |
+
mastery_progression
|
| 130 |
+
## Behavior Function Hypothesis
|
| 131 |
+
Vocal stereotypy: automatic
|
| 132 |
+
## Escalation Level
|
| 133 |
+
1 — Continue monitoring
|
| 134 |
+
## Confidence
|
| 135 |
+
moderate
|
| 136 |
+
|
| 137 |
+
GOLD LABELS (meta.gold_labels):
|
| 138 |
+
pattern_class: "mastery_progression"
|
| 139 |
+
behavior_functions: { "Vocal stereotypy": "automatic" }
|
| 140 |
+
escalation_level: 1
|
| 141 |
+
confidence: "moderate"
|
| 142 |
+
crisis_plan_required: false
|
| 143 |
+
```
|
| 144 |
+
|
| 145 |
+
#### Why two scoring channels
|
| 146 |
+
|
| 147 |
+
The assistant message is **free-form clinical prose** but the underlying clinical decision is **categorical** (which method, which pattern, what escalation level). We score both layers because a generation that hits the labels but produces unsafe prose is a failure, and so is eloquent prose with the wrong pattern classification. The categorical labels capture clinical correctness; BERTScore captures prose alignment with the taxonomy-grounded reference.
|
| 148 |
|
| 149 |
---
|
| 150 |
|
|
|
|
| 155 |
| Split | Examples | Fraction | Purpose |
|
| 156 |
|---|---:|---:|---|
|
| 157 |
| `train.jsonl` | 2,549 | 85.0% | LoRA fine-tuning |
|
| 158 |
+
| `valid.jsonl` | 149 | 5.0% | Periodic validation loss during training |
|
| 159 |
+
| `test.jsonl` | 281 | 9.4% | Held-out evaluation (headline metrics) |
|
| 160 |
+
| `sanity.jsonl` | 20 | 0.7% | Training smoke-test (tiny stratified subset) |
|
| 161 |
| **Total** | **2,999** | 100% | |
|
| 162 |
|
| 163 |
Splits are **stratified by task × category** (method for teaching programs; pattern_class for session interpretation) so each split mirrors the corpus distribution. The test set is the full curation pool minus a 20-example stratified sanity carveout.
|
|
|
|
| 168 |
|---|---:|---|---|
|
| 169 |
| DTT | 800 | teaching_program | VB-MAPP (array-based discrete-response domains) |
|
| 170 |
| NET | 500 | teaching_program | VB-MAPP (mand, social, spontaneous vocal, intraverbal) |
|
| 171 |
+
| Task Analysis | 499 | teaching_program | AFLS (basic_living, home, community, vocational, independent_living) |
|
| 172 |
| Session Interpretation | 1,200 | session_interpretation | 12 clinical trajectory patterns |
|
| 173 |
|
| 174 |
### 2.3 DTT skill-domain distribution (800 total)
|
|
|
|
| 196 |
|
| 197 |
Each NET program carries a Motivating Operation arrangement matched to the skill (deprivation, missing-item, break opportunity, completion opportunity, bathroom opportunity, peer presence, reciprocal conversation, routine lead-in) and is embedded in a natural context (snack, free play, transition, arrival, etc.).
|
| 198 |
|
| 199 |
+
### 2.5 Task Analysis distribution (499 total)
|
| 200 |
|
| 201 |
| AFLS module | Count | | Program type | Count |
|
| 202 |
|---|---:|---|---|---:|
|
|
|
|
| 354 |
- **Teaching methods** — DTT (Lovaas 1987; Smith 2001); NET (Hart & Risley 1975 in CHH Ch. 18); Task Analysis / chaining (CHH Ch. 20).
|
| 355 |
- **Operational definitions of target behaviors** — Cooper/Heron/Heward Ch. 3, 27; key JABA papers (Iwata et al. 1994 for SIB and functional analysis; Carr & Durand 1985 for FCT; Hanley, Iwata, & McCord 2003 for FBA).
|
| 356 |
- **Session patterns** — derived from CHH Ch. 6–7 (analyzing behavior change) and Stokes & Baer 1977 (generalization).
|
| 357 |
+
- **Crisis plans** — BACB Ethics Code (2020) §3.05; ABAI Position Statement on Restraint and Seclusion (2010). Physical-intervention procedures are left vague on purpose because they vary by training program (Safety-Care, CPI, PMT, TCI) and jurisdiction; the dataset emphasizes verbal de-escalation, environmental safety, BIP authorization, and contraindications.
|
| 358 |
|
| 359 |
### 4.4 Clinical-accuracy pipeline
|
| 360 |
|
| 361 |
+
Initial generation produced the structural skeleton. The corpus was then iterated via **practitioner-in-the-loop review**: a full-text render of every held-out candidate was browsed by a reviewer with ABA practitioner exposure, flags were raised for clinically inaccurate topographies, and each flag triggered a taxonomy or rendering fix plus a regeneration and a commit. Examples of iterations shipped:
|
| 362 |
+
|
| 363 |
+
| Issue flagged | Fix |
|
| 364 |
+
|---|---|
|
| 365 |
+
| "Context: R/D" tag leaking a specific facility's tool | Removed from all generators and templates |
|
| 366 |
+
| "Raises hand to request" wrong topography for mand | Replaced with AAC, vocal, or full-sentence requesting; added Tolerating Denied Access as a replacement-behavior target |
|
| 367 |
+
| "Whining during trials" in frustration indicators | Removed; replaced with property destruction, aggression, peer aggression, SIB onset |
|
| 368 |
+
| Pica measured as simple frequency | Split into attempts / successful / unsuccessful |
|
| 369 |
+
| Toleration programs missing entirely | Added as a distinct program type for hygiene routines |
|
| 370 |
+
| Crisis plans too generic | Rewritten with tiered framework, BIP-authorization requirement, contraindications, BACB Ethics citations |
|
| 371 |
+
| `maintenance` mastery state (post-mastery retention) appeared as a current teaching state | Removed; maintenance is retained only as a post-mastery probe concept in generalization plans |
|
| 372 |
+
| Only one dishwashing variant in Home Skills | Added by-hand, operating dishwasher, unloading dishwasher |
|
| 373 |
+
| Token-economy backups abstract | Made concrete for children (candy, cookies, leisure, screen time, sensory item) |
|
| 374 |
+
| Fecal smearing and toileting accidents absent | Added as target behaviors with attempts/intercepted/completed and urine/BM in-toilet/accidents rendering |
|
| 375 |
+
| Bathroom requesting absent from mand curriculum | Added to NET L1 mands with bathroom_opportunity MO |
|
| 376 |
+
|
| 377 |
+
Each iteration is one commit — the provenance chain is preserved end-to-end.
|
| 378 |
|
| 379 |
---
|
| 380 |
|
|
|
|
| 382 |
|
| 383 |
### 5.1 Direct use
|
| 384 |
- Instruction-tuning a small language model (recommended: Gemma 4 E2B 4-bit with QLoRA) to draft ABA teaching programs and interpret session logs.
|
| 385 |
+
- Evaluation of task-specific competencies using the held-out `test.jsonl` (279 examples).
|
| 386 |
- Research on taxonomy-driven synthetic data generation for clinical decision support.
|
| 387 |
|
| 388 |
### 5.2 Downstream use
|
| 389 |
+
- Pilot **drafting assistants** for BCBAs, always requiring clinician review before use with learners.
|
| 390 |
- Comparison baselines for future ABA-specific LLM work (Kumar et al. 2024 "Personalized-ABA" is the closest direct predecessor; the present dataset extends to structured program generation and session-log interpretation).
|
| 391 |
|
| 392 |
### 5.3 Out-of-scope (do NOT use for)
|
|
|
|
| 404 |
Every example is synthetic. No real client data, no real session notes, no real identifiers were used at any step. Learner references use synthetic IDs (`SYN-####`); dates fall in the range 2026-01-01 to 2026-12-31.
|
| 405 |
|
| 406 |
### 6.2 Clinical-risk framing
|
| 407 |
+
The dataset is framed — in system prompts, in the dataset card, and in the paper — as producing **drafts for clinician review**. Assistant responses are structured so that a BCBA can quickly see the method, the stimulus arrangement, the prompt hierarchy, the reinforcement plan, the error-correction procedure, the mastery criterion, and the generalization plan; approve what is clinically appropriate; and revise what is not. Session-interpretation responses surface a confidence level (high / moderate / low) and an escalation level (1–4) explicitly so the clinician can calibrate action.
|
| 408 |
|
| 409 |
### 6.3 Crisis-plan sensitivity
|
| 410 |
+
Crisis plans were written against the ABAI 2010 Position Statement on Restraint and Seclusion and BACB Ethics Code 2020 §3.05. The dataset references facility crisis-prevention frameworks (Safety-Care, CPI, PMT, TCI) only as examples and **deliberately avoids specifying restraint procedures** because those procedures are (a) jurisdiction-dependent, (b) training-certification-gated, and (c) learner-specific (many learners have contraindications). The dataset embeds explicit text in every crisis-plan bullet that physical intervention is used only when specifically authorized in the learner's BIP and only by staff currently certified in the facility's training program.
|
| 411 |
|
| 412 |
### 6.4 Population representation
|
| 413 |
Learner profiles are intentionally abstract (early / school-age / adolescent / adult). The dataset does not encode demographic categories (race, socioeconomic status, gender identity) and does not attempt to characterize clinical presentations by such categories. This is a deliberate choice for a first release; future versions may add representation if grounded in published demographic work.
|
|
|
|
| 418 |
- **VB-MAPP + AFLS only.** Other curricula (ABLLS-R, Essential for Living, PEAK) are not covered. Practitioners using those curricula should adapt.
|
| 419 |
- **No longitudinal data.** Sessions within a log are temporally ordered but the pipeline does not model real continuity over months or years.
|
| 420 |
- **Toleration covers hygiene only.** Other toleration programs (e.g., wearing glasses, riding in a car seat) are not represented.
|
| 421 |
+
- **Toilet-training acquisition is out of scope.** Accidents are tracked in session logs and bathroom-requesting is taught as a NET mand, but the full Azrin & Foxx 1971 rapid toilet-training acquisition protocol is not included as a task-analysis program. This is a planned v2 addition.
|
| 422 |
|
| 423 |
### 6.6 License
|
| 424 |
+
TBD — recommend CC BY-NC 4.0 (research use, non-commercial) pending the hackathon submission requirements. Clinical use of the dataset or any model fine-tuned on it requires facility approval and BCBA oversight.
|
|
|
|
|
|
|
| 425 |
|
| 426 |
---
|
| 427 |
|
|
|
|
| 433 |
- `src/generators/*.py` (generator code)
|
| 434 |
|
| 435 |
```bash
|
| 436 |
+
uv run python src/generate.py --all # regenerate the 2999-example corpus
|
| 437 |
uv run python src/split_data.py # stratified split
|
| 438 |
uv run python src/prepare_curation.py # browseable review.md
|
| 439 |
uv run python src/compile_curation.py # test.jsonl + sanity.jsonl
|
| 440 |
```
|
| 441 |
|
| 442 |
+
The repo commit pinned for this dataset version is `945248d`.
|
| 443 |
|
| 444 |
---
|
| 445 |
|
|
|
|
| 447 |
|
| 448 |
Please cite as:
|
| 449 |
|
| 450 |
+
> Kahunla, F. (2026). *TRACE: Taxonomy-Grounded Synthetic Data for Teaching Program Generation and Session Interpretation in Applied Behavior Analysis.* Drexel University CS 614 final project / Gemma 4 Good Hackathon submission.
|
|
|
|
|
|
|
| 451 |
|
| 452 |
---
|
| 453 |
|
| 454 |
## 9. Appendices
|
| 455 |
|
| 456 |
+
- **Datasheet** (Gebru et al. 2021 format): `docs/dataset/datasheet.md`
|
| 457 |
+
- **Data statement** (Bender & Friedman 2018 format): `docs/dataset/data-statement.md`
|
| 458 |
+
- **Taxonomy reference** (operational definitions + citations): `docs/dataset/taxonomy-v1.md`
|
| 459 |
+
- **Schema reference** (wire format + slot specifications): `docs/dataset/schema-v1.md`
|
| 460 |
+
- **Research paper draft:** `docs/paper/paper-draft.md`
|