Skip to content
UDunderstanding-dataset-lab
Prototype · Python 3.15+ · MIT

Who knows what, proved by the plan.

udlab builds short scenes with several people, planned by code and put into prose by a local writer model. The key to every question, who saw what and who believes what, comes from the code's plan and is sealed with a private seed. A prototype: no sealed result and no trained model yet.

Generate

uv run udlab-gen --count 3 --out-dir artifacts/demo # plans 3 scenes, writes them with the CPU mock, # and seals their keys. No GPU needed.

Probe

uv run udlab-gen --probe-only \ artifacts/demo/sealed_store/keys.sealed.jsonl # tests whether surface features # give the answers away.

Test

uv run pytest # 759 tests, synthetic seeds only.

How it works

The answer is computed from the plan, not judged.

Code-made keys

Who moved where, who could see and who heard what are planned events, so what each person believes follows mechanically. No model writes or grades a key.

Checked prose

A local writer model puts each scene into words. Every rendering is checked by code against the plan before it counts.

Sealed and probed

Keys are sealed with a private seed, and out-of-fold probes test whether surface features give the answers away.

Status: a prototype

Counts on development banks of 160 renderings, negative results first.

Stage 3: not adopted

Listing accepted sentence forms in the prompt: 111 of 160 passed, against 127 for the baseline.

Stage 4: not adopted

Sentence shapes assigned by code: 89 of 160, against 120. The development gate failed.

Stage 5: passed its gates

Code moves and rewritten speech passed all 7 pre-registered development gates. No sealed confirmatory run yet.

Try it without a GPU

Clone and run

git clone https://github.com/mcp-tool-shop-org/understanding-dataset-lab
cd understanding-dataset-lab
uv run udlab-gen --count 3 --out-dir artifacts/demo

Options

uv run udlab-gen --help