Your build starts here
Replace bracketed details with your own goal, context, and checks. Keep the first build small enough to inspect.
Implement [numerical calculation] for [input meaning, units, ranges, and shapes]. State the expected output and create a small independently checkable example first. Validate dimensions, numeric types, missing and non-finite values, and any broadcasting axes. Choose justified comparison tolerances and inspect sensitivity to small input changes. After correctness checks pass, measure runtime and memory on representative sizes. Report the algorithm, before-and-after evidence for any optimization, and limitations arising from input uncertainty or numerical conditioning.Make this prompt yours
Replace bracketed fields with your goal, current behavior, and relevant evidence. Keep requirements that affect the task. Check the result against the acceptance criteria you supplied.
The docs behind it
These references explain the underlying concepts and APIs. The prompt templates and project plans are original examples to adapt to your own setup.
- NumPy — Matrix condition numbers
- Python — Floating-point arithmetic and rounding error
- Pint — Units, quantities, and dimensionality checks
Documentation links checked .
Editorial review · October 28, 2026
Limited: Original instructional template; not executed. Numerical-routine prompt requests independent references and measurements; no generated numerical implementation was executed.