MCPcopy Create free account

hub / github.com/Claw-AI-Lab/Claw-AI-Lab / functions

Functions3,044 in github.com/Claw-AI-Lab/Claw-AI-Lab

↓ 1 callersMethod_routing_scalar
(self)
assets/showcase/adaptive-mrsa/codes/models.py:435
↓ 1 callersFunction_run_bibtex
Run bibtex if the binary exists. Returns True on success.
backend/agent/researchclaw/templates/compiler.py:345
↓ 1 callersFunction_run_chart_generation
Generate charts for S16 using visualize.py (shared by agentic and legacy paths).
backend/agent/researchclaw/pipeline/executor.py:4119
↓ 1 callersMethod_run_code_pipeline
Run Planner → CodeGen → Renderer → Critic for data figures.
backend/agent/researchclaw/agents/figure_agent/orchestrator.py:305
↓ 1 callersMethod_run_crawling
Crawl URLs for full content.
backend/agent/researchclaw/web/agent.py:287
↓ 1 callersMethod_run_nano_banana
Run Nano Banana for conceptual/architectural figures.
backend/agent/researchclaw/agents/figure_agent/orchestrator.py:445
↓ 1 callersMethod_run_pdf_extraction
Extract text from PDF URLs.
backend/agent/researchclaw/web/agent.py:314
↓ 1 callersMethod_run_plan_compliance_check
Check code against experiment plan requirements. Inspired by claw-code's CLAUDE.md instruction files which persist across all turns a
backend/agent/researchclaw/pipeline/codegen/turn_loop.py:866
↓ 1 callersMethod_run_scholar_search
Run Google Scholar search.
backend/agent/researchclaw/web/agent.py:275
↓ 1 callersMethod_run_simulation_check
Run anti-simulation checks on main.py. Returns a failure message if simulation is detected, None if clean.
backend/agent/researchclaw/pipeline/codegen/turn_loop.py:762
↓ 1 callersMethod_run_todo_loop
Generate code via TODO-driven loop. 1. Generate skeleton with TODO markers 2. Repeatedly scan for TODOs and implement one at a time
backend/agent/researchclaw/pipeline/openhands_bridge.py:701
↓ 1 callersMethod_run_web_search
Run web search across all queries (Tavily + Exa).
backend/agent/researchclaw/web/agent.py:245
↓ 1 callersFunction_safe_reference_upload_name
(filename: str)
backend/services/agent_bridge.py:1842
↓ 1 callersFunction_sanitize_latex_output
Remove artifacts that slip through pre-processing into the final .tex.
backend/agent/researchclaw/templates/converter.py:135
↓ 1 callersFunction_sanitize_number
Replace fabricated numbers with '--' but keep real ones.
backend/agent/researchclaw/pipeline/executor.py:8626
↓ 1 callersMethod_save
(self)
backend/services/result_registry.py:70
↓ 1 callersMethod_save_conversation_log
(self)
backend/agent/researchclaw/pipeline/claw_engine/turn_loop.py:682
↓ 1 callersMethod_save_conversation_log
Save conversation history in two formats for debugging. 1. ``turn_loop_conversation.json`` — full messages (truncated for size) 2. ``
backend/agent/researchclaw/pipeline/codegen/turn_loop.py:1375
↓ 1 callersFunction_save_feedback
Persist human feedback to disk so running agents can pick it up. Writes to: 1. Global ``runs_base/feedback/feedback_log.jsonl`` — full audit
backend/services/agent_bridge.py:152
↓ 1 callersFunction_scan_existing_artifacts
Scan all project directories for completed stage artifacts to send on connect.
backend/services/agent_bridge.py:3039
↓ 1 callersMethod_scan_todos
Scan main.py for TODO markers. Returns list of TODO lines with context.
backend/agent/researchclaw/pipeline/openhands_bridge.py:656
↓ 1 callersMethod_scp_upload
Upload all files from local_dir to remote_dir via scp.
backend/agent/researchclaw/experiment/ssh_sandbox.py:366
↓ 1 callersMethod_search_duckduckgo
Fallback: scrape DuckDuckGo HTML search results.
backend/agent/researchclaw/web/search.py:193
↓ 1 callersMethod_search_exa
( self, query: str, *, num_results: int | None, search_type: str | Non
backend/agent/researchclaw/web/exa_search.py:144
↓ 1 callersMethod_search_hf_datasets
Search HuggingFace Hub for relevant datasets.
backend/agent/researchclaw/agents/benchmark_agent/surveyor.py:197
↓ 1 callersFunction_select_best_hypothesis
Pick the best agent perspective based on hypothesis quality heuristics. Scores each agent's hypotheses.md by: number of hypotheses found, tot
backend/services/agent_bridge.py:2640
↓ 1 callersMethod_select_with_llm
Ask LLM to make final selection from filtered candidates.
backend/agent/researchclaw/agents/benchmark_agent/selector.py:128
↓ 1 callersMethod_send_prompt_cli
Send prompt as a CLI argument (original path).
backend/agent/researchclaw/llm/acp_client.py:286
↓ 1 callersMethod_send_prompt_via_file
Write prompt to a temp file, ask the agent to read and respond.
backend/agent/researchclaw/llm/acp_client.py:302
↓ 1 callersFunction_separate_heading_body
Separate heading text from accidentally concatenated body text. LLM output may produce lines like ``## Abstract Body text here...`` where the
backend/agent/researchclaw/templates/converter.py:527
↓ 1 callersFunction_severity_at_least
Check if severity meets or exceeds the minimum threshold.
backend/agent/researchclaw/metaclaw_bridge/lesson_to_skill.py:131
↓ 1 callersFunction_shorten_query
Shorten a query to *max_kw* keywords, preserving any trailing suffix.
backend/agent/researchclaw/pipeline/executor.py:2023
↓ 1 callersMethod_should_cleanup
(result: SandboxResult)
backend/agent/researchclaw/experiment/sandbox.py:467
↓ 1 callersFunction_should_start
(stage: Stage, from_stage: Stage, started: bool)
backend/agent/researchclaw/pipeline/runner.py:33
↓ 1 callersMethod_strip_latex_fences
Remove markdown code fences from LaTeX LLM output.
backend/agent/researchclaw/agents/figure_agent/codegen.py:992
↓ 1 callersMethod_summarize_input
(tool_name: str, inp: dict[str, Any])
backend/agent/researchclaw/pipeline/claw_engine/turn_loop.py:668
↓ 1 callersMethod_summarize_input
One-line summary of tool input for logging.
backend/agent/researchclaw/pipeline/codegen/turn_loop.py:1360
↓ 1 callersFunction_system_section
()
backend/agent/researchclaw/pipeline/codegen/system_prompt.py:159
↓ 1 callersMethod_targeted_file_repair
Repair a single file with focused context around the error.
backend/agent/researchclaw/pipeline/code_agent.py:997
↓ 1 callersMethod_text_to_feature
(self, text: str)
assets/showcase/adaptive-mrsa/codes/models.py:190
↓ 1 callersFunction_title_similarity
Sequence-based similarity between two titles (0-1).
backend/agent/researchclaw/literature/novelty.py:159
↓ 1 callersMethod_to_float
(value: object)
backend/agent/researchclaw/experiment/runner.py:295
↓ 1 callersFunction_trim_readme
Strip HTML tags, badges, image links, and boilerplate from README.
backend/agent/researchclaw/utils/codebase_manifest.py:283
↓ 1 callersMethod_truncate_bash
Truncate bash output keeping both head and tail. Errors and tracebacks are always at the end of output, so we keep the first 30% and
backend/agent/researchclaw/pipeline/claw_engine/tools/executor.py:394
↓ 1 callersMethod_try_persist
(self)
backend/agent/researchclaw/pipeline/claw_engine/session.py:79
↓ 1 callersMethod_try_persist
Best-effort persist — never raises.
backend/agent/researchclaw/pipeline/codegen/session.py:107
↓ 1 callersMethod_try_recover_tool_calls_from_text
Parse tool call JSON embedded in assistant text as fallback.
backend/agent/researchclaw/pipeline/claw_engine/turn_loop.py:487
↓ 1 callersMethod_try_recover_tool_calls_from_text
Try to parse tool call JSON embedded in assistant text. Handles formats like: {"tool": "read_file", "parameters": {"path": "..."}}
backend/agent/researchclaw/pipeline/codegen/turn_loop.py:569
↓ 1 callersFunction_urlopen
(req: str | urllib.request.Request, timeout: int)
backend/agent/researchclaw/health.py:278
↓ 1 callersFunction_utcnow_iso
()
backend/agent/researchclaw/knowledge/base.py:23
↓ 1 callersFunction_validate_draft_quality
Validate a paper draft for section balance and prose quality. Checks: 1. Per-section word count vs ``SECTION_WORD_TARGETS``. 2. Bullet-po
backend/agent/researchclaw/pipeline/executor.py:5893
↓ 1 callersFunction_verify_doi_datacite
Fallback DOI verification via DataCite API. arXiv DOIs (10.48550/arXiv.*) are registered with DataCite, not CrossRef. Returns *None* on netwo
backend/agent/researchclaw/literature/verify.py:274
↓ 1 callersFunction_version_rollback_stages
Rename stage directories that will be overwritten by a PIVOT/REFINE. For example, if rolling back to Stage 8 (attempt 2), renames: stage-08
backend/agent/researchclaw/pipeline/runner.py:692
↓ 1 callersFunction_warnings_section
(summary: dict[str, Any])
backend/agent/researchclaw/report.py:165
↓ 1 callersFunction_write_cache
(title: str, result: CitationResult)
backend/agent/researchclaw/literature/verify.py:560
↓ 1 callersMethod_write_file
(self, inp: dict[str, Any])
backend/agent/researchclaw/pipeline/claw_engine/tools/executor.py:155
↓ 1 callersMethod_write_final_experiment
Write the final experiment state to experiment_final/.
backend/agent/researchclaw/pipeline/iterative_refine/runtime.py:393
↓ 1 callersFunction_write_heartbeat
Write heartbeat file for sentinel watchdog monitoring.
backend/agent/researchclaw/pipeline/runner.py:98
↓ 1 callersFunction_write_iteration_context
Write iteration feedback file so next round can read it.
backend/agent/researchclaw/pipeline/runner.py:871
↓ 1 callersFunction_write_paper_sections
Write a conference-grade paper in 3 sequential LLM calls. Call 1: Title + Abstract + Introduction + Related Work Call 2: Method + Experiments
backend/agent/researchclaw/pipeline/executor.py:5367
↓ 1 callersFunction_write_pipeline_summary
(run_dir: Path, summary: dict[str, object])
backend/agent/researchclaw/pipeline/runner.py:66
↓ 1 callersMethod_write_script
(script_path: Path, code: str)
backend/agent/researchclaw/experiment/sandbox.py:408
↓ 1 callersFunction_write_valid_config
(path: Path)
backend/agent/tests/test_rc_cli.py:14
↓ 1 callersFunction_write_valid_config
(path: Path)
backend/agent/tests/test_rc_health.py:44
↓ 1 callersMethodacceptance_targets
(self)
assets/showcase/quantifying-hallucination/main.py:176
↓ 1 callersMethodall_ready
(self)
backend/services/agent_bridge.py:679
↓ 1 callersMethodall_s8_done
(self)
backend/services/agent_bridge.py:682
↓ 1 callersFunctionanalyze_code_quality
Analyze the quality of generated code.
backend/agent/scripts/test_code_agent_live.py:192
↓ 1 callersFunctionanalyze_code_quality
Comprehensive code quality analysis.
backend/agent/scripts/test_codegen_v2.py:269
↓ 1 callersMethodappend
(self, namespace: str, content: str)
backend/agent/researchclaw/adapters.py:68
↓ 1 callersFunctionarrayBufferToBase64
(buffer: ArrayBuffer)
frontend/src/components/ProjectPanel.tsx:78
↓ 1 callersMethodassign
(self, task_id: str, agent_id: str)
backend/services/agent_bridge.py:626
↓ 1 callersMethodattach_lora
(self, pipe: FluxPipeline, method: Dict)
assets/showcase/reproduce-phycustom/main.py:271
↓ 1 callersMethodbootstrap_ci
(self, values: List[float])
assets/showcase/reproduce-phycustom/main.py:607
↓ 1 callersMethodbootstrap_confidence_interval
(self, values: List[float])
assets/showcase/quantifying-hallucination/main.py:1035
↓ 1 callersFunctionbroadcast_loop
(interval: float)
backend/services/resource_monitor.py:165
↓ 1 callersMethodbuild
(self)
assets/showcase/quantifying-hallucination/main.py:334
↓ 1 callersMethodbuild_cases
(self, max_cases_per_regime: int = 3)
assets/showcase/adaptive-mrsa/codes/models.py:70
↓ 1 callersFunctionbuild_condition
(condition_name: str, case_features: Dict[str, Any], hyper: Dict[str, Any])
assets/showcase/adaptive-mrsa/codes/models.py:776
↓ 1 callersFunctionbuild_default_registry
Build the strategy registry with the claw-code agentic strategy. The ClawAgentStrategy is the sole code generation path — it uses claw-code's
backend/agent/researchclaw/pipeline/codegen/registry.py:42
↓ 1 callersMethodbuild_optimizer
(self, pipe: FluxPipeline, method: Dict)
assets/showcase/reproduce-phycustom/main.py:547
↓ 1 callersFunctionbuild_system_prompt
( *, python_path: str = "", workspace_path: str = "", time_budget_sec: int = 3600, gpu_id:
backend/agent/researchclaw/pipeline/experiment_run/system_prompt.py:6
↓ 1 callersFunctionbuild_system_prompt
( *, python_path: str = "", workspace_path: str = "", )
backend/agent/researchclaw/pipeline/sanity_check/system_prompt.py:10
↓ 1 callersFunctionbuild_system_prompt
( *, python_path: str = "", workspace_path: str = "", time_budget_sec: int = 3600, metric_
backend/agent/researchclaw/pipeline/iterative_refine/system_prompt.py:6
↓ 1 callersFunctionbuild_system_prompt
( *, python_path: str = "", workspace_path: str = "", )
backend/agent/researchclaw/pipeline/result_analysis/system_prompt.py:6
↓ 1 callersFunctionbuild_system_prompt
Build the full system prompt from context. Follows claw-code's ``SystemPromptBuilder.build()`` section order.
backend/agent/researchclaw/pipeline/codegen/system_prompt.py:31
↓ 1 callersFunctionbuild_user_message
( *, experiment_dir: str, experiment_files: list[str], time_budget_sec: int = 3600, metric
backend/agent/researchclaw/pipeline/experiment_run/system_prompt.py:55
↓ 1 callersFunctionbuild_user_message
( *, experiment_dir: str, experiment_files: list[str], exp_plan_summary: str = "", )
backend/agent/researchclaw/pipeline/sanity_check/system_prompt.py:52
↓ 1 callersFunctionbuild_user_message
( *, experiment_dir: str, experiment_files: list[str], baseline_results: str = "", metric_
backend/agent/researchclaw/pipeline/iterative_refine/system_prompt.py:63
↓ 1 callersFunctionbuild_user_message
( *, workspace_path: str, data_files: list[str], metric_key: str = "primary_metric", metri
backend/agent/researchclaw/pipeline/result_analysis/system_prompt.py:118
↓ 1 callersFunctionbuild_user_message
Build the initial user message that starts the agent loop.
backend/agent/researchclaw/pipeline/codegen/system_prompt.py:52
↓ 1 callersMethodcan_handle
Return True if this strategy should be used for the given context.
backend/agent/researchclaw/pipeline/codegen/strategies/base.py:30
↓ 1 callersMethodchat
( self, messages: list[dict[str, str]], *, system: str | None = None )
backend/agent/researchclaw/experiment/runner.py:93
↓ 1 callersMethodchat_completion
Call Anthropic Messages API and return OpenAI-compatible response. Raises urllib.error.HTTPError on API errors so the upstream retry
backend/agent/researchclaw/llm/anthropic_adapter.py:43
↓ 1 callersFunctioncheck_acp_agent
Check that the ACP agent CLI is available on PATH.
backend/agent/researchclaw/health.py:517
↓ 1 callersFunctioncheck_api_key_valid
(base_url: str, api_key: str)
backend/agent/researchclaw/health.py:293
↓ 1 callersFunctioncheck_ascend_runtime
Check if Ascend NPU and CANN driver are available.
backend/agent/researchclaw/health.py:534
↓ 1 callersFunctioncheck_code_complexity
Check whether generated experiment code is too simplistic. Returns a list of warning strings. Empty list means no quality concerns.
backend/agent/researchclaw/experiment/validator.py:428
↓ 1 callersFunctioncheck_compiled_quality
Run post-compilation quality checks on a LaTeX document. Parses the .log file and .tex source for: - Unresolved references (??) - Unresol
backend/agent/researchclaw/templates/compiler.py:248
↓ 1 callersFunctioncheck_config_valid
(config_path: str | Path)
backend/agent/researchclaw/health.py:101
← previousnext →901–1,000 of 3,044, ranked by callers