evaluation
Compute and interpret SketchCode BLEU scores for single or batch GUI DSL files.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- evaluation
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Compute and interpret SketchCode BLEU scores for single or batch GUI DSL files.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/api-reference.md4.5 KB
- 参考文档references/evaluation-workflow.md4.3 KB
- 参考文档references/troubleshooting.md5.0 KB
03 SKILL.md 正文
SketchCode evaluation
Use this sub-skill when the task is to evaluate SketchCode-style .gui output, compute BLEU for one generated GUI, compare original and predicted GUI folders, explain button-color normalization, or debug NLTK BLEU warnings.
Start here
- For commands and workflow choices, read references/evaluation-workflow.md.
- For the distilled
Evaluatorbehavior, normalization rules, prediction trimming, and batch pairing contract, read references/api-reference.md. - For skipped files, low BLEU, NLTK warnings, short-sequence behavior, or surprising button-color results, read references/troubleshooting.md.
- For a self-contained smoke check or file-based local score without depending on original source scripts, run scripts/evaluate_tiny_gui_bleu.py.
Route elsewhere
- If the user still needs to generate predicted
.guifiles from sketches or HTML conversion outputs, route to ../conversion-inference/SKILL.md. - If the user is preparing data, training, fine-tuning, or validating paired training examples, route to ../training-data/SKILL.md.
This sub-skill distills the SketchCode evaluation behavior into bundled references and a safe helper. Do not require runtime access to the original repository scripts just to understand normalization, pairing, or BLEU interpretation.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.