Skip to main content

NeuroDock eval corpora and harness — versioned datasets for translation, skills, and guardrails.

Project description

neurodock-evals

The versioned eval corpora and the air-gapped harness that runs ND prompts against them.

The corpus is the strategic asset that makes the translation layer honest. We prove that ND-aware prompts help neurodivergent users in real situations, and we catch regressions when prompts change. The harness gates prompt PRs in CI.

This package is v0.0.2 — the scaffold, the harness, and 6-10 hand-authored seed examples. The seeds are synthesised by to demonstrate the format — they are NOT real corporate messages. Real contributed corpora arrive over Phase 2 (target ~300 examples by month 6, per ).

What's here

packages/evals/
├── src/neurodock_evals/        # Harness, anonymiser, deduper, scorer
├── corpora/                    # Versioned YAML eval examples by slice
├── schemas/                    # JSON Schemas for examples + annotations
└── tests/                      # Tests for the harness itself

Quick start

Run the harness against the seed corpora:

uv run python -m neurodock_evals.harness --corpus translation/incoming \
    --tool translate_incoming

Run all four translation slices:

uv run python -m neurodock_evals.harness --ci

Anonymise a contribution before opening a PR:

uv run python -m neurodock_evals.anonymise path/to/example.yaml

Air-gapped by design

The harness never calls an LLM. It exercises each tool's deterministic baseline (the heuristic layer the translation server returns even before any LLM refinement) and scores the baseline against the human-rated expected block. Any LLM-side eval is a separate concern that the maintainer reviews under a different policy.

Privacy

  • The harness never logs example contents to stdout or to anywhere outside .eval-reports/.
  • Reports contain example IDs and scores only — never verbatim text.
  • The contribution pipeline (anonymise.py) is a safety net, NOT a substitute for contributor judgement. See CONTRIBUTING.md.
  • All corpora are licensed AGPL-3.0-or-later.

Glossary

Term Meaning
corpus slice a directory under corpora/<server>/<slice>/; the unit of versioning
example one YAML file under a slice — one input, one expected block, multiple ratings
rating one ND-rater's judgement of how close the expected block matches their read
deterministic baseline the heuristic output a translation tool returns without invoking an LLM
eval-corpus binding every mcp-translation tool cites the slice that validates it (ADR 0005 §4)

Status

  • v0.0.2: scaffold + harness + synthesised seed examples across four tool slices
  • v0.0.3 (current): R6 per-neurotype eval slices — an optional neurotypes tag on examples (canonical profile enum), per-neurotype scoring + reporting, and a translation/neurotype seed slice (14 synthesised examples across seven neurotypes). Cross-cutting, additive, back-compatible.
  • v0.1.0 (planned): first contributed corpus + HuggingFace publication pipeline under the neurodock org

See CHANGELOG.md for detail.

Per-neurotype slices (R6)

Examples MAY carry an optional neurotypes array (the canonical profile enum: adhd, asd, audhd, ocd, dyslexia, dyspraxia, tourette, other). The harness aggregates a score per neurotype — alongside the per-tool slices — so a prompt change can be measured against, e.g., the dyslexia slice. The tag is additive and optional: an untagged example scores exactly as before and is absent from every per-neurotype aggregation. Thresholds stay permissive; R6 ships the per-type measurement, not a hard per-type gate. See corpora/translation/neurotype/README.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neurodock_evals-0.0.3.tar.gz (37.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neurodock_evals-0.0.3-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file neurodock_evals-0.0.3.tar.gz.

File metadata

  • Download URL: neurodock_evals-0.0.3.tar.gz
  • Upload date:
  • Size: 37.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neurodock_evals-0.0.3.tar.gz
Algorithm Hash digest
SHA256 5bd5d3f0f6d2c0d6ea4f8f85dbd87e926592ca1a1362e254ba1de2b5c785f648
MD5 0acd89bb009adb34f9e572b9ac1cf989
BLAKE2b-256 19782339492cac96b33bc84ef602ec4cb1bb763fcecb372b202f6a70112dfaf8

See more details on using hashes here.

File details

Details for the file neurodock_evals-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: neurodock_evals-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neurodock_evals-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2d84052f9dd8c8c0dfe7b091d672b6d0246bd691e5d52b142354fc1bb63e8653
MD5 7ded8197d0004d3264e8d88c0e6e2924
BLAKE2b-256 b57cfa37303ae4b8b1679de54d8611f7b66089ba17512b8d4fbb540afe3265bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page