MCPcopy Create free account

hub / github.com/avbiswas/fast-rlm / functions

Functions227 in github.com/avbiswas/fast-rlm

↓ 24 callersFunctioncheck
(label, cond)
benchmarks/_smoketest.py:21
↓ 20 callersFunction_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 callersFunctionfmt
(v: number | undefined | null, color: typeof chalk.cyan)
src/ui.ts:131
↓ 11 callersFunctionbuildSystemPrompt
(isLeaf: boolean, opts: PromptOptions = {})
src/prompt.ts:406
↓ 10 callersMethodcallTool
(server: string, tool: string, args: Record<string, unknown>)
src/mcp.ts:59
↓ 10 callersFunctionck
(label: string, cond: boolean, extra = "")
tests/repl_calls_test.ts:60
↓ 10 callersMethoddefault
Load defaults from bundled rlm_config.yaml.
fast_rlm/_runner.py:185
↓ 10 callersFunctionderiveCost
(rawUsage: any)
src/usage.ts:27
↓ 10 callersFunctionheader
(s: string)
scripts/mcp_testbed/client.ts:14
↓ 9 callersFunctiongetTotalUsage
()
src/usage.ts:87
↓ 8 callersFunctioncaptureLog
(fn: () => void)
tests/progress_test.ts:43
↓ 8 callersFunctionnumeric_match
Compare as numbers. Pulls the first number out of strings if needed.
benchmarks/_harness.py:63
↓ 8 callersFunctionsetVerbosity
(level: number)
src/ui.ts:17
↓ 7 callersFunction_append
(path, text)
tests/test_on_step.py:32
↓ 7 callersFunctiongetVerbosity
()
src/ui.ts:21
↓ 7 callersFunctionprintStep
(data: StepData)
src/ui.ts:78
↓ 7 callersFunctionrun
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 callersFunction_normalize
Lowercase, strip punctuation/articles/extra whitespace (SQuAD-style).
benchmarks/_harness.py:50
↓ 6 callersFunction_start_tail
(path, on_step)
tests/test_on_step.py:37
↓ 6 callersFunctionattempt
(code: string)
tests/repl_calls_test.ts:80
↓ 6 callersFunctionheader
(s: string)
scripts/mcp_testbed/fsio-client.ts:14
↓ 6 callersFunctionisVertexModel
(model: string)
src/vertex.ts:134
↓ 6 callersFunctionnow
()
src/subagents.ts:120
↓ 6 callersFunctionoolong_scorer
Score against OOLONG's stringified-list gold answer.
benchmarks/oolong_synth_benchmark.py:35
↓ 6 callersFunctionpyProxyToJs
(val: unknown)
src/subagents.ts:200
↓ 6 callersFunctiontoAnthropicMessages
(messages: any[])
src/anthropic.ts:58
↓ 6 callersFunctiontruncate
(s: string, max: number)
tui_log_viewer/src/index.tsx:138
↓ 5 callersFunctionemitEvent
(event: Record<string, unknown>)
src/events.ts:21
↓ 5 callersFunctionformatTokens
(n: number)
tui_log_viewer/src/index.tsx:133
↓ 5 callersMethodlogStep
(data: Omit<StepData, "run_id" | "parent_run_id" | "depth" | "maxSteps" | "totalUsage">)
src/logging.ts:101
↓ 4 callersFunction_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 callersFunction_wait_until
(pred, timeout=5.0)
tests/test_on_step.py:23
↓ 4 callersFunctionfail
(text: string)
scripts/mcp_testbed/fsio.ts:29
↓ 4 callersFunctionindent
(text: string, depth: number)
src/ui.ts:44
↓ 4 callersFunctioninitEvents
(path: string)
src/events.ts:16
↓ 4 callersFunctioninitPino
()
src/logging.ts:37
↓ 4 callersFunctionisAcpModel
(model: string)
src/acp.ts:62
↓ 4 callersFunctionok
(text: string)
scripts/mcp_testbed/fsio.ts:28
↓ 4 callersMethodreadResource
(server: string, uri: string)
src/mcp.ts:60
↓ 4 callersFunctionshowGlobalUsage
(totalUsage: Usage)
src/ui.ts:210
↓ 4 callersFunctiontoUsage
(rawUsage: any)
src/usage.ts:43
↓ 3 callersFunction_find_engine_dir
Find the TS engine: bundled (_engine/) for pip install, project root for dev.
fast_rlm/_runner.py:199
↓ 3 callersFunctionanthropicApiKey
()
src/anthropic.ts:21
↓ 3 callersFunctionb64url
(data: string)
src/vertex.ts:8
↓ 3 callersFunctionbase_argparser
Common CLI flags every benchmark script shares.
benchmarks/_harness.py:320
↓ 3 callersFunctionbudgetBanner
(stepJustFinished: number, maxCalls: number)
src/subagents.ts:126
↓ 3 callersFunctionconfig_from_args
Build an RLMConfig from the shared CLI flags.
benchmarks/_harness.py:403
↓ 3 callersFunctioncreateVertexClient
(options?: { maxRetries?: number; timeout?: number; })
src/vertex.ts:111
↓ 3 callersFunctionf1_score
Token-level F1 (SQuAD/LongBench style); 'correct' if F1 >= threshold.
benchmarks/_harness.py:78
↓ 3 callersFunctionfillRange
(fromMs: number, toMs: number, color: string)
tui_log_viewer/src/index.tsx:824
↓ 3 callersFunctionfmt
(row, sep=" ")
benchmarks/_harness.py:307
↓ 3 callersFunctionfmtCost
(v: number | undefined | null)
src/ui.ts:133
↓ 3 callersFunctionformatDuration
(ms: number)
tui_log_viewer/src/index.tsx:758
↓ 3 callersFunctiongetChildrenAtStep
(run: RunTree, stepIndex: number)
tui_log_viewer/src/index.tsx:162
↓ 3 callersFunctiongetRunTimeRange
(run: RunTree)
tui_log_viewer/src/index.tsx:238
↓ 3 callersFunctionllm_kwargs_from_args
Build the llm_kwargs dict from --llm-kwargs (+ --temperature override).
benchmarks/_harness.py:393
↓ 3 callersMethodlogAgentEnd
()
src/logging.ts:91
↓ 3 callersFunctionremoveBetween
(text: string, startMarker: string, endMarker: string)
src/prompt.ts:398
↓ 3 callersFunctionresolveInRoot
(p: string)
scripts/mcp_testbed/fsio.ts:19
↓ 3 callersFunctionrun_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 callersFunctionselect_only
If --only was passed, keep just those (0-based, post-sampling) indices.
benchmarks/_harness.py:383
↓ 3 callersFunctionshowFinalResult
(result: unknown, depth: number)
src/ui.ts:190
↓ 3 callersFunctionstartSpinner
(text: string)
src/ui.ts:205
↓ 3 callersFunctionsubagent
( context: Context, subagent_depth = 0, parent_run_id?: string, outputSchema?: JsonSchema | nu
src/subagents.ts:140
↓ 3 callersFunctiontimeToChar
(ms: number)
tui_log_viewer/src/index.tsx:793
↓ 3 callersFunctiontrackCall
()
src/usage.ts:68
↓ 3 callersFunctiontrackUsage
(usage: Usage)
src/usage.ts:76
↓ 3 callersFunctionwrapText
(text: string, width: number)
tui_log_viewer/src/index.tsx:143
↓ 2 callersFunction_flag
(label: str)
benchmarks/_harness.py:149
↓ 2 callersFunction_install_fake_engine
(monkeypatch, recorder)
tests/test_log_dir.py:16
↓ 2 callersFunction_log_dir_arg
(cmd)
tests/test_log_dir.py:29
↓ 2 callersFunctionacpComplete
( messages: any[], // deno-lint-ignore-line no-explicit-any model_name: string, is_leaf_agent: boo
src/acp.ts:144
↓ 2 callersFunctionanthropicComplete
( messages: any[], // deno-lint-ignore-line no-explicit-any model_name: string, is_leaf_agent: boo
src/anthropic.ts:99
↓ 2 callersFunctionbest_of
Score against a list of acceptable answers, keep the best.
benchmarks/_harness.py:170
↓ 2 callersFunctionboxWidth
(depth: number)
src/ui.ts:50
↓ 2 callersFunctionbuild_examples
(args)
benchmarks/niah_benchmark.py:49
↓ 2 callersFunctioncachedSystem
(text: string)
src/anthropic.ts:47
↓ 2 callersFunctionconfirmDelegation
( baseMessages: any[], confirmQuestion: string, model_name: string, is_leaf_agent: boolean,
src/call_llm.ts:166
↓ 2 callersFunctioncreateFsioServer
()
scripts/mcp_testbed/fsio.ts:31
↓ 2 callersFunctioncreateServer
()
scripts/mcp_testbed/server.ts:17
↓ 2 callersFunctionexact_match
(pred: Any, answer: Any)
benchmarks/_harness.py:58
↓ 2 callersMethodflush
()
src/logging.ts:174
↓ 2 callersFunctiongenerate_code
( messages: any[], model_name: string, is_leaf_agent: boolean = false, options?: ApiRetryOptio
src/call_llm.ts:63
↓ 2 callersFunctiongetLogFile
()
src/logging.ts:33
↓ 2 callersFunctiongetTotalCalls
()
src/usage.ts:72
↓ 2 callersFunctionisAnthropicModel
(model: string)
src/anthropic.ts:31
↓ 2 callersFunctionisHttp
(c: ServerConfig)
src/mcp.ts:27
↓ 2 callersFunctionloadConfig
()
src/config.ts:59
↓ 2 callersFunctionprintStats
(entries: LogEntry[], nodes: Map<string, RunNode>)
src/view_logs.ts:125
↓ 2 callersFunctionrefreshVertexClient
(client: OpenAI, options?: { maxRetries?: number; timeout?: number; })
src/vertex.ts:124
↓ 2 callersFunctionrequireClient
(server: string)
src/mcp.ts:138
↓ 2 callersFunctionrequireModelApiKey
()
src/call_llm.ts:46
↓ 2 callersFunctionresetUsage
()
src/usage.ts:91
↓ 2 callersFunctionrun_agent
Run all cases against one agent. Returns True if all passed.
examples/acp_smoketest.py:53
↓ 2 callersFunctionsetLogPrefix
(prefix: string)
src/logging.ts:23
↓ 2 callersFunctionshortId
(id: string)
tui_log_viewer/src/index.tsx:124
↓ 2 callersFunctionsizeOf
(v: unknown)
src/subagents.ts:280
↓ 2 callersFunctionstripVertexPrefix
(model: string)
src/vertex.ts:138
↓ 2 callersFunctiontermWidth
()
src/ui.ts:36
↓ 2 callersFunctiontest_streaming_build
(name, module_name, kwargs)
benchmarks/_smoketest.py:65
next →1–100 of 227, ranked by callers