Skip to main content

Module output

Module output 

Source
Expand description

Reusable analytics output shapes and human-readable formatters.

Provides the domain-agnostic render structs (TrendData, StatsSummary, BreakdownData, MetricCard) plus the formatting functions (format_number, format_cost, format_percent, format_change, format_tokens) that turn raw metrics into the strings shown in tables.

Structs§

BreakdownData
BreakdownItem
MetricCard
StatsSummary
TrendData
TrendPoint

Functions§

format_change
format_cost
format_number
format_percent
format_tokens