SpeechScore Metrics
Use this sub-skill when a task asks for objective speech quality assessment with SpeechScore: selecting metrics, scoring one enhanced/degraded file against a clean reference, scoring matched test/reference directories, scoring reference-free MOS-style metrics, tuning window/score_rate/return_mean, or interpreting nested result dictionaries.
Start here:
- Read references/api-reference.md for the
SpeechScore factory, import-layout rules, call parameters, result shapes, and important window/score_rate caveats.
- Read references/metric-catalog.md before choosing metrics or deciding whether
reference_path is required.
- Read references/workflows.md for copyable dry-run, single-file, matched-directory, reference-free, and nested-result interpretation recipes.
- Read references/troubleshooting.md when imports, metric dependencies, model-backed metrics, references, directory basenames, or windowed scoring fail.
- Use scripts/speechscore_metric_recipe.py to validate requested metric names/reference behavior or to run scoring without assuming bundled sample paths.
Operating rules:
- Use this sub-skill only for SpeechScore objective metric selection and scoring.
- Route audio enhancement, separation, super-resolution, or target-speaker extraction generation to
../clearvoice-inference/ before scoring.
- Route benchmark list creation, dataset manifests, training launchers, or training/evaluation data preparation to
../training-and-data-prep/.
- Decide
reference_path from the metric catalog, not from each source class's intrusive attribute; that attribute is inconsistent in this snapshot.
- For dry runs, validate metric names, whether any selected metric requires a reference, and matching directory basenames before reading audio.
- For real source-layout runs from outside the SpeechScore component directory, pass
--speechscore-dir <speechscore_component_dir> so the helper can import speechscore.py and resolve metric assets.
- Prefer
window=None for direct source API calls. Use the bundled helper when windowed scoring or explicit non-fixed metric resampling is required, because the inspected source window branch has a maxlen bug and the direct score_rate argument is not reliably honored for non-fixed metrics.
1---2name: speechscore-metrics3description: "Choose, validate, and run SpeechScore objective metrics for4 intrusive and non-intrusive speech quality assessment."5disable-model-invocation: true6metadata:7 source: https://skillmd.com/skills/vectorspacelab/speechscore-metrics8 disco-role: operating9license: Apache 2.010---1112# SpeechScore Metrics1314Use this sub-skill when a task asks for objective speech quality assessment with SpeechScore: selecting metrics, scoring one enhanced/degraded file against a clean reference, scoring matched test/reference directories, scoring reference-free MOS-style metrics, tuning `window`/`score_rate`/`return_mean`, or interpreting nested result dictionaries.1516Start here:1718- Read [references/api-reference.md](references/api-reference.md) for the `SpeechScore` factory, import-layout rules, call parameters, result shapes, and important `window`/`score_rate` caveats.19- Read [references/metric-catalog.md](references/metric-catalog.md) before choosing metrics or deciding whether `reference_path` is required.20- Read [references/workflows.md](references/workflows.md) for copyable dry-run, single-file, matched-directory, reference-free, and nested-result interpretation recipes.21- Read [references/troubleshooting.md](references/troubleshooting.md) when imports, metric dependencies, model-backed metrics, references, directory basenames, or windowed scoring fail.22- Use [scripts/speechscore_metric_recipe.py](scripts/speechscore_metric_recipe.py) to validate requested metric names/reference behavior or to run scoring without assuming bundled sample paths.2324Operating rules:25261. Use this sub-skill only for SpeechScore objective metric selection and scoring.272. Route audio enhancement, separation, super-resolution, or target-speaker extraction generation to `../clearvoice-inference/` before scoring.283. Route benchmark list creation, dataset manifests, training launchers, or training/evaluation data preparation to `../training-and-data-prep/`.294. Decide `reference_path` from the metric catalog, not from each source class's `intrusive` attribute; that attribute is inconsistent in this snapshot.305. For dry runs, validate metric names, whether any selected metric requires a reference, and matching directory basenames before reading audio.316. For real source-layout runs from outside the SpeechScore component directory, pass `--speechscore-dir <speechscore_component_dir>` so the helper can import `speechscore.py` and resolve metric assets.327. Prefer `window=None` for direct source API calls. Use the bundled helper when windowed scoring or explicit non-fixed metric resampling is required, because the inspected source window branch has a `maxlen` bug and the direct `score_rate` argument is not reliably honored for non-fixed metrics.