abse/smartwatch-flex-top-only
Three-panel flex smartwatch with two parallel R3.9 bends, all components flat-top, low-profile JST connector harnesses, split heartbeat optical windows and screw-retained PCB mounting. Modeled 39 × 50.5 × 14.5mm prototype; 100% routing, zero native DRC and shorts. Hardware qualification pending.
- Version
- 0.2.20
- License
- unset
- Stars
- 0
scripts/check-order-qualification.py
"""Separate physical/order qualification from successful software and copper checks."""
from pathlib import Path
import json,sys
root=Path(__file__).resolve().parent.parent
path=Path(sys.argv[1]) if len(sys.argv)>1 else root/'qualification/evidence-current.json'
evidence=json.loads(path.read_text());required=[k for k in json.loads((root/'qualification/evidence-template.json').read_text()) if k!='note'];missing=[k for k in required if not evidence.get(k)]
report={'status':'HOLD_FOR_ORDER' if missing else 'DOCUMENTS_PROVIDED_PENDING_ENGINEERING_REVIEW','missingEvidence':missing,'evidenceFile':str(path),'scope':'Existence gate only. Actual reports still require engineering review; documentation existence is not an automatic hardware approval.'}
(root/'reports/electrical-fixes/order-qualification.json').write_text(json.dumps(report,indent=2)+'\n');print(json.dumps(report,indent=2))
if missing:sys.exit(1)