Skip to content

About

Reproducible field test of decision models (TypeSafe Jev, GLiNER2.5-Decide, Laya) against small LLMs and supervised baselines on fresh September 2026 data

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

Repository files navigation

decision-model-audit

Reproducible comparison of "decision models" (zero-shot classifiers such as TypeSafe Jev, Fastino GLiNER2.5-Decide and Laya) against small LLMs with structured outputs.

Status: complete (September 2026 snapshot), with a post hoc addition of Cloudflare's Clef and Clef-flash (October 2026) and a post hoc part 2 (October 2026: thirteen further decision models, probes P5 to P7, a German paired test, automation rate, interface behaviour and a fine-tuning comparison). The full results are in results/REPORT.md and results/REPORT-part2.md. The pre-registered protocol and every deviation from it are in notes/protocol.md. Findings were logged chronologically in FINDINGS.md, including negative and inconclusive results.

Write-up: Ist Jev wirklich gut? Ein Feldtest auf frischen Daten (German) and Is Jev Actually Any Good? A Field Test on Fresh Data (English).

Part 2: Brauchen Sie überhaupt ein Decision-Modell? (German) and Do You Even Need a Decision Model? (English).

Questions

  1. Accuracy and calibration of the returned probabilities
  2. Sensitivity to label wording
  3. Behaviour on inputs longer than the encoder window
  4. Behaviour when no label fits
  5. Cost of a human-readable rationale (LLMs) versus no rationale (decision models)
  6. Cost and latency per 1,000 decisions

Layout

src/dma/          runners per model family, shared schema, metrics
probes/           generators for constructed probes (ground truth by construction)
data/             evaluation data or fetch scripts (no contaminated public sets as primary measure)
results/          raw model outputs (JSONL) and computed metrics, committed
notes/            method notes and decisions

Setup

uv sync

API calls go through OpenRouter. Set OPENROUTER_API_KEY in the environment, or set DMA_KEY_FILE to a dotenv file that contains it. Keys are never committed.

The post hoc Clef and Clef-flash runs (October 2026) go through Cloudflare Workers AI instead. Set CLOUDFLARE_API_TOKEN (an account token with Workers AI read access) and CLOUDFLARE_ACCOUNT_ID, or set DMA_CF_KEY_FILE to a dotenv file that contains them, then run scripts/run_clef.sh <block>. Spend is booked in results/raw/clef/spend.jsonl and capped by DMA_CF_BUDGET and DMA_CF_BLOCK_BUDGET.

Part 2 (October 2026) adds Perplexity and Fastino: set PERPLEXITY_API_KEY and FASTINO_API_KEY, or DMA_EXT_KEY_FILE to a dotenv file that contains them (spend in results/raw/teil2/spend_ext.jsonl, capped by DMA_EXT_BUDGET). OpenRouter spend for part 2 is booked in results/raw/teil2/spend_openrouter.jsonl when DMA_OR_BLOCK is set. Local decision models are served through src/dma/local_servers/ or the vendors' own servers; scripts/run_teil2.sh <block> [systems] runs the programme, scripts/run_ft*.sh the fine-tuning on a CUDA GPU.

Every API response is cached, so the analysis can be rerun from the committed raw outputs without any API access:

uv run python -m dma.analysis.report
uv run python -m dma.analysis.figures
uv run python -m dma.analysis.gaps
uv run python -m dma.analysis.probes_teil2
uv run python -m dma.analysis.teil2
uv run python -m dma.analysis.finetune

The run scripts in scripts/ reproduce the model calls. Local models were run on an Apple M1 Pro with 16 GB of memory; in part 2, Decision 2.0 Nox 4B and the fine-tuning ran on one rented NVIDIA A40.

Author

Built by Dr. Oliver Borchers, Executive AI and Automation Partner and Head of AI Engineering at IU Group.

License

Code and analysis: MIT, see LICENSE. Third-party code in third_party/ keeps its own license. The evaluation data keeps the terms of its sources: arXiv metadata, Federal Register documents and FWF project data (CC0).

About

Reproducible field test of decision models (TypeSafe Jev, GLiNER2.5-Decide, Laya) against small LLMs and supervised baselines on fresh September 2026 data

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages