a2ui-add-eval-datapoint
a2ui-project/a2ui/.agents/skills/a2ui-add-eval-datapoint/SKILL.md
Step-by-step workflow for adding and verifying new evaluation data points in the A2UI evaluation suite.
What's in it
- Adding and verifying A2UI evaluation data points
- References
- Step-by-step workflow
- 1. Unlock Transcrypt
- 2. Author the data point
- 3. Validate schema compliance
- 4. Run an evaluation on the new data point
- 5. Verify encryption and commit
--- name: a2ui-add-eval-datapoint description: Step-by-step workflow for adding and verifying new evaluation data points in the A2UI evaluation suite. --- # Adding and verifying A2UI evaluation data points Use this skill when adding new data points or datasets to the A2UI evaluation framework in `eval/`. ## References For full architecture and setup details, consult: - `eval/CONTRIBUTING_USE_CASES.md`: The authoritative contributor guide for evaluation use cases, containing field definitions, context rules, and unencrypted multi-turn examples. - `eval/README.md`: Evaluation quickstart, Transcrypt setup, and CLI flags. - `eval/DESIGN.md`: Architecture, multi-stage scorers, and encryption-at-rest design. - `eval/datasets/dataset_schema.json`: Formal JSON Schema defining required fields and structural rules for evaluation data points. --- ## Step-by-step workflow ### 1. Unlock Transcrypt Datasets in `eval/datasets/` are encrypted at rest. Unlock Transcrypt locally before authoring (ask an A2UI team member for the password): ```bash cd eval bin/transcrypt -y -c aes-256-cbc -p <PASSWORD> ``` ### 2. Author the data point Create or update a dataset file in `eval/datasets/<dataset_name>.yaml` (e.g. `eval/datasets/my_dataset.yaml`). Every data point **must conform** to the JSON Schema in `eval/datasets/dataset_schema.json` and follow the authoring guidelines in `eval/CONTRIBUTING_USE_CASES.md`. For a complete unencrypted reference example of a multi-turn conversation with system instructions, tool calls (including unrelated background tool calls), tool responses, and a judging target rubric, inspect `eval/examples/example_eval_case.json`. **Key authoring requirements from `eval/CONTRIBUTING_USE_CASES.md`:** - Include the full multi-turn conversation history (`messages`), including assistant function calls (`tool_calls`) and tool responses (`role: tool`). Do not use single-turn prompts. - Write the `target` as a qualitative judging rubric for the LLM-as-a-judge (what UI components must appear, data binding rules, and what errors to penalize). Do not include a hardcoded JSON string, as that ties the evaluation to a particular inference format. ### 3. Validate schema compliance Verify that all data points satisfy `eval/datasets/dataset_schema.json`: ```bash cd eval uv run python -m pytest tests/test_dataset.py ``` ### 4. Run an evaluation on the new data point Always execute an evaluation run on the newly added dataset to verify model inference and scoring: ```bash cd eval # Quick validation on gemini-3.1-flash-lite uv run main.py --dataset my_dataset --sanity # Full evaluation check uv run main.py --dataset my_dataset ``` View the interactive traces and judging rationales: ```bash uv run inspect view start ``` ### 5. Verify encryption and commit When staging changes, Git applies the Transcrypt clean filter. Confirm that the staged file is encrypted ciphertext before committing: ```bash # Stage the new dataset file git add eval/datasets/my_dataset.yaml # Verify staged content is encrypted ciphertext (not plaintext) git diff --cached eval/datasets/my_dataset.yaml # Commit the encrypted data point git commit -m "feat(eval): add my_dataset evaluation data points" ```
More agent context in a2ui-project/a2ui
15 other files this repository gives its agents.
AGENTS.md
Skill
- a2ui-audit.agents/skills/a2ui-audit/SKILL.md
- a2ui-dart-versioning.agents/skills/a2ui-dart-versioning/SKILL.md
- a2ui-doc-sync-check.agents/skills/a2ui-doc-sync-check/SKILL.md
- a2ui-generate-pydantic-models.agents/skills/a2ui-generate-pydantic-models/SKILL.md
- a2ui-implement-new-sdks-for-client-language.agents/skills/a2ui-implement-new-sdks-for-client-language/SKILL.md
- a2ui-issue-triage.agents/skills/a2ui-issue-triage/SKILL.md
- a2ui-python-development.agents/skills/a2ui-python-development/SKILL.md
- a2ui-release-python.agents/skills/a2ui-release-python/SKILL.md
- a2ui-remediate-problem.agents/skills/a2ui-remediate-problem/SKILL.md
- a2ui-swift-development.agents/skills/a2ui-swift-development/SKILL.md
- a2ui-test-quality-check.agents/skills/a2ui-test-quality-check/SKILL.md
- inspect-ai.agents/skills/inspect-ai/SKILL.md
- natural-writing.agents/skills/natural-writing/SKILL.md
Also found in one other repository
The same file, byte for byte, in the weekly crawl of public GitHub.
- google/A2UI17k
Discussion
Evidence it works
Elsewhere, people who say they tested it. Read them for what they measured.
- Oct 16, 2026 · GitHub · gHashTag/trinity · MVP: benchmark generative-UI competitors and prototype T27F research workspace
Talked about elsewhere, linking to a2ui-project/a2ui
- A2UI in Jetpack Compose: How AI Agents Can Build Native Android UI
Web · anandgaur.substack.com · Sep 28, 2026
- ci: ignore material.dart deprecation per import
GitHub · flutter/genui · 2 reactions · 1 comments · Oct 15, 2026
- A2UI + MCP Apps: Combining the best of declarative and custom agentic UIs
- Google Developers Blog
Web · developers.googleblog.com · Jun 17, 2026
- ci: don't fail beta analysis on infos
GitHub · flutter/genui · 2 reactions · 2 comments · Oct 15, 2026
- I Let an AI Agent Build Its Own UI. Here’s What Actually Happened. | by Dinesh Karakambaka | Jun, 2026
Web · medium.com · Jun 11, 2026
- docs: update feedback and design.md links in READMEs
GitHub · flutter/genui · 1 reactions · Oct 6, 2026
- a2ui ignores v0.9.1 operations, spec template children, and event.userMessage
GitHub · assistant-ui/assistant-ui · 1 reactions · 3 comments · Sep 25, 2026
- fix(genui): give the catalog's controls a name
GitHub · flutter/genui · 1 reactions · 3 comments · Sep 24, 2026
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

