Generate, analyze, and model numeric data. Sequences, sampling, statistics, correlation, regression, and sliding window operations — all deterministic, no AI premium. Pass a seed for bit-for-bit reproducibility across runs.
LLMs cannot reliably compute standard deviations, fit regression lines, or produce consistent numeric sequences. Math tools handle the full lifecycle: generate data, compute statistics, detect trends, measure correlation — all deterministically. When reproducibility matters — audit trails, regression tests, financial models — pass a seed and the output is identical across runs, servers, and time.
math.outliers, distribution profiling with math.describe, change-point detection with pct_change and first differences
// Generate data, clean outliers, normalize, and fit a polynomial trend { "name": "data-grout@1/math.sample@1", "arguments": { "distribution": "normal", "count": 200, "mean": 50, "std": 15, "seed": 42 } } // Detect and remove outliers using IQR method { "name": "data-grout@1/math.outliers@1", "arguments": { "cache_ref": "$sample._meta.cache_ref", "method": "iqr" } } // Normalize cleaned data to [0, 1] range { "name": "data-grout@1/math.normalize@1", "arguments": { "payload": "$outliers.clean_values", "method": "minmax" } } // Fit a quadratic trend with 10-point forecast { "name": "data-grout@1/math.trend@1", "arguments": { "cache_ref": "$normalize._meta.cache_ref", "model": "polynomial", "degree": 2, "forecast": 10 } }
Output is chart-ready — pass records
directly to prism.chart
for visualization.
Feed output into Prism Chart
for instant visualization — trend fitted values
overlay directly on scatter plots. Pipe integration data through
Data
or Frame
tools for filtering, then into math.describe
or math.correlate
for analysis. Use math.outliers
to clean data before modeling, math.normalize
to bring different scales into alignment, math.rank
for leaderboards, and math.trend
polynomial or exponential fits for planning pipelines.