Skip to content

feat: Add input validation and error handling to verify_diagnostics.py#7

Open
Nexussyn wants to merge 6 commits into
Andyyook:mainfrom
Nexussyn:feat/issue-1-input-validation
Open

feat: Add input validation and error handling to verify_diagnostics.py#7
Nexussyn wants to merge 6 commits into
Andyyook:mainfrom
Nexussyn:feat/issue-1-input-validation

Conversation

@Nexussyn

Copy link
Copy Markdown

Summary

Adds comprehensive input validation and error handling to the diagnostics verification script:

  • Add argparse CLI with --verbose, --json, --threshold flags
  • Wrap subprocess.run calls in try/except with meaningful error messages
  • Support --json output for machine consumption
  • Allow --threshold N for minimum passing modules (default: 0)
  • Validate diagnostic JSON schema on read and report structural errors

Closes #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[$40 BOUNTY] [Python] Add input validation and error handling to verify_diagnostics.py

1 participant