feat: introduce family_spec logic for wafer sensor-count partitioning

This commit is contained in:
jack
2026-07-06 13:19:47 -07:00
parent 3b919f576f
commit 185e66ea3a
3 changed files with 34 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
"""Single source of truth for the wafer sensor-count partition."""
def sensor_count_for(family_code: str) -> int:
"""Return the number of valid sensor readings for a wafer family code.
Returns 80 for the "X" family. Returns 244 for every other family
code."""
return 80 if family_code == "X" else 244