Skip to main content

Crate costroid_core

Crate costroid_core 

Source
Expand description

Costroid data pipeline and aggregation interfaces.

Structs§

AggregateTotals
BenchDisclaimer
The hedge label + the pricing date the re-pricing math used. Per-benchmark sources and dates live on each BenchFrontier.
BenchFrontier
One benchmark after dominance is computed.
BenchView
The full frontier view the CLI renders.
CostLaneSummary
EngineOptions
EngineSnapshot
FrontierPoint
A single benchmark point with its frontier standing.
GroupKey
LimitSummary
NowOptions
NowSummary
OverlayAppearance
OverlayModel
An API-billed model the user actually used, overlaid on the frontiers.
PeriodRange
PricingCoverage
ProviderStatus
RepricingDelta
“~$X cheaper/more at equal token volume” — cost only, never a quality claim.
TokenTotals
TrendBucket
TrendsOptions
TrendsSummary

Enums§

CoreError
CostLane
FrontierStanding
Where a point sits relative to its benchmark’s cost-quality frontier.
GroupBy
LimitAvailability
Period
ProviderStatusKind
RepricingStatus

Functions§

bench_view
Build the frontier view: bundled benchmarks (dominance computed) + an honest API-billed overlay drawn from the existing snapshot’s focus_rows.
bundled_pricing_json
bundled_pricing_value
collect_local_snapshot
export_focus_csv
export_focus_json
focus_records_from_local_logs
focus_records_from_usage
local_snapshot
Compatibility wrapper for the Milestone 2 API.
now_summary
period_range_for
trends_summary

Type Aliases§

Snapshot