Validation System And Rules#
This page explains the validation backend at a high level.
For the full per-check matrix, issue titles, params, and related tools, use:
Main Config#
Validation config lives in:
swcstudio/tools/validation/configs/default.json
Per-check shape:
{
"checks": {
"has_soma": {
"enabled": true,
"severity": "error",
"params": {}
}
}
}
Meaning:
enabledrun or skip the check
severityhow a failing check is classified in the report
paramscheck-specific thresholds or options
Output Model#
Each check returns a CheckResult with fields such as:
keylabelstatusmessagefailing_node_idsfailing_section_idsmetricsparams_usedthresholds_used
A full run returns a ValidationReport with:
precheckresultssummary
GUI And CLI Consistency#
Validation stays consistent across interfaces because both call the same backend and return the same result model.
Use the CLI when you want batchable text output. Use the GUI when you want issue navigation, highlighting, and repair routing.