MCPcopy Create free account

hub / github.com/ScaleML/AgentSPEX / functions

Functions1,694 in github.com/ScaleML/AgentSPEX

↓ 2 callersFunction_read_yaml_meta
(path: Path)
src/harness/ephemeral/repl.py:103
↓ 2 callersFunction_record_file
Record a single file entry in the manifest. Small text files are stored inline; large or binary files are backed up to *backup_dir* (
src/harness/checkpoints/workspace_manifest.py:235
↓ 2 callersMethod_replay_next
(self)
src/mcp_client/client.py:153
↓ 2 callersMethod_reset_parser
(self)
scripts/dashboard.py:427
↓ 2 callersFunction_run
Run prediction in micromamba environment.
src/sandbox_vm/tools/chemistry/molecular_prediction.py:37
↓ 2 callersMethod_run_plan_mode
Structured plan mode: decompose → per-task plan-execute cycle → synthesize. Phase 1 — Decomposition: LLM decomposes the task usin
src/harness/agentic_loop/loop.py:324
↓ 2 callersFunction_save_html_snapshot
(rt, page)
src/sandbox_vm/tools/app_control/browser.py:717
↓ 2 callersFunction_search_openalex
Search OpenAlex API.
src/sandbox_vm/tools/research/paper_search.py:158
↓ 2 callersMethod_setup
Initialize MCP tools, orchestrator tools, plan generator, and system prompt.
src/harness/agentic_loop/loop.py:223
↓ 2 callersFunction_shell_quote
Quote a string for safe use in shell commands.
src/benchmarks/swe_bench_verified/docker_exec_client.py:370
↓ 2 callersFunction_shorten_nav_url
(raw: str)
src/sandbox_vm/tools/app_control/browser.py:72
↓ 2 callersFunction_should_ignore
Check whether *name* matches any ignore pattern (simple glob).
src/harness/checkpoints/workspace_manifest.py:48
↓ 2 callersFunction_stable_id
(*parts: str)
src/sandbox_vm/tools/app_control/browser.py:303
↓ 2 callersFunction_step_type
Return the step type key (e.g. 'step', 'input', 'set_variable').
src/harness/execution/step_handlers/control.py:36
↓ 2 callersMethod_summarize_execution_result
Summarize a raw plan execution result into a compact, structured form. Uses the plan generator model (cheap, e.g. gpt-5) to produce a
src/harness/agentic_loop/loop.py:806
↓ 2 callersFunction_text_msg
(text="hello")
tests/tool_tests/test_vision_pipeline.py:23
↓ 2 callersFunction_tool_msg
()
tests/tool_tests/test_vision_pipeline.py:37
↓ 2 callersMethod_try_parse
Attempt to parse YAML. Returns error message on failure, None on success.
src/harness/agentic_loop/plan_generator.py:190
↓ 2 callersFunction_update_env_key
Update a KEY=value line in the env file.
demo/ai_scientists/packer/files/setup_server.py:23
↓ 2 callersFunction_write_jsonl
(path: Path, events: list[dict])
tests/tool_tests/test_trace_replay.py:8
↓ 2 callersMethod_write_mermaid_file
Write Mermaid diagram to file
src/harness/yaml_visualizer_mermaid.py:593
↓ 2 callersFunctionadd
(a: string, b: string)
yaml-flow-editor/src/utils/layout.ts:196
↓ 2 callersMethodbackup_workspace
Backup the source directory to the target directory using rsync for incremental sync. Falls back to shutil.copytree if rsync is not a
src/harness/checkpoints/checkpoint_manager.py:159
↓ 2 callersFunctionbuild_eval_summary
Build a complete evaluation summary dict. Args: results: List of result dicts. mode: "baseline" or "agent". model: Model
src/benchmarks/chembench/evaluate.py:243
↓ 2 callersFunctioncall_tool
(tool_name: str, **kwargs)
tests/tool_tests/test_python.py:15
↓ 2 callersFunctioncall_tool
(tool_name: str, **kwargs)
tests/tool_tests/test_bm25_retrieval.py:131
↓ 2 callersFunctioncleanup_dashboard
Clean up dashboard process gracefully. Mimics the cleanup() function in run_agent.sh: - Check if process is still running - Send SIGTERM
src/benchmarks/swe_bench_verified/run.py:91
↓ 2 callersFunctioncollectDependentModules
( mainYaml: string, modulesByPath: Record<string, { content: string }>, nodes: FlowNode[], )
yaml-flow-editor/src/utils/collectModules.ts:9
↓ 2 callersFunctionconvertNodeToStep
( ctx: ConversionContext, node: FlowNode, visited: Set<string>, )
yaml-flow-editor/src/converters/graph-to-yaml.ts:113
↓ 2 callersFunctionconvert_json_to_yaml
Convert existing JSON task to YAML format
src/harness/parsing/yaml_parser.py:283
↓ 2 callersMethodenable_replay
Enable tool-output replay: invoke() will not call the server; it will return recorded tool outputs from the provided trace jsonl in o
src/mcp_client/client.py:145
↓ 2 callersFunctionensureDashboard
(projectRoot: string, run: RunInfo)
yaml-flow-editor/vite.config.ts:187
↓ 2 callersMethodexecute
Load and execute a YAML plan through the Interpreter. Args: plan_path: Path to the verified YAML plan file. model: Op
src/harness/agentic_loop/plan_executor.py:105
↓ 2 callersFunctionexecute_command_via_shell_run
Run a shell command in the sandbox and return output with exit code. Args: mcp_client: MCP client for invoking sandbox commands c
src/benchmarks/swe_bench_verified/shell_utils.py:11
↓ 2 callersMethodexecute_gather_step
Execute multiple sub-module calls in parallel and gather results. Uses ThreadPoolExecutor for true parallel execution of submodule calls.
src/harness/execution/step_handlers/calls.py:418
↓ 2 callersMethodexecute_parallel_step
Execute steps or submodule calls in parallel. Supports two execution formats: 1. List of different steps executed concurrently
src/harness/execution/step_handlers/calls.py:633
↓ 2 callersMethodexecute_while_step
Execute a while loop with condition checking. Repeatedly executes nested steps while the condition remains true. Has a configurable m
src/harness/execution/step_handlers/control.py:295
↓ 2 callersMethodexpand_template_variables
Expand template variables in text using context values.
src/harness/agent.py:175
↓ 2 callersFunctionextract_metrics
Extract metrics dict from a ChemBench report dict. Args: report: A single question's report dict (from prompter.report().model_dump()
src/benchmarks/chembench/evaluate.py:109
↓ 2 callersFunctionfindGlobal
()
yaml-flow-editor/src/components/SubmoduleInlineViewer.tsx:66
↓ 2 callersFunctionfindMainAndProcess
()
yaml-flow-editor/src/App.tsx:1337
↓ 2 callersFunctionformat_inline_tool_result
Format a tool result for display to the LLM. Handles special formatting for specific tools (like shell_run) and provides generic formatting f
src/harness/tools/formatting.py:11
↓ 2 callersFunctiongenerate_lean
Emit a Lean verification file for `ir`.
verifier/AgentVerifier/WorkflowToLean.py:1019
↓ 2 callersFunctiongetNodeDimensions
(node: FlowNode)
yaml-flow-editor/src/utils/layout.ts:52
↓ 2 callersFunctionget_available_workflows
()
scripts/discord_listener.py:85
↓ 2 callersFunctionget_available_workflows
()
scripts/slack_listener.py:128
↓ 2 callersFunctionget_default_system_prompt
( args, task_name: str, goal: str, context: Optional[Dict[str, Any]] = None )
src/harness/prompts/yaml_prompts.py:53
↓ 2 callersMethodget_results_summary
Detailed summary including full result_summaries for completed tasks. Used for inter-task context passing and final synthesis. Unlike
src/harness/agentic_loop/task_board.py:139
↓ 2 callersFunctionhandleDragLeave
(e: React.DragEvent)
yaml-flow-editor/src/components/nodes/NestedStepRenderer.tsx:75
↓ 2 callersMethodhas_config
Check if task data has a config section. Args: task_data: The parsed YAML task data Returns: True i
src/harness/parsing/yaml_parser.py:86
↓ 2 callersFunctionhost_workspace
Host directory mounted as ``/workspace`` in the sandbox container.
src/harness/paths.py:31
↓ 2 callersFunctionisDashboardAlive
(port: number)
yaml-flow-editor/vite.config.ts:175
↓ 2 callersFunctionis_correct
Check if a question was answered correctly. Reads all_correct from metrics (computed by score_answer). Args: report: A single questi
src/benchmarks/chembench/evaluate.py:125
↓ 2 callersFunctionmainSize
(node: FlowNode)
yaml-flow-editor/src/utils/layout.ts:470
↓ 2 callersFunctionnextFlowPriority
Main-flow handle first (next/bottom), then branch handles.
yaml-flow-editor/src/utils/layout.ts:406
↓ 2 callersMethodnext_tool_result
( self, *, step_id: str, iteration: int, call: int, name: str,
src/harness/checkpoints/durable_execution.py:102
↓ 2 callersFunctionnormalize_model_name
Normalize model name to LiteLLM format (provider/model).
src/harness/llms/client.py:58
↓ 2 callersFunctionparse_args
()
src/benchmarks/chembench/config.py:18
↓ 2 callersMethodparse_line
Parse a single log line.
scripts/dashboard.py:179
↓ 2 callersFunctionparse_task_json
Parse parsed_task.json → WorkflowIR.
verifier/AgentVerifier/WorkflowToLean.py:388
↓ 2 callersFunctionpeek_task_name
Read the top-level ``name:`` key from a workflow YAML without full parse. We need the task name *before* the harness runs YAML env-var expansion
src/harness/paths.py:86
↓ 2 callersFunctionprint_summary
Print a formatted evaluation summary to stdout. Args: eval_summary: Evaluation summary dict from build_eval_summary().
src/benchmarks/chembench/evaluate.py:308
↓ 2 callersFunctionprocess
(yamlContent: string)
yaml-flow-editor/src/utils/collectModules.ts:142
↓ 2 callersFunctionprocessAllFiles
()
yaml-flow-editor/src/App.tsx:1282
↓ 2 callersFunctionproxyHttp
( req: IncomingMessage, res: ServerResponse, targetUrl: string )
yaml-flow-editor/vite.config.ts:294
↓ 2 callersMethodpublish_path
( self, p: Path, perm: Perm = "r", label: Optional[str] = None, ttl_se
src/sandbox_vm/tools/session_management.py:186
↓ 2 callersFunctionremoveCall
(index: number)
yaml-flow-editor/src/components/NodeConfigPanel.tsx:221
↓ 2 callersFunctionrenderStringArrayField
( label: string, field: string, placeholder?: string )
yaml-flow-editor/src/components/NodeConfigPanel.tsx:179
↓ 2 callersFunctionresolveContent
(modulePath: string)
yaml-flow-editor/src/utils/collectModules.ts:30
↓ 2 callersFunctionrewriteModuleRefsForUiRun
( yamlText: string, currentFileDir: string, moduleTargetByOriginalPath: Map<string, string>, )
yaml-flow-editor/vite.config.ts:127
↓ 2 callersMethodrule
Print a horizontal rule to the console without logging to file.
src/mcp_client/logger.py:900
↓ 2 callersFunctionrunMetaPath
(projectRoot: string, runId: string)
yaml-flow-editor/vite.config.ts:74
↓ 2 callersFunctionrun_agent
( channel_id: str, message_id: str, user_id: str, message_text: str, client: discord.Clien
scripts/discord_listener.py:160
↓ 2 callersFunctionrun_agent
( channel: str, thread_ts: str, user_id: str, message_text: str, no_dashboard: bool = True
scripts/slack_listener.py:205
↓ 2 callersFunctionrun_ephemeral
( workflow_file: str, model: str | None = None, output_dir: str | None = None, image: str = "a
src/harness/ephemeral/runner.py:189
↓ 2 callersMethodrun_interactive
Interactive REPL mode. Reads tasks from stdin. Special commands: /plan <task> — run task in plan mode (decompose → generate YAML p
src/harness/agentic_loop/loop.py:177
↓ 2 callersFunctionsave_eval_summary
Save evaluation summary to output_dir/evals/evaluation_summary.json. Args: eval_summary: Evaluation summary dict. output_dir: Bas
src/benchmarks/chembench/evaluate.py:287
↓ 2 callersMethodsave_json
(self, path: str, indent: int = 2)
verifier/AgentVerifier/WorkflowToLean.py:233
↓ 2 callersFunctionsave_result
Save a writing result as JSON into the per-instance directory. Args: result: The WritingResult to save. instance_dir: Per-instanc
src/benchmarks/writing_bench/instance.py:40
↓ 2 callersFunctionsave_result
Save an ELAIPBench result as JSON.
src/benchmarks/elaipbench/instance.py:148
↓ 2 callersFunctionsave_result
Save an AIME result as JSON.
src/benchmarks/aime/instance.py:9
↓ 2 callersFunctionscore_answer
Score model response against ground truth. Uses ChemBench's regex patterns to extract answers: - MCQ: extracts letter(s) from [ANSWER]A[/ANSW
src/benchmarks/chembench/evaluate.py:52
↓ 2 callersFunctionsession_fs_key
(session_id: str)
src/sandbox_vm/tools/session_management.py:38
↓ 2 callersFunctionshort_repr
(x)
src/sandbox_vm/mcp/server.py:21
↓ 2 callersMethodstop
(self)
scripts/dashboard.py:462
↓ 2 callersMethodsummary
(self)
src/harness/agentic_loop/verifier.py:29
↓ 2 callersFunctiontool_log
(message: str = "")
src/sandbox_vm/mcp/utils.py:66
↓ 2 callersFunctiontriggerDownload
* Trigger file download
yaml-flow-editor/src/utils/image.ts:189
↓ 2 callersFunctiontruncate_message
(msg: Dict[str, Any], max_value_len=80)
src/utils.py:8
↓ 2 callersFunctionupsert
(key: str, value: str, text: str)
scripts/setup_discord.py:99
↓ 2 callersFunctionuseSubmoduleStep
()
yaml-flow-editor/src/contexts/SubmoduleStepContext.tsx:50
↓ 2 callersFunctionworkspace_persistent
Host-only persistent store for logs, checkpoints, and outputs.
src/harness/paths.py:37
↓ 2 callersFunctionwrap_python_as_bash
Wrap a Python code block as a bash heredoc so it can be executed via shell_run.
src/harness/parsing/inline_tools.py:15
↓ 2 callersFunctionwriteRunMeta
(projectRoot: string, run: RunInfo)
yaml-flow-editor/vite.config.ts:78
↓ 2 callersFunctionyamlToGraph
(yamlContent: string)
yaml-flow-editor/src/converters/yaml-to-graph.ts:380
↓ 1 callersFunctionApp
()
yaml-flow-editor/src/App.tsx:2251
↓ 1 callersFunction_action_lines
Yield cleaned candidate lines most likely to contain an action.
src/harness/parsing/computer_use_parser.py:102
↓ 1 callersMethod_add_basic_step
Add a basic step node - simplified format without HTML
src/harness/yaml_visualizer_mermaid.py:204
↓ 1 callersMethod_add_basic_step_no_connect
Add a basic step node without auto-connecting from previous node
src/harness/yaml_visualizer_mermaid.py:235
↓ 1 callersMethod_add_call_step
Add a module call node
src/harness/yaml_visualizer_mermaid.py:479
← previousnext →301–400 of 1,694, ranked by callers