Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/frontend/src/lib/insight/groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ const AI_ADOPTION_COLLECTION: MetricCollectionConfig = {
{ key: "ai.active_days", views: [{ view: "period" }, { view: "peer" }] },
{ key: "ai.cost", views: [{ view: "period" }, { view: "peer" }] },
{
key: "ai.extra_usage_cost",
// The daily distribution, not the month's running total: this section
// reads a metric one day at a time, and a cumulative figure repeated on
// every day of the month is not a day's reading.
key: "ai.daily_approximate_extra_usage_cost",
views: [{ view: "period" }, { view: "peer" }],
},
{
Expand Down Expand Up @@ -472,7 +475,7 @@ export const GROUPS: readonly MetricGroup[] = [
preview: [
"ai.active_days",
"ai.cost",
"ai.extra_usage_cost",
"ai.daily_approximate_extra_usage_cost",
"ai.accepted_lines",
],
},
Expand Down
4 changes: 3 additions & 1 deletion src/frontend/src/lib/portal/overview-configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export const OVERVIEW_ITEMS: Record<string, LensConfig> = {
"tasks.closed",
"collab.messages_sent",
"ai.cost",
"ai.extra_usage_cost",
// The daily distribution: this row totals a period, and only the
// per-day steps add up to one. The month's running snapshot does not.
Comment thread
Gregory91G marked this conversation as resolved.
"ai.daily_approximate_extra_usage_cost",
],
},
// The old header's "N using AI" stat, now an honest participation card
Expand Down