Dimensional Accuracy Scoring for AI-Generated Parts
Dimensional Accuracy Scoring for AI-Generated Parts
A model that generates a G-code toolpath or a CAD feature sequence is not useful until someone can verify it. Dimensional accuracy scoring for AI-generated parts is the discipline of measuring how closely an AI output matches the geometric intent of an engineering specification, whether that specification is a drawing, a tolerance stack, or a GD&T callout. Without a reliable scoring method, post-training signals are noise. With one, they become the foundation of a reward model that teaches an AI system to engineer.
This post defines the scoring problem precisely, describes the verification methods available, and explains where each one breaks down. It is written for post-training researchers, evals engineers, and data-ops managers who are building or commissioning manufacturing and CAD evaluation pipelines.
Answer Capsule
Dimensional accuracy scoring for AI-generated parts measures the geometric and tolerance conformance of AI outputs against a reference specification. Scoring requires a verifier: a simulator, a CAM engine, a constraint solver, or an expert rubric. The choice of verifier determines what failure modes are detectable, what the scoring latency is, and how much expert review is required per task. No single verifier covers all error classes.
What Does Dimensional Accuracy Scoring Actually Measure?
Dimensional accuracy scoring measures the gap between an AI-generated geometric output and a ground-truth specification across four error classes.
Nominal deviation: the difference between a generated dimension and its nominal value (for example, a bore diameter of 24.87 mm against a nominal of 25.00 mm).
Tolerance conformance: whether the generated value falls within the specified bilateral or unilateral tolerance band (for example, 25.00 +0.00 / -0.05 mm).
GD&T constraint satisfaction: whether geometric tolerances such as flatness, perpendicularity, true position, and runout are satisfied, not just the linear dimensions.
Feature relationship errors: whether the spatial relationships between features (hole patterns, datum references, mating surfaces) are geometrically consistent.
Each class requires a different detection method. Nominal deviation is computable from a parsed output. GD&T constraint satisfaction requires a constraint solver or a simulation environment. Feature relationship errors often require expert review because they depend on design intent that is not always explicit in the drawing.
Which Verifier Is Right for a Given Task?
The verifier choice determines the coverage, cost, and latency of the scoring pipeline. The table below maps task types to verifier options.
Task type | Verifier option | What it catches | What it misses | Relative cost per task |
|---|---|---|---|---|
G-code toolpath generation | CAM simulation engine | Gouge, overcut, rapid-into-stock, feed violations | Surface finish intent, setup optimality | Low (automated) |
CAD feature sequence | Parametric CAD kernel | Failed features, missing constraints, rebuild errors | Design intent, manufacturability | Low to medium |
Tolerance stack-up | Algebraic or Monte Carlo solver | Arithmetic errors, statistical yield predictions | Datum scheme appropriateness | Low (automated) |
GD&T callout generation | Expert rubric + constraint check | Datum conflicts, over-constraint, missing modifiers | Functional intent of the callout | High (expert time) |
Drawing interpretation (VLM) | Expert rubric + parsed output comparison | Misread dimensions, missed tolerances, wrong units | Ambiguous view interpretation | High (expert time) |
Automated verifiers are fast and consistent. They are the right choice for well-defined output spaces where a simulator or solver can adjudicate correctness without ambiguity. Expert rubrics are necessary when the correctness criterion depends on engineering judgment: is this tolerance scheme appropriate for the function of the part, not just internally consistent?
Dimensional Accuracy Scoring: A Three-Step Verification Protocol
A reliable scoring pipeline for AI-generated parts follows three sequential steps. Skipping any step produces a signal that reward models will exploit.
Step 1: Parse and extract
Extract all geometric claims from the AI output into a structured representation. For G-code, this means parsing modal state, coordinate values, and feed rates. For a CAD sequence, this means extracting feature parameters and constraint definitions. For a natural-language or VLM output describing a part, this means identifying every dimension, tolerance, and datum reference stated.
Parsing errors at this step are themselves a failure mode: if the model produces output that cannot be parsed, it scores zero on the affected dimensions regardless of intent.
Step 2: Automated constraint check
Run the parsed output through the appropriate automated verifier. Record a binary pass or fail for each dimension and constraint, plus the signed error magnitude for continuous dimensions. Aggregate into a per-task score using a weighted rubric that reflects the functional importance of each feature.
A simple weighting scheme: critical dimensions (those that affect fit, function, or safety) carry a weight of 3; major dimensions carry a weight of 2; reference dimensions carry a weight of 1. The task score is the sum of (weight x pass) divided by the sum of all weights. This produces a score in [0, 1] that is interpretable as a weighted conformance rate.
Step 3: Expert review of residual cases
Automated verifiers produce false negatives on GD&T intent, datum scheme appropriateness, and manufacturability. Route tasks that pass the automated check but involve complex GD&T or novel feature relationships to a domain expert for a second-pass review. The expert uses a structured rubric, not free-form judgment, to keep scoring consistent across reviewers.
Rubric design for this second pass is non-trivial. Inconsistent rubric application across expert reviewers is one of the most common sources of reward signal corruption in manufacturing evals. The problem of rubric drift and scoring consistency across annotator cohorts is documented and has known mitigations: calibration tasks, gold-standard anchors, and periodic inter-rater agreement checks.
Worked Example: Scoring a Turned Part Feature
Illustrative example. All dimensions and scores are constructed for clarity; they do not represent a specific model evaluation.
A frontier model is prompted to generate a G-code program for a turned steel shaft. The specification calls for an outer diameter of 38.00 mm with a tolerance of +0.00 / -0.03 mm, a 2.0 mm chamfer at 45 degrees on both ends, and a surface finish of Ra 1.6 micrometres on the bearing journal.
The model outputs a G-code program. Parsing extracts the following claims:
Outer diameter: 37.98 mm (within tolerance, pass, weight 3)
Chamfer angle: 45 degrees (pass, weight 2)
Chamfer length: 1.8 mm (outside the 2.0 mm nominal with no tolerance specified; the expert rubric treats this as a minor deviation, partial credit, weight 2, score 0.5)
Feed rate on the journal pass: 0.35 mm/rev (too high for Ra 1.6 on steel at the specified cutting speed; fail, weight 3)
Weighted score: (3x1 + 2x1 + 2x0.5 + 3x0) / (3+2+2+3) = 6 / 10 = 0.60.
The automated verifier catches the feed rate violation because the CAM simulator flags the predicted surface finish as outside specification. The chamfer length deviation is caught at the parse-and-extract step. The expert adds no new findings in this case. Total review time: automated check plus 4 minutes of expert confirmation.
Common Failure Modes in Dimensional Accuracy Scoring
Six failure modes recur across manufacturing eval pipelines. Each has a detection signal and a fix.
Unit ambiguity in model output. The model generates coordinates without specifying millimetres or inches, or switches units mid-program. Detection: parse for G20/G21 modal state in G-code; flag any output where units are absent or inconsistent. Fix: require the verifier to reject unparseable unit state as a hard fail.
Nominal correctness masking tolerance failure. A dimension hits its nominal value exactly but the model has generated an incompatible tolerance callout elsewhere that makes the nominal value non-conforming. Detection: run the full GD&T constraint graph, not just individual dimension checks. Fix: use a constraint solver that evaluates the complete datum reference frame.
Verifier coverage gaps rewarded as correct. The automated verifier does not check a specific error class (for example, surface finish or datum scheme), so the model learns to satisfy the checked constraints while producing unmanufacturable outputs on the unchecked ones. Detection: audit verifier coverage against the full specification; run a sample of passing outputs through expert review. Fix: expand verifier coverage or add an expert review gate for the uncovered classes.
Rubric inconsistency across expert reviewers. Two experts score the same partial output differently because the rubric does not define partial credit thresholds precisely. Detection: compute inter-rater agreement (Cohen's kappa or percentage agreement) on a calibration set. Fix: add numeric thresholds to each rubric criterion and run a calibration session before live scoring. More detail on this problem is covered in the post on annotator quality scoring without ground truth.
Task difficulty drift as models improve. A task that was reliably failed by frontier models six months ago is now solved at high pass rates. The task no longer provides a useful training signal. Detection: re-run a sample of tasks against current frontier models on a scheduled cadence; track pass@k over time. Fix: retire saturated tasks and commission new ones at higher difficulty.
Contamination from web-derived specifications. The model has seen the specific part drawing or G-code example during pre-training and is recalling rather than reasoning. Detection: use original, expert-authored tasks that do not appear in public datasets; cross-check outputs for verbatim reproduction of specification text. Fix: source tasks from practitioner authors who generate novel specifications from scratch.
Where Dimensional Accuracy Scoring Breaks Down
Dimensional accuracy scoring is a necessary condition for a useful manufacturing eval, not a sufficient one. It does not capture whether a design is optimal, whether it is cost-effective to manufacture, or whether the chosen process is appropriate for the material. A part can be dimensionally conformant and still be unmanufacturable at scale.
Scoring also depends on the quality of the reference specification. An ambiguous drawing produces ambiguous scoring. When the specification itself contains errors or underspecified views, expert disagreement on the correct score is irreducible, and the task should be retired rather than forced through a rubric.
Finally, difficulty calibration is model-specific and date-specific. A pass@k score measured against a frontier model today will not hold as models improve. Any eval built on dimensional accuracy tasks requires a maintenance schedule, not a one-time deployment.
Frequently Asked Questions
What is dimensional accuracy scoring for AI-generated parts?
Dimensional accuracy scoring measures how closely an AI-generated geometric output conforms to a reference engineering specification. It covers nominal dimension values, tolerance band conformance, GD&T constraint satisfaction, and feature relationship correctness. Scoring requires a verifier: a simulator, a constraint solver, or a structured expert rubric, depending on the error class being evaluated.
Can automated verifiers replace expert review for manufacturing evals?
Automated verifiers handle well-defined output spaces reliably: G-code simulation, parametric CAD rebuild checks, and algebraic tolerance stack-ups. They cannot adjudicate GD&T intent, datum scheme appropriateness, or manufacturability. Expert review remains necessary for these classes. A pipeline without expert review has systematic blind spots that reward models will exploit over training iterations.
How is pass@k used in dimensional accuracy evaluation?
Pass@k estimates the probability that at least one of k sampled model outputs for a given task passes the dimensional accuracy verifier. It is more informative than a single-sample pass rate because manufacturing tasks often have multiple valid solutions. A task where the model passes at k=10 but fails at k=1 reveals stochastic competence, not reliable engineering judgment, which is a distinct failure mode for deployment.
How do you prevent reward hacking in a dimensional accuracy scorer?
Reward hacking occurs when a model learns to satisfy the verifier's specific checks without satisfying the underlying engineering intent. Prevention requires: expanding verifier coverage to close known gaps, auditing passing outputs with expert review on a sample basis, and retiring tasks that the model has learned to game. No static verifier is permanently hack-proof as models improve.
What makes a manufacturing eval task resistant to contamination?
Tasks authored by practitioners from novel specifications, not derived from public drawings, textbooks, or online G-code repositories, are resistant to contamination because the model cannot have seen them during pre-training. Provenance documentation, recording who authored the task and from what source material, is the operational mechanism for maintaining this guarantee over time.
How often should dimensional accuracy tasks be recalibrated for difficulty?
There is no universal interval. The practical trigger is a measurable increase in pass@k on a sentinel set of tasks evaluated against current frontier models. Teams running active post-training pipelines typically re-evaluate task difficulty quarterly. Teams building static benchmarks should publish the model families and versions used for calibration so consumers can assess saturation risk themselves.
What This Means in Practice
Dimensional accuracy scoring for AI-generated parts is an engineering problem, not just a measurement problem. The verifier architecture, the rubric design, the expert calibration process, and the difficulty maintenance schedule all require the same rigor as the tasks themselves. A scoring system that has blind spots, inconsistent rubrics, or saturated tasks produces corrupted post-training signals, and corrupted signals produce models that appear to improve while their real manufacturing competence stagnates.
The path forward is a pipeline where automated verifiers handle what they can adjudicate reliably, expert review covers what they cannot, and both are maintained against a moving frontier. Chiron Data Labs builds expert-authored tasks and verification pipelines for exactly these non-software engineering domains, where the gap between what frontier models claim to do and what they can actually verify on a physical part is still wide.
If you are building evals or RL environments in manufacturing, CNC/CAM, or related engineering domains, get in touch with Chiron Data Labs.
Have questions or want personalised guidance? Contact us and we'll be happy to help.
A model that generates a G-code toolpath or a CAD feature sequence is not useful until someone can verify it. Dimensional accuracy scoring for AI-generated parts is the discipline of measuring how closely an AI output matches the geometric intent of an engineering specification, whether that specification is a drawing, a tolerance stack, or a GD&T callout. Without a reliable scoring method, post-training signals are noise. With one, they become the foundation of a reward model that teaches an AI system to engineer.
This post defines the scoring problem precisely, describes the verification methods available, and explains where each one breaks down. It is written for post-training researchers, evals engineers, and data-ops managers who are building or commissioning manufacturing and CAD evaluation pipelines.
Answer Capsule
Dimensional accuracy scoring for AI-generated parts measures the geometric and tolerance conformance of AI outputs against a reference specification. Scoring requires a verifier: a simulator, a CAM engine, a constraint solver, or an expert rubric. The choice of verifier determines what failure modes are detectable, what the scoring latency is, and how much expert review is required per task. No single verifier covers all error classes.
What Does Dimensional Accuracy Scoring Actually Measure?
Dimensional accuracy scoring measures the gap between an AI-generated geometric output and a ground-truth specification across four error classes.
Nominal deviation: the difference between a generated dimension and its nominal value (for example, a bore diameter of 24.87 mm against a nominal of 25.00 mm).
Tolerance conformance: whether the generated value falls within the specified bilateral or unilateral tolerance band (for example, 25.00 +0.00 / -0.05 mm).
GD&T constraint satisfaction: whether geometric tolerances such as flatness, perpendicularity, true position, and runout are satisfied, not just the linear dimensions.
Feature relationship errors: whether the spatial relationships between features (hole patterns, datum references, mating surfaces) are geometrically consistent.
Each class requires a different detection method. Nominal deviation is computable from a parsed output. GD&T constraint satisfaction requires a constraint solver or a simulation environment. Feature relationship errors often require expert review because they depend on design intent that is not always explicit in the drawing.
Which Verifier Is Right for a Given Task?
The verifier choice determines the coverage, cost, and latency of the scoring pipeline. The table below maps task types to verifier options.
Task type | Verifier option | What it catches | What it misses | Relative cost per task |
|---|---|---|---|---|
G-code toolpath generation | CAM simulation engine | Gouge, overcut, rapid-into-stock, feed violations | Surface finish intent, setup optimality | Low (automated) |
CAD feature sequence | Parametric CAD kernel | Failed features, missing constraints, rebuild errors | Design intent, manufacturability | Low to medium |
Tolerance stack-up | Algebraic or Monte Carlo solver | Arithmetic errors, statistical yield predictions | Datum scheme appropriateness | Low (automated) |
GD&T callout generation | Expert rubric + constraint check | Datum conflicts, over-constraint, missing modifiers | Functional intent of the callout | High (expert time) |
Drawing interpretation (VLM) | Expert rubric + parsed output comparison | Misread dimensions, missed tolerances, wrong units | Ambiguous view interpretation | High (expert time) |
Automated verifiers are fast and consistent. They are the right choice for well-defined output spaces where a simulator or solver can adjudicate correctness without ambiguity. Expert rubrics are necessary when the correctness criterion depends on engineering judgment: is this tolerance scheme appropriate for the function of the part, not just internally consistent?
Dimensional Accuracy Scoring: A Three-Step Verification Protocol
A reliable scoring pipeline for AI-generated parts follows three sequential steps. Skipping any step produces a signal that reward models will exploit.
Step 1: Parse and extract
Extract all geometric claims from the AI output into a structured representation. For G-code, this means parsing modal state, coordinate values, and feed rates. For a CAD sequence, this means extracting feature parameters and constraint definitions. For a natural-language or VLM output describing a part, this means identifying every dimension, tolerance, and datum reference stated.
Parsing errors at this step are themselves a failure mode: if the model produces output that cannot be parsed, it scores zero on the affected dimensions regardless of intent.
Step 2: Automated constraint check
Run the parsed output through the appropriate automated verifier. Record a binary pass or fail for each dimension and constraint, plus the signed error magnitude for continuous dimensions. Aggregate into a per-task score using a weighted rubric that reflects the functional importance of each feature.
A simple weighting scheme: critical dimensions (those that affect fit, function, or safety) carry a weight of 3; major dimensions carry a weight of 2; reference dimensions carry a weight of 1. The task score is the sum of (weight x pass) divided by the sum of all weights. This produces a score in [0, 1] that is interpretable as a weighted conformance rate.
Step 3: Expert review of residual cases
Automated verifiers produce false negatives on GD&T intent, datum scheme appropriateness, and manufacturability. Route tasks that pass the automated check but involve complex GD&T or novel feature relationships to a domain expert for a second-pass review. The expert uses a structured rubric, not free-form judgment, to keep scoring consistent across reviewers.
Rubric design for this second pass is non-trivial. Inconsistent rubric application across expert reviewers is one of the most common sources of reward signal corruption in manufacturing evals. The problem of rubric drift and scoring consistency across annotator cohorts is documented and has known mitigations: calibration tasks, gold-standard anchors, and periodic inter-rater agreement checks.
Worked Example: Scoring a Turned Part Feature
Illustrative example. All dimensions and scores are constructed for clarity; they do not represent a specific model evaluation.
A frontier model is prompted to generate a G-code program for a turned steel shaft. The specification calls for an outer diameter of 38.00 mm with a tolerance of +0.00 / -0.03 mm, a 2.0 mm chamfer at 45 degrees on both ends, and a surface finish of Ra 1.6 micrometres on the bearing journal.
The model outputs a G-code program. Parsing extracts the following claims:
Outer diameter: 37.98 mm (within tolerance, pass, weight 3)
Chamfer angle: 45 degrees (pass, weight 2)
Chamfer length: 1.8 mm (outside the 2.0 mm nominal with no tolerance specified; the expert rubric treats this as a minor deviation, partial credit, weight 2, score 0.5)
Feed rate on the journal pass: 0.35 mm/rev (too high for Ra 1.6 on steel at the specified cutting speed; fail, weight 3)
Weighted score: (3x1 + 2x1 + 2x0.5 + 3x0) / (3+2+2+3) = 6 / 10 = 0.60.
The automated verifier catches the feed rate violation because the CAM simulator flags the predicted surface finish as outside specification. The chamfer length deviation is caught at the parse-and-extract step. The expert adds no new findings in this case. Total review time: automated check plus 4 minutes of expert confirmation.
Common Failure Modes in Dimensional Accuracy Scoring
Six failure modes recur across manufacturing eval pipelines. Each has a detection signal and a fix.
Unit ambiguity in model output. The model generates coordinates without specifying millimetres or inches, or switches units mid-program. Detection: parse for G20/G21 modal state in G-code; flag any output where units are absent or inconsistent. Fix: require the verifier to reject unparseable unit state as a hard fail.
Nominal correctness masking tolerance failure. A dimension hits its nominal value exactly but the model has generated an incompatible tolerance callout elsewhere that makes the nominal value non-conforming. Detection: run the full GD&T constraint graph, not just individual dimension checks. Fix: use a constraint solver that evaluates the complete datum reference frame.
Verifier coverage gaps rewarded as correct. The automated verifier does not check a specific error class (for example, surface finish or datum scheme), so the model learns to satisfy the checked constraints while producing unmanufacturable outputs on the unchecked ones. Detection: audit verifier coverage against the full specification; run a sample of passing outputs through expert review. Fix: expand verifier coverage or add an expert review gate for the uncovered classes.
Rubric inconsistency across expert reviewers. Two experts score the same partial output differently because the rubric does not define partial credit thresholds precisely. Detection: compute inter-rater agreement (Cohen's kappa or percentage agreement) on a calibration set. Fix: add numeric thresholds to each rubric criterion and run a calibration session before live scoring. More detail on this problem is covered in the post on annotator quality scoring without ground truth.
Task difficulty drift as models improve. A task that was reliably failed by frontier models six months ago is now solved at high pass rates. The task no longer provides a useful training signal. Detection: re-run a sample of tasks against current frontier models on a scheduled cadence; track pass@k over time. Fix: retire saturated tasks and commission new ones at higher difficulty.
Contamination from web-derived specifications. The model has seen the specific part drawing or G-code example during pre-training and is recalling rather than reasoning. Detection: use original, expert-authored tasks that do not appear in public datasets; cross-check outputs for verbatim reproduction of specification text. Fix: source tasks from practitioner authors who generate novel specifications from scratch.
Where Dimensional Accuracy Scoring Breaks Down
Dimensional accuracy scoring is a necessary condition for a useful manufacturing eval, not a sufficient one. It does not capture whether a design is optimal, whether it is cost-effective to manufacture, or whether the chosen process is appropriate for the material. A part can be dimensionally conformant and still be unmanufacturable at scale.
Scoring also depends on the quality of the reference specification. An ambiguous drawing produces ambiguous scoring. When the specification itself contains errors or underspecified views, expert disagreement on the correct score is irreducible, and the task should be retired rather than forced through a rubric.
Finally, difficulty calibration is model-specific and date-specific. A pass@k score measured against a frontier model today will not hold as models improve. Any eval built on dimensional accuracy tasks requires a maintenance schedule, not a one-time deployment.
Frequently Asked Questions
What is dimensional accuracy scoring for AI-generated parts?
Dimensional accuracy scoring measures how closely an AI-generated geometric output conforms to a reference engineering specification. It covers nominal dimension values, tolerance band conformance, GD&T constraint satisfaction, and feature relationship correctness. Scoring requires a verifier: a simulator, a constraint solver, or a structured expert rubric, depending on the error class being evaluated.
Can automated verifiers replace expert review for manufacturing evals?
Automated verifiers handle well-defined output spaces reliably: G-code simulation, parametric CAD rebuild checks, and algebraic tolerance stack-ups. They cannot adjudicate GD&T intent, datum scheme appropriateness, or manufacturability. Expert review remains necessary for these classes. A pipeline without expert review has systematic blind spots that reward models will exploit over training iterations.
How is pass@k used in dimensional accuracy evaluation?
Pass@k estimates the probability that at least one of k sampled model outputs for a given task passes the dimensional accuracy verifier. It is more informative than a single-sample pass rate because manufacturing tasks often have multiple valid solutions. A task where the model passes at k=10 but fails at k=1 reveals stochastic competence, not reliable engineering judgment, which is a distinct failure mode for deployment.
How do you prevent reward hacking in a dimensional accuracy scorer?
Reward hacking occurs when a model learns to satisfy the verifier's specific checks without satisfying the underlying engineering intent. Prevention requires: expanding verifier coverage to close known gaps, auditing passing outputs with expert review on a sample basis, and retiring tasks that the model has learned to game. No static verifier is permanently hack-proof as models improve.
What makes a manufacturing eval task resistant to contamination?
Tasks authored by practitioners from novel specifications, not derived from public drawings, textbooks, or online G-code repositories, are resistant to contamination because the model cannot have seen them during pre-training. Provenance documentation, recording who authored the task and from what source material, is the operational mechanism for maintaining this guarantee over time.
How often should dimensional accuracy tasks be recalibrated for difficulty?
There is no universal interval. The practical trigger is a measurable increase in pass@k on a sentinel set of tasks evaluated against current frontier models. Teams running active post-training pipelines typically re-evaluate task difficulty quarterly. Teams building static benchmarks should publish the model families and versions used for calibration so consumers can assess saturation risk themselves.
What This Means in Practice
Dimensional accuracy scoring for AI-generated parts is an engineering problem, not just a measurement problem. The verifier architecture, the rubric design, the expert calibration process, and the difficulty maintenance schedule all require the same rigor as the tasks themselves. A scoring system that has blind spots, inconsistent rubrics, or saturated tasks produces corrupted post-training signals, and corrupted signals produce models that appear to improve while their real manufacturing competence stagnates.
The path forward is a pipeline where automated verifiers handle what they can adjudicate reliably, expert review covers what they cannot, and both are maintained against a moving frontier. Chiron Data Labs builds expert-authored tasks and verification pipelines for exactly these non-software engineering domains, where the gap between what frontier models claim to do and what they can actually verify on a physical part is still wide.
If you are building evals or RL environments in manufacturing, CNC/CAM, or related engineering domains, get in touch with Chiron Data Labs.
Have questions or want personalised guidance? Contact us and we'll be happy to help.