> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://onepin.ai/docs/workflow/accuracy-validator/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://onepin.ai/_mcp/server. # Accuracy validator > The Onepin Accuracy validator (validator_error_rate) — transcribes generated audio and compares it to the script, scoring word accuracy and retrying failing lines. **Family: Validator · `type: validator_error_rate`** The Accuracy validator answers one question: **did the audio say the words?** It transcribes the generated audio and compares it to the script, scoring word accuracy for each line. Lines below the bar are retried; lines at or above it pass. New to validators? Start with [how validators work](/docs/workflow/validators) — the pass/fail routing and retry behavior here are shared by every validator. ## Config | Config key | Default | Range | | ------------- | ------- | ----------------------------------------------- | | `threshold` | `93` | 70–99 (% word accuracy required to pass) | | `max_retries` | `3` | 1–50 (regeneration attempts for a failing line) | ```python node["config"] = {"threshold": 93.0, "max_retries": 3} ``` This is the check that makes output "production-ready" — mispronounced or dropped words are caught and regenerated automatically before export. ## Inspect this node #### Python ```python client.nodes.get_node_detail(node_type="validator_error_rate").data ``` #### CLI ```bash onepin nodes show validator_error_rate ``` #### API ```bash curl https://api.onepin.ai/api/v2/nodes/validator_error_rate \ -H "Authorization: Bearer $ONEPIN_API_KEY" ``` ## Related * [Validators](/docs/workflow/validators) — pass/fail and retry, shared behavior * [Pronunciation validator](/docs/workflow/pronunciation-validator) — was each word pronounced correctly? * [Naturalness validator](/docs/workflow/naturalness-validator) — does it sound human? * [Noise validator](/docs/workflow/noise-validator) — is it clean? > Onepin is a voice workflow platform that orchestrates, validates, and ships production-ready audio across 33 TTS models.