ascendc-operator-precision-eval

Generate and run AscendC operator precision tests, outputting Markdown and JSON reports.

31|1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/Ascend/agent-skills --skill ascendc-operator-precision-eval
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ascendc-operator-precision-eval
Source: https://github.com/Ascend/agent-skills/tree/main/skills/ascendc-operator-precision-eval
Command: npx skills add https://github.com/Ascend/agent-skills --skill ascendc-operator-precision-eval

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates end-to-end AscendC operator precision evaluation by generating test cases, executing tests, and producing a comprehensive precision report to verify numerical accuracy across multiple dtypes and shapes.

Core Features & Use Cases

  • Generates ≥30 test cases covering all supported dtypes and representative shapes.
  • Executes precision tests and produces a structured report in Markdown and JSON, including MERE, MARE, and per-dtype insights.
  • Validates against ecosystem precision standards and documents deviations or threshold considerations.

Quick Start

Run the prepared precision evaluation workflow for the target AscendC operator.

Frequently Asked Questions about ascendc-operator-precision-eval

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate AscendC operator precision testing across multiple dtypes and shapes?

AscendC operator precision testing is automated by generating at least 30 test cases covering all supported dtypes and representative shapes, then executing the tests to verify numerical accuracy. The workflow runs end-to-end and produces a comprehensive precision report.

What metrics are included in an AscendC operator precision report?

An AscendC operator precision report includes MERE and MARE metrics, per-dtype performance insights, total test counts, and failure details. The structured output is provided in both Markdown and JSON formats to document numerical deviations and threshold considerations.

How does AscendC operator precision evaluation validate against ecosystem standards?

AscendC operator precision evaluation validates compiled operators by applying ecosystem precision standards to the test results. It identifies numerical deviations and documents any threshold considerations within the final structured report to ensure compliance.

Can I run precision evaluation for compiled AscendC operators with different data types?

Yes, you can run precision evaluation for compiled AscendC operators across multiple dtypes. The evaluation workflow generates test cases covering all supported data types and representative shapes to ensure comprehensive numerical accuracy verification.

What is the best way to report MERE and MARE metrics for AscendC operators?

The best way to report MERE and MARE metrics for AscendC operators is by running an automated precision evaluation that outputs both Markdown and JSON files. These reports detail per-dtype performance, total tests, failures, and key findings.

Why does my AscendC operator precision test report threshold deviations?

AscendC operator precision test reports document threshold deviations to flag numerical inaccuracies found during evaluation. The report highlights these deviations to ensure the compiled operator meets ecosystem precision standards across various dtypes and shapes.