What problem does it solve?
This Skill helps you translate mathematical formulas into code without silently changing the intended estimator, aggregation order, or normalization.
Core Features & Use Cases
- Faithful Formula Translation: Expands compact notation into explicit code paths so sums, means, products, and expectations are implemented in the correct order.
- Estimator Disambiguation: Separates similar quantities such as mean-of-ratios and ratio-of-means, or micro, macro, and weighted metrics, so the right one is named and used.
- Validation and Review Support: Encourages property tests, docstrings, and line-by-line correspondence checks to catch numerical mismatches in metrics, losses, and algorithm implementations.
- Use Case: A researcher implementing a paper’s per-byte metric can verify that the published formula matches the code instead of accidentally computing a different aggregation.
Quick Start
Use the implement-math skill to rewrite this formula into explicit code, name any competing estimators, and add a test that proves the intended aggregation order.