Assumes that xs
is ascending. We use a simple nearest-rank definition of
percentiles.
Equations
Instances For
Equations
- Aesop.sortedMedianD dflt xs = Aesop.sortedPercentileD { toFloat := 0.5 } dflt xs
Instances For
@[reducible, inline]
Equations
Instances For
Equations
- Aesop.StatsReport.instToStringNanos = { toString := Aesop.Nanos.printAsMillis }
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Aesop.StatsReport.default.fmtTime n samples = Lean.format "" ++ Lean.format n ++ Lean.format " [" ++ Lean.format (if (samples == 0) = true then 0 else n / samples) ++ Lean.format "]"
Instances For
def
Aesop.StatsReport.default.fmtRuleStats
(stats : Array (Aesop.DisplayRuleName × Aesop.RuleStatsTotals))
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Aesop.StatsReport.scriptsCore.fmtScriptGenerated Aesop.ScriptGenerated.none = Std.Format.text "<none>"
- Aesop.StatsReport.scriptsCore.fmtScriptGenerated (Aesop.ScriptGenerated.staticallyStructured perfect hasMVar) = Lean.format "static (perfect: " ++ Lean.format perfect ++ Lean.format ")"
- Aesop.StatsReport.scriptsCore.fmtScriptGenerated (Aesop.ScriptGenerated.dynamicallyStructured perfect hasMVar) = Lean.format "dynamic (perfect: " ++ Lean.format perfect ++ Lean.format ")"
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Aesop.StatsReport.scripts = Aesop.StatsReport.scriptsCore