infer_column_rule
Identify the formula behind a numeric column: fit arithmetic, geometric, and power-law curves, return the best expression with fit percentage and breakpoint rows that deviate from the rule.
Instructions
列规则推断(确定性拟合,逆向分析的起点):对指定数值列拟合三大曲线族(等差/等比/幂律),返回最优规则——参数、吻合占比 fitPct、可直接使用的表达式——以及偏离规则的断点行(疑似手调)。分析成长/消耗曲线的构成规律先用它;得到规则后把 expression 交给 audit_column 复核,或用 write_table 的 apply_curve 按规则整列重算。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | 目标表名(来自 list_tables) | |
| column | Yes | 要推断的数值列 | |
| thresholdPct | No | 偏离阈值百分比(默认 1),超出即计为断点 |