CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s
45 lines
2.8 KiB
JSON
45 lines
2.8 KiB
JSON
{
|
|
"skill_name": "performance-measure",
|
|
"evals": [
|
|
{
|
|
"id": 1,
|
|
"prompt": "Make this LINQ-heavy PriceCalculator.Calculate method faster. It runs for every cart line.",
|
|
"expected_output": "Before editing, writes a BenchmarkDotNet baseline in Release with MemoryDiagnoser and Params for realistic cart sizes, run from the CLI without a debugger. States a threshold for a real change. Changes one thing, reruns the identical benchmark, and reports median and spread, allocations, the ratio to the baseline, and whether the difference is significant. Does not claim a speedup without numbers.",
|
|
"assertions": [
|
|
"Creates a baseline benchmark before changing the code",
|
|
"Runs in Release without a debugger",
|
|
"Uses MemoryDiagnoser and Params with realistic sizes",
|
|
"Reports before and after with spread and significance",
|
|
"Does not claim improvement without measured numbers"
|
|
],
|
|
"files": []
|
|
},
|
|
{
|
|
"id": 2,
|
|
"prompt": "We added an index on Orders(CustomerId, Status). Is the slow open-orders query fixed now? The database is the shared test server.",
|
|
"expected_output": "Compares actual execution plans and SET STATISTICS IO logical reads before and after, plus Query Store history, and states warm or cold cache. Tests a typical and a skewed CustomerId for parameter sniffing. Does not judge from the estimated plan alone. Does not run DBCC DROPCLEANBUFFERS or other cache flushes on the shared server without asking. Reports the index's write cost as a side effect.",
|
|
"assertions": [
|
|
"Uses actual plans and logical reads, not only the estimated plan",
|
|
"States the cache state",
|
|
"Tests typical and skewed parameter values",
|
|
"Does not flush caches on a shared server without permission",
|
|
"Reports side effects such as write cost"
|
|
],
|
|
"files": []
|
|
},
|
|
{
|
|
"id": 3,
|
|
"prompt": "Our Angular product page feels slow. Check it.",
|
|
"expected_output": "Separates field data (p75 Core Web Vitals from web-vitals or CrUX, if available) from lab data. Records a DevTools Performance trace in a clean profile with CPU throttling and runs Lighthouse, using Total Blocking Time as the lab proxy for INP. Uses Angular DevTools Profiler only for relative change-detection comparison. Names the limiting resource and reports against the Core Web Vitals thresholds. Does not judge from one unthrottled run.",
|
|
"assertions": [
|
|
"Distinguishes field data from lab data",
|
|
"Uses CPU throttling in the lab measurement",
|
|
"Uses TBT, not Lighthouse, as INP evidence in the lab",
|
|
"Does not use Angular DevTools numbers as absolute timings",
|
|
"Does not conclude from a single unthrottled run"
|
|
],
|
|
"files": []
|
|
}
|
|
]
|
|
}
|