Skip to main content

Module aggregate

Module aggregate 

Source
Expand description

Cross-repo aggregation queries.

Lazy aggregation: reads each project’s ledger on demand, no persistent DB.

Structs§

ActivityMetrics
Activity counts for a project within a time range.
AggregateResult
Full cross-repo aggregation result.
CommitRecord
A commit record from any project.
CostMetrics
Cost metrics for a project within a time range.
DateRange
Inclusive date range filter using ISO 8601 prefix comparison.
DecisionRecord
A decision record from any project.
ModelCost
Per-model cost breakdown entry.
ProjectMetrics
Per-project metrics with cost, quality, and activity breakdown.
ProjectSummary
Per-project summary within an aggregation result.
QualityMetrics
Quality metrics for a project within a time range.
RollupMetrics
Combined rollup metrics collected in a single pass over the event ledger.

Functions§

aggregate_commits
Collect commits across all projects, sorted by timestamp descending.
aggregate_decisions
Collect active decisions across all projects.
aggregate_overview
Aggregate overview across all given projects.
commits_by_date
Count commits by date (YYYY-MM-DD) across all projects.
cost_by_date
Aggregate execution event cost by date (YYYY-MM-DD) across all projects.
events_by_date
Count events by date (YYYY-MM-DD) across all projects.
file_edits_by_date
Aggregate per-file edit counts by date across all projects.
per_project_metrics
Compute per-project metrics for all given projects within the specified date range.
quality_by_date
Aggregate execution event quality by date (YYYY-MM-DD) across all projects.
rollup_metrics_by_date
Collect all rollup metrics in a single pass over each project’s ledger.