Skip to content

Commit

Permalink
codewhisperer: supplemental context strategy id (#560)
Browse files Browse the repository at this point in the history
Problem:
We need more granular data when processing supplemental context analysis (CrossFile / UTG)
For example, UTG we have 2 different strategies to resolve the source file given a test file (where the customer trigger)
 - by file name
 - by file content

Solution:
Add a strategyId field.
  • Loading branch information
Will-ShaoHua authored Sep 5, 2023
1 parent 435ec97 commit a826622
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,11 @@
"type": "int",
"description": "Length of codewhisperer supplemental context extracted from files"
},
{
"name": "codewhispererSupplementalContextStrategyId",
"type": "string",
"description": "Name tag or identifier for supplemental context fetching strategy being used for us to easier analyze corresponding acceptance rate"
},
{
"name": "codewhispererImportRecommendationEnabled",
"type": "boolean",
Expand Down Expand Up @@ -2895,6 +2900,10 @@
"type": "codewhispererSupplementalContextLength",
"required": false
},
{
"type": "codewhispererSupplementalContextStrategyId",
"required": false
},
{
"type": "codewhispererClassifierThreshold",
"required": false
Expand Down

0 comments on commit a826622

Please sign in to comment.