-
-
Notifications
You must be signed in to change notification settings - Fork 9
Diagnostics-for-account-and-installations #242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
febd03a
added /diagnostics page for installation / org list visibility
MattG57 d25d64a
replaced any : types everywhere
MattG57 9f21f23
removed unused type
MattG57 602d9ff
Merge value modeling improvements from targeting-bugfixes while prese…
MattG57 0a73427
Updated targeting to fix bugs, remove any : types and default impact …
MattG57 f48bb22
Implement type-safe parsing for numeric values in TargetCalculationSe…
MattG57 e8486e5
Enhance type safety by updating recalculateTargets response handling …
MattG57 51b7898
Refactor TargetsCalculationResponse to use CalculationLog type for logs
MattG57 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,118 @@ | ||
| **Value Modeling & Targeting Documentation** | ||
|
|
||
| This document outlines the rationale and logic behind the calculated metrics and targets used in the "Value Modeling & Targeting" dashboard. Each section corresponds to a category of metrics displayed in the dashboard. | ||
|
|
||
| --- | ||
|
|
||
| ### Org Metrics | ||
|
|
||
| **Seats** | ||
|
|
||
| - **Logic**: Based on the average total active seats(licenses) across top 10 recent days for the organization. | ||
| - **Max**: Set to known total developer headcount. | ||
|
|
||
| **Adopted Devs** | ||
|
|
||
| - **Logic**: Average of total active developers using AI tooling (e.g. Copilot) from top 10 recent days for the organization. | ||
| - **Max**: Total known developer count. | ||
|
|
||
| **Monthly Devs Reporting Time Savings** | ||
|
|
||
| - **Logic**: Count of distinct users who responded to time-savings surveys in past 30 days. | ||
| - **Target**: Double the current, indicating intent to increase reporting. | ||
|
|
||
| **% of Seats Reporting Time Savings** | ||
|
|
||
| - **Logic**: (Monthly reporting users / total seats) \* 100. | ||
| - **Purpose**: Shows how broadly time savings are captured. | ||
|
|
||
| **% of Seats Adopted** | ||
|
|
||
| - **Logic**: (Adopted Devs / Total Seats) \* 100. | ||
| - **Use**: Adoption penetration relative to seat assignments. | ||
|
|
||
| **% of Max Adopted** | ||
|
|
||
| - **Logic**: (Adopted Devs / Total Developer Count) \* 100. | ||
| - **Use**: Indicates potential ceiling for adoption. | ||
|
|
||
| --- | ||
|
|
||
| ### Daily User Metrics | ||
|
|
||
| **Daily IDE Suggestions** | ||
|
|
||
| - **Logic**: Averaged from last 5 valid daily records. | ||
| - **Target/Max**: Calibrated based on observed high-performing usage. | ||
|
|
||
| **Daily IDE Acceptances** | ||
|
|
||
| - **Logic**: Suggestions \* 30% (default assumed acceptance rate). | ||
| - **Target/Max**: Reflects healthy usage from productive orgs. | ||
|
|
||
| **Daily IDE Chat Turns** | ||
|
|
||
| - **Logic**: Average of chat turns per day per user from recent week. | ||
| - **Target/Max**: Reflects healthy usage from productive orgs. | ||
|
|
||
| **Daily Dot-Com Chats** | ||
|
|
||
| - **Logic**: Chat Turns \* 33% (estimated portion on dot-com). | ||
| - **Target**: Not yet set pending more data. | ||
|
|
||
| **Weekly PR Summaries** | ||
|
|
||
| - **Logic**: Total PR summaries / daily active users from last week. | ||
|
|
||
| **Weekly Time Saved** | ||
|
|
||
| - **Logic**: Weekly average from time savings reports per developer.\ | ||
| // Calculate weekly hours saved based on settings and average percent | ||
|
|
||
| const weeklyHours = hoursPerYear / 50; // Assuming 50 working weeks | ||
|
|
||
| const weeklyDevHours = weeklyHours \* (percentCoding / 100); | ||
|
|
||
| const avgWeeklyTimeSaved = weeklyDevHours \* (avgPercentTimeSaved / 100); | ||
|
|
||
| --- | ||
|
|
||
| ### Calculated Impacts | ||
|
|
||
| **Monthly Time Savings (hrs)** | ||
|
|
||
| - **Formula**: Adopted Devs \* Weekly Time Saved \* 4. | ||
| - **Max**: 80 hours/month \* total seats (full work month). | ||
|
|
||
| **Annual Time Savings (Dollars)** | ||
|
|
||
| - **Formula**: Weekly Time Saved \* 50 weeks \* \$100/hr \* Adopted Devs. | ||
| - **Note**: \$100/hr is assumed average developer cost. | ||
|
|
||
| **Productivity / Throughput Boost** | ||
|
|
||
| - **Formula**: ((40 + Weekly Time Saved) / 40 - 1) \* 100. | ||
| - **Purpose**: Estimates effective increase in output per dev. | ||
|
|
||
| --- | ||
|
|
||
| ### Source of Calculations | ||
|
|
||
| All calculations were derived from one or more of: | ||
|
|
||
| - Recent metric exports (5 most recent days) | ||
| - Monthly time-savings surveys | ||
| - Developer seat and activity data | ||
| - Assumed baselines (e.g., 40-hr weeks, \$100/hr, 70% acceptance) | ||
|
|
||
| Targets are either: | ||
|
|
||
| - Reflective of past top 10 org benchmarks | ||
| - Strategically aspirational (2x current, known limits) | ||
|
|
||
| --- | ||
|
|
||
| This model provides a structured framework for tracking usage, estimating impact, and guiding adoption investments. | ||
|
|
||
| > Edits can include notes on thresholds, cohort segmentation, or more nuanced modeling (e.g., p50/p90 range breakdowns). | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.