Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DietrichGebert/ponytail
/ functions
Functions
159 in github.com/DietrichGebert/ponytail
⨍
Functions
159
◇
Types & classes
0
↓ 37 callers
Function
_fail
(reason)
benchmarks/agentic/tasks.py:62
↓ 14 callers
Function
check
(probe, output)
tests/behavior.test.js:12
↓ 12 callers
Function
_find
(mod, names)
benchmarks/agentic/tasks.py:45
↓ 12 callers
Function
_ok
(correct, safe, reason="ok")
benchmarks/agentic/tasks.py:63
↓ 12 callers
Function
run
(script, env, input = '')
tests/hooks.test.js:21
↓ 11 callers
Function
check
(task, lang, code)
tests/correctness.test.js:11
↓ 9 callers
Function
_import
Import a produced .py file under a unique module name (no sys.modules reuse).
benchmarks/agentic/tasks.py:32
↓ 8 callers
Function
createPiHarness
()
pi-extension/test/extension.test.js:9
↓ 8 callers
Function
normalizeMode
(mode)
hooks/ponytail-config.js:20
↓ 7 callers
Function
createCommandContext
(overrides = {})
pi-extension/test/extension.test.js:34
↓ 7 callers
Function
python
(script, env = {})
tests/hermes-plugin.test.js:18
↓ 6 callers
Function
getDefaultMode
()
hooks/ponytail-config.js:76
↓ 6 callers
Function
isShellSafe
(p)
hooks/ponytail-config.js:50
↓ 6 callers
Function
resolveSessionMode
(entries, fallbackMode = DEFAULT_MODE)
pi-extension/index.js:18
↓ 6 callers
Function
withTempConfig
(fn)
pi-extension/test/extension.test.js:43
↓ 6 callers
Function
writeHookOutput
(event, mode, context = '')
hooks/ponytail-runtime.js:33
↓ 5 callers
Function
_git
(workdir, *args)
benchmarks/agentic/run.py:151
↓ 5 callers
Function
_normalize_runtime_mode
(mode: str | None)
__init__.py:30
↓ 5 callers
Function
checkPy
(code, task)
benchmarks/robustness-audit.js:127
↓ 5 callers
Function
normalizePersistedMode
(mode)
hooks/ponytail-config.js:32
↓ 5 callers
Function
parsePonytailCommand
(text, defaultMode = DEFAULT_MODE)
pi-extension/index.js:33
↓ 5 callers
Function
req
(method, path, body=None, raw=None)
benchmarks/agentic/tasks.py:534
↓ 5 callers
Function
score
(src)
benchmarks/loc.test.js:5
↓ 5 callers
Function
sendAlias
(skillName, args, ctx)
pi-extension/index.js:89
↓ 4 callers
Function
commandHooks
()
tests/hooks-windows.test.js:28
↓ 4 callers
Function
exec
(cmd, opts = {})
benchmarks/correctness.js:36
↓ 4 callers
Function
getClaudeDir
()
hooks/ponytail-config.js:71
↓ 4 callers
Function
getPonytailInstructions
(mode)
hooks/ponytail-instructions.js:73
↓ 4 callers
Function
judge_call
(task_prompt, files, key, retries=3, system=RUBRIC)
benchmarks/agentic/judge.py:64
↓ 4 callers
Function
resolveMode
(requested)
ponytail-mcp/instructions.js:16
↓ 4 callers
Function
syncStatus
(ctx)
pi-extension/index.js:63
↓ 4 callers
Function
tmpFile
(ext, content)
benchmarks/correctness.js:60
↓ 3 callers
Function
_count
(p: Path, with_comments: bool)
benchmarks/agentic/run.py:81
↓ 3 callers
Function
_default_mode
()
__init__.py:52
↓ 3 callers
Function
_is_test
(p: Path, workdir: Path)
benchmarks/agentic/run.py:73
↓ 3 callers
Function
_normalize_config_mode
(mode: str | None)
__init__.py:37
↓ 3 callers
Function
_plugin_dir
Resolve a plugin's cache dir portably -- hardcoding one machine's absolute path (e.g. C:\\Users\\<you>\\...) made the ponytail/caveman arms unrepr
benchmarks/agentic/run.py:50
↓ 3 callers
Function
_rank_ok
scores: {(task_id, label): {SCORE_KEY: int}}. For each task the 'complete' label must strictly out-score the 'stub' label, else the judge (or the
benchmarks/agentic/complete.py:57
↓ 3 callers
Function
buildInstructions
(requested)
ponytail-mcp/instructions.js:24
↓ 3 callers
Function
clearMode
()
hooks/ponytail-runtime.js:20
↓ 3 callers
Function
cnt
(seq)
benchmarks/agentic/run.py:106
↓ 3 callers
Function
filterSkillBodyForMode
(body, mode)
hooks/ponytail-instructions.js:11
↓ 3 callers
Function
getConfigPath
()
hooks/ponytail-config.js:67
↓ 3 callers
Function
normalizeConfigMode
(mode)
hooks/ponytail-config.js:26
↓ 3 callers
Function
outPath
(name)
scripts/build-openclaw-skills.js:47
↓ 3 callers
Function
parse_score
(text)
benchmarks/agentic/judge.py:79
↓ 3 callers
Function
pyBlock
(text)
benchmarks/robustness-audit.js:120
↓ 3 callers
Function
read
(relPath)
scripts/check-rule-copies.js:7
↓ 3 callers
Function
read
(relPath)
tests/gemini-extension.test.js:40
↓ 3 callers
Function
runUninstall
(env)
tests/uninstall.test.js:11
↓ 3 callers
Function
transform
(hooks)
tests/opencode-plugin.test.js:29
↓ 2 callers
Function
_contained
(base, target)
benchmarks/agentic/tasks.py:57
↓ 2 callers
Function
_import_pkg
Import a produced module by name with workdir on sys.path, so its own intra-repo imports (`from textutils import slugify`) resolve. Fresh each cal
benchmarks/agentic/tasks.py:591
↓ 2 callers
Function
_skill
(rel)
benchmarks/agentic/run.py:34
↓ 2 callers
Function
_skill_prompt
(command: str, args: str = "")
__init__.py:131
↓ 2 callers
Function
_strip_frontmatter
(text: str)
__init__.py:66
↓ 2 callers
Function
aggregate
(results)
benchmarks/agentic/run.py:319
↓ 2 callers
Function
fresh
()
benchmarks/agentic/tasks.py:174
↓ 2 callers
Function
isDeactivationCommand
(text)
hooks/ponytail-config.js:40
↓ 2 callers
Function
loadManifest
()
tests/gemini-extension.test.js:47
↓ 2 callers
Function
load_key
()
benchmarks/agentic/judge.py:41
↓ 2 callers
Function
median
(vals)
benchmarks/benchmark-local.py:102
↓ 2 callers
Function
parse_complete
(text)
benchmarks/agentic/complete.py:49
↓ 2 callers
Function
pick
(re, armIdx)
benchmarks/generate-examples.mjs:18
↓ 2 callers
Function
print_table
(rows)
benchmarks/agentic/run.py:347
↓ 2 callers
Function
python
()
benchmarks/correctness.js:47
↓ 2 callers
Function
removeIfExists
(filePath, label)
scripts/uninstall.js:12
↓ 2 callers
Function
render
(name)
scripts/build-openclaw-skills.js:37
↓ 2 callers
Function
run
(content)
benchmarks/agentic/tasks.py:268
↓ 2 callers
Function
score_workspace
(task_id, arm, model, workdir: Path)
benchmarks/agentic/run.py:235
↓ 2 callers
Function
selftest
Each task's good ref must score correct+safe; the bad ref must be caught on its declared axis. Verifies the instruments before any API spend.
benchmarks/agentic/run.py:183
↓ 2 callers
Function
selftest
Live: the judge model must rank each complete ref above its stub.
benchmarks/agentic/complete.py:79
↓ 2 callers
Function
selftest
(key)
benchmarks/agentic/judge.py:120
↓ 2 callers
Function
setMode
(mode)
hooks/ponytail-runtime.js:15
↓ 2 callers
Function
setMode
(mode, ctx)
pi-extension/index.js:79
↓ 2 callers
Function
sourceBody
(name)
scripts/build-openclaw-skills.js:30
↓ 2 callers
Function
source_text
Concatenate the agent's source files (tests + artifacts excluded), with name headers.
benchmarks/agentic/judge.py:54
↓ 2 callers
Function
writeDefaultMode
(mode)
hooks/ponytail-config.js:98
↓ 1 callers
Function
_claude_version
()
benchmarks/agentic/run.py:376
↓ 1 callers
Function
_config_dir
()
__init__.py:44
↓ 1 callers
Function
_fallback_instructions
(mode: str)
__init__.py:90
↓ 1 callers
Function
_filter_skill_body_for_mode
(body: str, mode: str)
__init__.py:70
↓ 1 callers
Function
_find_class
(mod, method)
benchmarks/agentic/tasks.py:51
↓ 1 callers
Function
_git_snapshot
Commit the seeded repo so we can diff exactly what the agent changes.
benchmarks/agentic/run.py:155
↓ 1 callers
Function
_is_test
(name)
benchmarks/agentic/judge.py:50
↓ 1 callers
Function
_make_skill_command_handler
(ctx: Any, command: str)
__init__.py:180
↓ 1 callers
Function
_rel
(p)
benchmarks/agentic/run.py:131
↓ 1 callers
Function
_selfcheck_split
Split a produced .py file at the first TOP-LEVEL self-check marker (a `__main__` guard or a demo()/selfcheck() function) through end of file. Retu
benchmarks/agentic/run.py:94
↓ 1 callers
Function
_selftest_plugin_dir
Plugin-dir resolution must be portable: env override wins, and a missing install fails loudly (sys.exit) instead of silently passing a non-existen
benchmarks/agentic/run.py:204
↓ 1 callers
Function
_slash_access_denied
(event: Any, gateway: Any, command: str)
__init__.py:140
↓ 1 callers
Function
build_injected_context
Return the mode-filtered Ponytail context injected before LLM turns.
__init__.py:105
↓ 1 callers
Function
call
(system, user)
benchmarks/robustness-audit.js:155
↓ 1 callers
Function
call
(model, system, user)
benchmarks/claude-email.js:14
↓ 1 callers
Function
call
(model, system, user)
benchmarks/model-email.js:14
↓ 1 callers
Function
call_ollama
(model, system_prompt, user_prompt, ollama_url)
benchmarks/benchmark-local.py:56
↓ 1 callers
Function
chat_code_loc
LOC of fenced code blocks in a chat answer: (total incl comments, code-only).
benchmarks/agentic/run.py:224
↓ 1 callers
Function
code_stats
LOC over code-extension source files only (generated images/data can't pollute it). total_loc counts every non-blank line including comments and d
benchmarks/agentic/run.py:119
↓ 1 callers
Function
count_loc
Non-blank, non-comment lines of code: fenced blocks, or the whole response when the model emitted bare code with no fence.
benchmarks/benchmark-local.py:40
↓ 1 callers
Function
displayName
(slug)
scripts/publish-openclaw-skills.js:42
↓ 1 callers
Function
extractBlocks
(text)
benchmarks/correctness.js:15
next →
1–100 of 159, ranked by callers