Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/openai/plugins
/ countCodeFences
Function
countCodeFences
plugins/plugin-eval/src/evaluators/skill.js:19–21 ·
view source on GitHub ↗
(markdown)
Source
from the content-addressed store, hash-verified
17
]);
18
19
function
countCodeFences(markdown) {
20
return
(markdown.match(/```/g) || []).length / 2;
21
}
22
23
function
findRelativeLinks(markdown) {
24
return
[...markdown.matchAll(/\[[^\]]+\]\(([^)]+)\)/g)]
Callers
1
evaluateSkill
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected