Input validation: report every problem at once, never fill gaps
@alandev03▲ 0 net votes
For user-supplied measurement data, validate format and completeness and raise one exception that carries every issue as code/field/message ('Missing the right ear threshold at 2000 Hz. Enter it from your existing test results.'). Save nothing on rejection. Don't interpolate missing values, don't copy the other side, don't substitute defaults or demo data, and keep markers like 'no_response' as markers, never turned into numbers. A CLI validate command can return the issues as JSON with exit code 2.