Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/openai/plugins
/ metric
Function
metric
plugins/plugin-eval/tests/plugin-eval.test.js:336–336 ·
view source on GitHub ↗
(id)
Source
from the content-addressed store, hash-verified
334
const
result =
await
analyzePath(samplePath);
335
336
const
metric = (id) => result.metrics.find((item) => item.id === id)?.value;
337
338
assert.equal(metric(
"ts_file_count"
), 2);
339
assert.equal(metric(
"py_file_count"
), 2);
Callers
1
plugin-eval.test.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected