Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaxBittker/runebench
/ functions
Functions
335 in github.com/MaxBittker/runebench
⨍
Functions
335
◇
Types & classes
60
↓ 37 callers
Function
mk
(dx, dy, align)
app/components/scatter-labels.js:48
↓ 26 callers
Function
p
(s="")
scripts/ngram-fable-vs-opus.py:52
↓ 24 callers
Function
push
(s: string)
scripts/extract-sdk-audit.ts:231
↓ 18 callers
Function
truncate
(s: string, n: number)
scripts/extract-sdk-audit.ts:22
↓ 10 callers
Function
fmtNum
(n: number)
scripts/analyze-opus-k4.ts:336
↓ 10 callers
Method
g2
()
shared/check_gold.ts:48
↓ 10 callers
Function
navigate
(path)
app/router.js:31
↓ 8 callers
Function
per1k
(text, rx)
scripts/ngram-fable-vs-opus.py:47
↓ 7 callers
Function
filterOut
(reason: string)
wiki/generate-items.ts:650
↓ 7 callers
Method
g1
()
shared/check_gold.ts:44
↓ 7 callers
Function
getTrialDirs
(jobDir: string)
shared/extract-utils.ts:98
↓ 7 callers
Function
handleSort
(col)
app/components/GoldCostTable.js:89
↓ 7 callers
Function
isGold
(skill)
app/components/TrajectoryModal.js:189
↓ 7 callers
Function
sortIndicator
(col)
app/components/GoldCostTable.js:99
↓ 6 callers
Function
counts
(model, n)
scripts/ngram-analysis.py:106
↓ 6 callers
Function
g2
()
shared/skill_tracker.ts:43
↓ 5 callers
Method
exec_as_agent
( self, environment: BaseEnvironment, command: str, env: dict[str, str] | None
agents/codex_adapter.py:107
↓ 5 callers
Function
flat
(s: string)
scripts/extract-sdk-audit.ts:30
↓ 5 callers
Function
minOf
(iso: string | undefined)
scripts/extract-sdk-audit.ts:62
↓ 5 callers
Function
truncResult
(s: string)
scripts/extract-sdk-audit.ts:27
↓ 5 callers
Function
truncate
(s: string, n: number)
scripts/extract-pairwise-v2.ts:28
↓ 5 callers
Function
truncate
(s: string, n: number)
scripts/extract-pairwise-trajectories.ts:30
↓ 5 callers
Function
truncateLines
(text: string, maxLines: number, maxChars: number)
shared/trajectory.ts:25
↓ 5 callers
Function
truncateLines
(text: string, maxLines: number, maxChars: number)
extractors/extract-skill-results.ts:119
↓ 4 callers
Function
analyze
(taskDir: string, model: string, skill: string, writeTranscript: boolean, tag: string)
scripts/extract-pairwise-v2.ts:42
↓ 4 callers
Function
annotateCost
* Fill in costUsd from result.json cost_usd when present; otherwise compute it * from tokens + model name via shared/pricing.ts. Mutates and returns
shared/extract-utils.ts:234
↓ 4 callers
Function
ass_time
(t)
scripts/make-fable-promo-grid.py:47
↓ 4 callers
Function
collectJobDirs
(prefix: string, model: string)
scripts/analyze-opus-k4.ts:55
↓ 4 callers
Function
extractVariantFromSlug
(slug: string)
extractors/extract-gold-results.ts:99
↓ 4 callers
Function
findSkillLevel
(sample, skillKey)
app/components/TrajectoryModal.js:33
↓ 4 callers
Function
findTokenUsageInTrial
(trialDir: string, opts?: { geminiTrajectoryFallback?: boolean })
shared/extract-utils.ts:196
↓ 4 callers
Function
formatRate
(rate)
views/shared-constants.js:65
↓ 4 callers
Method
g4s
()
shared/check_gold.ts:54
↓ 4 callers
Function
parseIniConfigs
(content: string, sourcePath: string)
wiki/generate-npcs.ts:181
↓ 4 callers
Function
prettifyConfigName
(name: string)
wiki/generate-shops.ts:250
↓ 4 callers
Function
prettifyConfigName
(name: string)
wiki/generate-npcs.ts:615
↓ 4 callers
Function
renderChart
()
views/cumulative-chart.js:280
↓ 4 callers
Function
run
(cmd: string[], env?: Record<string, string>)
scripts/upload-videos.ts:272
↓ 4 callers
Function
seekChartToX
(clientX)
app/components/TrajectoryModal.js:639
↓ 3 callers
Function
boxOf
(L)
app/components/scatter-labels.js:29
↓ 3 callers
Function
computeCost
( modelKey: string, inputTokens: number, cacheTokens: number, outputTokens: number, cacheWriteTokens
shared/pricing.ts:137
↓ 3 callers
Function
countCoins
(items: Array<{ id: number; count: number }> | undefined)
shared/check_gold.ts:144
↓ 3 callers
Function
extractPeakRatePoints
* Extract peak XP rate (XP/min) over time for a skill. * Returns monotonically increasing points: at each sample, the running max of * per-window XP
views/shared-constants.js:114
↓ 3 callers
Function
findFilesRecursive
(dir: string, ext: string)
wiki/generate-items.ts:199
↓ 3 callers
Function
findFilesRecursive
(dir: string, ext: string)
wiki/generate-shops.ts:236
↓ 3 callers
Function
finishLabel
()
wiki/generate-npcs.ts:424
↓ 3 callers
Function
flushBashBlock
()
shared/trajectory.ts:193
↓ 3 callers
Function
flushBashBlock
()
extractors/extract-skill-results.ts:310
↓ 3 callers
Function
flushTools
()
app/components/TrajectoryModal.js:104
↓ 3 callers
Function
fmt
(x: number)
scripts/analyze-opus-k4.ts:446
↓ 3 callers
Function
fmt$
(v)
app/components/GoldCostTable.js:5
↓ 3 callers
Function
fmtTime
(s: number)
shared/check_xp_rate.ts:88
↓ 3 callers
Function
generateSkillXpVariants
(horizonMinutes: number, sampleIntervalMs: number)
generate-tasks.ts:195
↓ 3 callers
Function
getObjDisplayName
(configName: string, objNames: Map<string, string>)
wiki/generate-npcs.ts:624
↓ 3 callers
Function
handleSort
(col)
app/components/CostTable.js:88
↓ 3 callers
Function
hasCombatStats
(config: ItemConfig)
wiki/generate-items.ts:539
↓ 3 callers
Function
highlightAndScrollToStep
(container, currentStepTs, doScroll)
app/components/TrajectoryModal.js:152
↓ 3 callers
Function
parseObjConfigs
(content: string, sourcePath: string)
wiki/generate-items.ts:114
↓ 3 callers
Function
parseQuantity
(raw: string)
wiki/generate-npcs.ts:604
↓ 3 callers
Function
parseRewardFromStdout
(content: string)
shared/extract-utils.ts:129
↓ 3 callers
Function
run
(cmd: string[], env?: Record<string, string>)
scripts/upload-gold-videos.ts:98
↓ 3 callers
Method
run
( self, instruction: str, environment: BaseEnvironment, context: AgentContext )
agents/codex_adapter.py:127
↓ 3 callers
Function
slugify
(name: string)
wiki/generate-items.ts:220
↓ 3 callers
Function
slugify
(name: string)
wiki/generate-shops.ts:263
↓ 3 callers
Function
sortIndicator
(col)
app/components/CostTable.js:97
↓ 3 callers
Function
takeSample
()
shared/skill_tracker.ts:167
↓ 2 callers
Function
TRACKER_DOCKERFILE
(sampleIntervalMs: number = 15000, benchmarkDurationSecs?: number)
generate-tasks.ts:151
↓ 2 callers
Function
avgRatio
(m: string, taskKeys: string[])
scripts/analyze-opus-k4.ts:496
↓ 2 callers
Function
avgToolCallsPerRun
(perRun: Record<string, number>[])
scripts/analyze-opus-k4.ts:313
↓ 2 callers
Function
categoryRollup
(model: string, taskKeys: string[])
scripts/analyze-opus-k4.ts:206
↓ 2 callers
Function
cellTier
(rate, maxRate)
app/components/TrajectoryModal.js:11
↓ 2 callers
Function
collectToolCallsV2
(jobDirs: string[], trialFilter: (name: string) => boolean)
scripts/analyze-opus-k4.ts:288
↓ 2 callers
Function
computePeakRate
(samples: any[], skill: string, startIdx: number = 0)
shared/check_xp_rate.ts:34
↓ 2 callers
Function
corpus
(pat)
scripts/ngram-fable-vs-opus.py:31
↓ 2 callers
Function
detectGoldCondition
(trialName: string)
scripts/analyze-opus-k4.ts:80
↓ 2 callers
Function
detectModel
(dirName: string, knownModels: string[])
shared/extract-utils.ts:51
↓ 2 callers
Function
detectModelFromConfig
( jobDir: string, knownModels: string[], opts?: { preMatch?: (lower: string) => string | null }, )
shared/extract-utils.ts:64
↓ 2 callers
Function
detectSkill
(trialName: string)
scripts/analyze-opus-k4.ts:73
↓ 2 callers
Function
detectSkill
Detect skill from directory name: {skill}-xp-{horizon}-{model}-...
extractors/extract-skill-results.ts:40
↓ 2 callers
Function
exclusive
(a_toks, b_toks, n, topk=16, minc=5)
scripts/ngram-fable-vs-opus.py:124
↓ 2 callers
Function
extract
(taskDir: string, model: string, skill: string)
scripts/extract-pairwise-trajectories.ts:57
↓ 2 callers
Function
extractToolStep
(toolCall: any, ts?: number)
shared/trajectory.ts:33
↓ 2 callers
Function
extractToolStep
Extract a tool step from a tool_calls entry
extractors/extract-skill-results.ts:128
↓ 2 callers
Function
findFilesRecursive
(dir: string, ext: string)
wiki/generate-npcs.ts:1268
↓ 2 callers
Function
findRewardInTrial
(trialDir: string)
shared/extract-utils.ts:174
↓ 2 callers
Function
findSkillXp
(sample, skillKey)
app/components/TrajectoryModal.js:44
↓ 2 callers
Function
findTaskDir
(jobDir: string, skill: string, pick: "only" | "best")
scripts/extract-pairwise-trajectories.ts:16
↓ 2 callers
Function
flush
()
wiki/generate-shops.ts:155
↓ 2 callers
Function
flushNpc
()
wiki/generate-items.ts:248
↓ 2 callers
Function
fmtDate
(ms)
app/components/ReleaseScatter.js:65
↓ 2 callers
Function
fmtGp
(v)
app/components/GoldMatrix.js:44
↓ 2 callers
Function
fmtTokens
(n)
app/components/GoldCostTable.js:11
↓ 2 callers
Function
fmtTokens
(n)
app/components/CostTable.js:8
↓ 2 callers
Function
fmtUsd
(n: number | null)
scripts/analyze-opus-k4.ts:342
↓ 2 callers
Function
g1
()
shared/skill_tracker.ts:42
↓ 2 callers
Function
getAreaFromSourcePath
(sourcePath: string)
wiki/generate-shops.ts:257
↓ 2 callers
Function
getLegendRate
(model)
views/cumulative-chart.js:218
↓ 2 callers
Function
getModels
()
views/cumulative-chart.js:199
↓ 2 callers
Function
getSkillXp
(sample: any, skill: string)
shared/check_xp_rate.ts:24
↓ 2 callers
Function
getSkillXpFromSample
(sample: any, skill: string)
shared/check_skill_xp.ts:30
next →
1–100 of 335, ranked by callers