NumPy broadcasting error
- Input
- ValueError: operands could not be broadcast together with shapes (3,4) (3,)
- Method
- Match broadcasting and shape phrases.
- Formula
- error text + known pattern table -> category + likely checks + confidence
- Intermediate steps
- Normalize line endings and trim empty wrapper text.
- Apply deterministic rule or template choices only.
- Add warnings for unsupported syntax, semantic assumptions, and verification steps.
- Final result
- Explains a NumPy broadcasting issue and suggests checking shapes or using the NumPy Array Shape Helper.
- Interpretation
- The result is useful as a migration or documentation aid after human review.
- Limitation
- The helper does not run tests, inspect workspace variables, or guarantee numeric equivalence.