|
1 | 1 | { |
2 | 2 | "types": [ |
| 3 | + { |
| 4 | + "name": "acceptedCount", |
| 5 | + "type": "int", |
| 6 | + "description": "The number of accepted cases" |
| 7 | + }, |
3 | 8 | { |
4 | 9 | "name": "action", |
5 | 10 | "type": "string", |
|
178 | 183 | "type": "int", |
179 | 184 | "description": "The amount of time required for the build to complete (in seconds)." |
180 | 185 | }, |
181 | | - { |
182 | | - "name": "buildStatus", |
183 | | - "type": "string", |
184 | | - "allowedValues": [ |
185 | | - "SUCCESS", |
186 | | - "FAILED", |
187 | | - "CANCELLED" |
188 | | - ], |
189 | | - "description": "The amount of time required for the build to complete (in seconds)." |
190 | | - }, |
191 | 186 | { |
192 | 187 | "name": "buildSystemVersion", |
193 | 188 | "type": "string", |
|
1227 | 1222 | "type": "string", |
1228 | 1223 | "description": "The name of the EventBridge Schema used in the operation" |
1229 | 1224 | }, |
| 1225 | + { |
| 1226 | + "name": "executedCount", |
| 1227 | + "type": "int", |
| 1228 | + "description": "The number of executed operations" |
| 1229 | + }, |
1230 | 1230 | { |
1231 | 1231 | "name": "experimentId", |
1232 | 1232 | "type": "string", |
|
1293 | 1293 | "type": "string", |
1294 | 1294 | "description": "Application framework being used" |
1295 | 1295 | }, |
| 1296 | + { |
| 1297 | + "name": "generatedCount", |
| 1298 | + "type": "int", |
| 1299 | + "description": "The number of generated cases" |
| 1300 | + }, |
1296 | 1301 | { |
1297 | 1302 | "name": "generateFailure", |
1298 | 1303 | "type": "string", |
|
1497 | 1502 | "type": "int", |
1498 | 1503 | "description": "Number of generations before the user accepted or rejected" |
1499 | 1504 | }, |
1500 | | - { |
1501 | | - "name": "numberOfBuildExecuted", |
1502 | | - "type": "int", |
1503 | | - "description": "Number of build executed in unit test generation build loop" |
1504 | | - }, |
1505 | | - { |
1506 | | - "name": "numberOfBuildFailed", |
1507 | | - "type": "int", |
1508 | | - "description": "Number of build failures in unit test generation build loop" |
1509 | | - }, |
1510 | | - { |
1511 | | - "name": "numberOfBuildPassed", |
1512 | | - "type": "int", |
1513 | | - "description": "Number of build succeeded in unit test generation build loop" |
1514 | | - }, |
1515 | | - { |
1516 | | - "name": "numberOfUnitTestCasesAccepted", |
1517 | | - "type": "int", |
1518 | | - "description": "Number of unit test cases accepted" |
1519 | | - }, |
1520 | | - { |
1521 | | - "name": "numberOfUnitTestCasesGenerated", |
1522 | | - "type": "int", |
1523 | | - "description": "Number of unit test cases generated" |
1524 | | - }, |
1525 | 1505 | { |
1526 | 1506 | "name": "oldVersion", |
1527 | 1507 | "type": "string", |
|
2318 | 2298 | "name": "amazonq_unitTestGeneration", |
2319 | 2299 | "description": "Client side metrics of AmazonQ Unit Test Generation", |
2320 | 2300 | "metadata": [ |
| 2301 | + { |
| 2302 | + "type": "acceptedCount", |
| 2303 | + "required": false |
| 2304 | + }, |
2321 | 2305 | { |
2322 | 2306 | "type": "charsOfCodeAccepted", |
2323 | 2307 | "required": false |
|
2334 | 2318 | "type": "cwsprChatProgrammingLanguage" |
2335 | 2319 | }, |
2336 | 2320 | { |
2337 | | - "type": "linesOfCodeAccepted", |
2338 | | - "required": false |
2339 | | - }, |
2340 | | - { |
2341 | | - "type": "linesOfCodeGenerated", |
| 2321 | + "type": "executedCount", |
2342 | 2322 | "required": false |
2343 | 2323 | }, |
2344 | 2324 | { |
2345 | | - "type": "numberOfBuildExecuted", |
| 2325 | + "type": "failedCount", |
2346 | 2326 | "required": false |
2347 | 2327 | }, |
2348 | 2328 | { |
2349 | | - "type": "numberOfBuildFailed", |
| 2329 | + "type": "generatedCount", |
2350 | 2330 | "required": false |
2351 | 2331 | }, |
2352 | 2332 | { |
2353 | | - "type": "numberOfBuildPassed", |
| 2333 | + "type": "linesOfCodeAccepted", |
2354 | 2334 | "required": false |
2355 | 2335 | }, |
2356 | 2336 | { |
2357 | | - "type": "numberOfUnitTestCasesAccepted", |
| 2337 | + "type": "linesOfCodeGenerated", |
2358 | 2338 | "required": false |
2359 | 2339 | }, |
2360 | 2340 | { |
2361 | | - "type": "numberOfUnitTestCasesGenerated", |
| 2341 | + "type": "successCount", |
2362 | 2342 | "required": false |
2363 | 2343 | }, |
2364 | 2344 | { |
|
2377 | 2357 | "name": "amazonq_utg_buildLoop", |
2378 | 2358 | "description": "Client side invocation of the AmazonQ Unit Test Generation build loop", |
2379 | 2359 | "metadata": [ |
2380 | | - { |
2381 | | - "type": "buildStatus", |
2382 | | - "required": false |
2383 | | - }, |
2384 | 2360 | { |
2385 | 2361 | "type": "credentialStartUrl", |
2386 | 2362 | "required": false |
|
2392 | 2368 | "type": "latencyOfClientSideBuild", |
2393 | 2369 | "required": false |
2394 | 2370 | }, |
| 2371 | + { |
| 2372 | + "type": "result", |
| 2373 | + "required": false |
| 2374 | + }, |
2395 | 2375 | { |
2396 | 2376 | "type": "source", |
2397 | 2377 | "required": false |
|
2416 | 2396 | "name": "amazonq_utg_generateTests", |
2417 | 2397 | "description": "Client side invocation of the AmazonQ Unit Test Generation", |
2418 | 2398 | "metadata": [ |
| 2399 | + { |
| 2400 | + "type": "acceptedCount", |
| 2401 | + "required": false |
| 2402 | + }, |
2419 | 2403 | { |
2420 | 2404 | "type": "artifactsUploadDuration", |
2421 | 2405 | "required": false |
|
2436 | 2420 | "type": "cwsprChatProgrammingLanguage" |
2437 | 2421 | }, |
2438 | 2422 | { |
2439 | | - "type": "latencyOfGeneratingTests", |
| 2423 | + "type": "generatedCount", |
2440 | 2424 | "required": false |
2441 | 2425 | }, |
2442 | 2426 | { |
2443 | | - "type": "linesOfCodeAccepted", |
2444 | | - "required": false |
2445 | | - }, |
2446 | | - { |
2447 | | - "type": "linesOfCodeGenerated", |
| 2427 | + "type": "latencyOfGeneratingTests", |
2448 | 2428 | "required": false |
2449 | 2429 | }, |
2450 | 2430 | { |
2451 | | - "type": "numberOfUnitTestCasesAccepted", |
| 2431 | + "type": "linesOfCodeAccepted", |
2452 | 2432 | "required": false |
2453 | 2433 | }, |
2454 | 2434 | { |
2455 | | - "type": "numberOfUnitTestCasesGenerated", |
| 2435 | + "type": "linesOfCodeGenerated", |
2456 | 2436 | "required": false |
2457 | 2437 | }, |
2458 | 2438 | { |
|
0 commit comments