Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/avbiswas/fast-rlm
/ functions
Functions
227 in github.com/avbiswas/fast-rlm
⨍
Functions
227
◇
Types & classes
47
↓ 24 callers
Function
check
(label, cond)
benchmarks/_smoketest.py:21
↓ 20 callers
Function
_normalize_verbosity
Resolve the effective verbosity level (0-2). `verbosity` wins when set (int 0-2 or a name in _VERBOSITY_LEVELS); otherwise fall back to the l
fast_rlm/_runner.py:25
↓ 12 callers
Function
fmt
(v: number | undefined | null, color: typeof chalk.cyan)
src/ui.ts:131
↓ 11 callers
Function
buildSystemPrompt
(isLeaf: boolean, opts: PromptOptions = {})
src/prompt.ts:406
↓ 10 callers
Method
callTool
(server: string, tool: string, args: Record<string, unknown>)
src/mcp.ts:59
↓ 10 callers
Function
ck
(label: string, cond: boolean, extra = "")
tests/repl_calls_test.ts:60
↓ 10 callers
Method
default
Load defaults from bundled rlm_config.yaml.
fast_rlm/_runner.py:185
↓ 10 callers
Function
deriveCost
(rawUsage: any)
src/usage.ts:27
↓ 10 callers
Function
header
(s: string)
scripts/mcp_testbed/client.ts:14
↓ 9 callers
Function
getTotalUsage
()
src/usage.ts:87
↓ 8 callers
Function
captureLog
(fn: () => void)
tests/progress_test.ts:43
↓ 8 callers
Function
numeric_match
Compare as numbers. Pulls the first number out of strings if needed.
benchmarks/_harness.py:63
↓ 8 callers
Function
setVerbosity
(level: number)
src/ui.ts:17
↓ 7 callers
Function
_append
(path, text)
tests/test_on_step.py:32
↓ 7 callers
Function
getVerbosity
()
src/ui.ts:21
↓ 7 callers
Function
printStep
(data: StepData)
src/ui.ts:78
↓ 7 callers
Function
run
Run a fast-rlm query. Args: query: The question / context to process. A string, a JSON-serializable dict, or a list — when a
fast_rlm/_runner.py:292
↓ 6 callers
Function
_normalize
Lowercase, strip punctuation/articles/extra whitespace (SQuAD-style).
benchmarks/_harness.py:50
↓ 6 callers
Function
_start_tail
(path, on_step)
tests/test_on_step.py:37
↓ 6 callers
Function
attempt
(code: string)
tests/repl_calls_test.ts:80
↓ 6 callers
Function
header
(s: string)
scripts/mcp_testbed/fsio-client.ts:14
↓ 6 callers
Function
isVertexModel
(model: string)
src/vertex.ts:134
↓ 6 callers
Function
now
()
src/subagents.ts:120
↓ 6 callers
Function
oolong_scorer
Score against OOLONG's stringified-list gold answer.
benchmarks/oolong_synth_benchmark.py:35
↓ 6 callers
Function
pyProxyToJs
(val: unknown)
src/subagents.ts:200
↓ 6 callers
Function
toAnthropicMessages
(messages: any[])
src/anthropic.ts:58
↓ 6 callers
Function
truncate
(s: string, max: number)
tui_log_viewer/src/index.tsx:138
↓ 5 callers
Function
emitEvent
(event: Record<string, unknown>)
src/events.ts:21
↓ 5 callers
Function
formatTokens
(n: number)
tui_log_viewer/src/index.tsx:133
↓ 5 callers
Method
logStep
(data: Omit<StepData, "run_id" | "parent_run_id" | "depth" | "maxSteps" | "totalUsage">)
src/logging.ts:101
↓ 4 callers
Function
_install_fake_engine
Replace subprocess.run with a stand-in Deno engine that writes the --events-file and --output file the way the real engine does.
tests/test_on_step.py:126
↓ 4 callers
Function
_wait_until
(pred, timeout=5.0)
tests/test_on_step.py:23
↓ 4 callers
Function
fail
(text: string)
scripts/mcp_testbed/fsio.ts:29
↓ 4 callers
Function
indent
(text: string, depth: number)
src/ui.ts:44
↓ 4 callers
Function
initEvents
(path: string)
src/events.ts:16
↓ 4 callers
Function
initPino
()
src/logging.ts:37
↓ 4 callers
Function
isAcpModel
(model: string)
src/acp.ts:62
↓ 4 callers
Function
ok
(text: string)
scripts/mcp_testbed/fsio.ts:28
↓ 4 callers
Method
readResource
(server: string, uri: string)
src/mcp.ts:60
↓ 4 callers
Function
showGlobalUsage
(totalUsage: Usage)
src/ui.ts:210
↓ 4 callers
Function
toUsage
(rawUsage: any)
src/usage.ts:43
↓ 3 callers
Function
_find_engine_dir
Find the TS engine: bundled (_engine/) for pip install, project root for dev.
fast_rlm/_runner.py:199
↓ 3 callers
Function
anthropicApiKey
()
src/anthropic.ts:21
↓ 3 callers
Function
b64url
(data: string)
src/vertex.ts:8
↓ 3 callers
Function
base_argparser
Common CLI flags every benchmark script shares.
benchmarks/_harness.py:320
↓ 3 callers
Function
budgetBanner
(stepJustFinished: number, maxCalls: number)
src/subagents.ts:126
↓ 3 callers
Function
config_from_args
Build an RLMConfig from the shared CLI flags.
benchmarks/_harness.py:403
↓ 3 callers
Function
createVertexClient
(options?: { maxRetries?: number; timeout?: number; })
src/vertex.ts:111
↓ 3 callers
Function
f1_score
Token-level F1 (SQuAD/LongBench style); 'correct' if F1 >= threshold.
benchmarks/_harness.py:78
↓ 3 callers
Function
fillRange
(fromMs: number, toMs: number, color: string)
tui_log_viewer/src/index.tsx:824
↓ 3 callers
Function
fmt
(row, sep=" ")
benchmarks/_harness.py:307
↓ 3 callers
Function
fmtCost
(v: number | undefined | null)
src/ui.ts:133
↓ 3 callers
Function
formatDuration
(ms: number)
tui_log_viewer/src/index.tsx:758
↓ 3 callers
Function
getChildrenAtStep
(run: RunTree, stepIndex: number)
tui_log_viewer/src/index.tsx:162
↓ 3 callers
Function
getRunTimeRange
(run: RunTree)
tui_log_viewer/src/index.tsx:238
↓ 3 callers
Function
llm_kwargs_from_args
Build the llm_kwargs dict from --llm-kwargs (+ --temperature override).
benchmarks/_harness.py:393
↓ 3 callers
Method
logAgentEnd
()
src/logging.ts:91
↓ 3 callers
Function
removeBetween
(text: string, startMarker: string, endMarker: string)
src/prompt.ts:398
↓ 3 callers
Function
resolveInRoot
(p: string)
scripts/mcp_testbed/fsio.ts:19
↓ 3 callers
Function
run_benchmark
Run the RLM over `examples`, score each, and print a compact report. Samples run concurrently up to `concurrency` at a time (each `fast_rlm.run`
benchmarks/_harness.py:184
↓ 3 callers
Function
select_only
If --only was passed, keep just those (0-based, post-sampling) indices.
benchmarks/_harness.py:383
↓ 3 callers
Function
showFinalResult
(result: unknown, depth: number)
src/ui.ts:190
↓ 3 callers
Function
startSpinner
(text: string)
src/ui.ts:205
↓ 3 callers
Function
subagent
( context: Context, subagent_depth = 0, parent_run_id?: string, outputSchema?: JsonSchema | nu
src/subagents.ts:140
↓ 3 callers
Function
timeToChar
(ms: number)
tui_log_viewer/src/index.tsx:793
↓ 3 callers
Function
trackCall
()
src/usage.ts:68
↓ 3 callers
Function
trackUsage
(usage: Usage)
src/usage.ts:76
↓ 3 callers
Function
wrapText
(text: string, width: number)
tui_log_viewer/src/index.tsx:143
↓ 2 callers
Function
_flag
(label: str)
benchmarks/_harness.py:149
↓ 2 callers
Function
_install_fake_engine
(monkeypatch, recorder)
tests/test_log_dir.py:16
↓ 2 callers
Function
_log_dir_arg
(cmd)
tests/test_log_dir.py:29
↓ 2 callers
Function
acpComplete
( messages: any[], // deno-lint-ignore-line no-explicit-any model_name: string, is_leaf_agent: boo
src/acp.ts:144
↓ 2 callers
Function
anthropicComplete
( messages: any[], // deno-lint-ignore-line no-explicit-any model_name: string, is_leaf_agent: boo
src/anthropic.ts:99
↓ 2 callers
Function
best_of
Score against a list of acceptable answers, keep the best.
benchmarks/_harness.py:170
↓ 2 callers
Function
boxWidth
(depth: number)
src/ui.ts:50
↓ 2 callers
Function
build_examples
(args)
benchmarks/niah_benchmark.py:49
↓ 2 callers
Function
cachedSystem
(text: string)
src/anthropic.ts:47
↓ 2 callers
Function
confirmDelegation
( baseMessages: any[], confirmQuestion: string, model_name: string, is_leaf_agent: boolean,
src/call_llm.ts:166
↓ 2 callers
Function
createFsioServer
()
scripts/mcp_testbed/fsio.ts:31
↓ 2 callers
Function
createServer
()
scripts/mcp_testbed/server.ts:17
↓ 2 callers
Function
exact_match
(pred: Any, answer: Any)
benchmarks/_harness.py:58
↓ 2 callers
Method
flush
()
src/logging.ts:174
↓ 2 callers
Function
generate_code
( messages: any[], model_name: string, is_leaf_agent: boolean = false, options?: ApiRetryOptio
src/call_llm.ts:63
↓ 2 callers
Function
getLogFile
()
src/logging.ts:33
↓ 2 callers
Function
getTotalCalls
()
src/usage.ts:72
↓ 2 callers
Function
isAnthropicModel
(model: string)
src/anthropic.ts:31
↓ 2 callers
Function
isHttp
(c: ServerConfig)
src/mcp.ts:27
↓ 2 callers
Function
loadConfig
()
src/config.ts:59
↓ 2 callers
Function
printStats
(entries: LogEntry[], nodes: Map<string, RunNode>)
src/view_logs.ts:125
↓ 2 callers
Function
refreshVertexClient
(client: OpenAI, options?: { maxRetries?: number; timeout?: number; })
src/vertex.ts:124
↓ 2 callers
Function
requireClient
(server: string)
src/mcp.ts:138
↓ 2 callers
Function
requireModelApiKey
()
src/call_llm.ts:46
↓ 2 callers
Function
resetUsage
()
src/usage.ts:91
↓ 2 callers
Function
run_agent
Run all cases against one agent. Returns True if all passed.
examples/acp_smoketest.py:53
↓ 2 callers
Function
setLogPrefix
(prefix: string)
src/logging.ts:23
↓ 2 callers
Function
shortId
(id: string)
tui_log_viewer/src/index.tsx:124
↓ 2 callers
Function
sizeOf
(v: unknown)
src/subagents.ts:280
↓ 2 callers
Function
stripVertexPrefix
(model: string)
src/vertex.ts:138
↓ 2 callers
Function
termWidth
()
src/ui.ts:36
↓ 2 callers
Function
test_streaming_build
(name, module_name, kwargs)
benchmarks/_smoketest.py:65
next →
1–100 of 227, ranked by callers