Skip to content
Back to skills

Reference And Backend Tests

ASecurity

"Guides ONNX ReferenceEvaluator usage, reference-op behavior,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
toolspythonnodedebuggingbackend

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill reference-and-backend-tests --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reference And Backend Tests?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Reference And Backend Tests
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-reference-and-backend-tests/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-reference-and-backend-tests)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: reference-and-backend-tests
description: "Guides ONNX ReferenceEvaluator usage, reference-op behavior,
  backend test corpus, and bounded backend-data generation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# ONNX Reference and Backend Tests

Use this sub-skill when a task needs to execute ONNX with the pure-Python `ReferenceEvaluator`, compare outputs against expected NumPy values, inspect reference operator behavior, work with the backend test corpus, or generate small backend-test data sets.

## Workflow

1. Use `ReferenceEvaluator` when you need a local execution baseline that follows ONNX semantics rather than a framework runtime.
2. If the model already exists, load it and run a tiny, deterministic input dictionary first.
3. For backend-test corpus work, distinguish between safe local node/model cases and real model downloads. Prefer small, source-defined cases for smoke tests.
4. Keep optional dependencies optional: install `onnx[reference]` only when image-decoder/reference workflows need Pillow.
5. When a result differs from a backend/runtime, treat the ONNX spec and reference operator as the source of truth.
6. Use the bounded helper script to create a small backend-test data directory or to smoke-check a tiny model.

## Route to References and Helpers

- Read `references/reference-evaluator.md` for `ReferenceEvaluator` and debugging details.
- Read `references/backend-test-workflows.md` for backend-interface concepts and test-data generation patterns.
- Read `references/troubleshooting.md` before retrying a missing-op, optional-dependency, or download-based backend issue.
- Run `scripts/reference_eval_smoke.py --help` to see the safe tiny-model smoke options.
- Run `scripts/generate_backend_test_subset.py --help` to see the bounded backend-data generator options.

## Scope Boundaries

- Use `model-authoring` for creating or saving models and fixtures.
- Use `validation-and-conversion` for checker, parser/printer, shape inference, and opset conversion.
- Use `operator-spec-maintenance` when the task changes the reference operator implementations or backend node tests themselves.

Files in this skill

  • SKILL.md2.1 KB
  • references/backend-test-workflows.md1.6 KB
  • references/reference-evaluator.md1.3 KB
  • references/troubleshooting.md1.5 KB
  • scripts/generate_backend_test_subset.py2.8 KB
  • scripts/reference_eval_smoke.py1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.