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

↓ 4 callersMethodrun_project
Run a multi-file experiment project inside a container.
backend/agent/researchclaw/experiment/docker_sandbox.py:134
↓ 4 callersMethodrun_turn
(self, user_message: str)
backend/agent/researchclaw/pipeline/claw_engine/turn_loop.py:222
↓ 4 callersFunctionsanitize_figure_id
Sanitize a figure ID for safe use in file paths and Docker names. Strips path separators, dotdot sequences, and shell metacharacters. Returns
backend/agent/researchclaw/utils/sanitize.py:8
↓ 4 callersMethodsearch
Search the web via Exa and return results. Falls back to an empty response when no API key is set.
backend/agent/researchclaw/web/exa_search.py:76
↓ 4 callersFunctionsubmit_new_project
Submit a project — auto-detects checkpoint and resumes from where it left off. In cross-project discussion mode, each project gets ONE agent.
backend/services/agent_bridge.py:1295
↓ 4 callersMethodsummary
(self)
backend/agent/researchclaw/experiment/validator.py:49
↓ 4 callersMethodto_dict
(self)
backend/agent/researchclaw/literature/verify.py:65
↓ 4 callersMethodto_legacy_format
Convert to legacy baselines/proposed_methods/ablations format. This allows the universal plan to be consumed by existing pipeline cod
backend/agent/researchclaw/domains/experiment_schema.py:106
↓ 4 callersMethodto_prompt_context
Format as context block for injection into code generation prompts.
backend/agent/researchclaw/agents/code_searcher/agent.py:43
↓ 4 callersFunctionverify_citations
Verify all BibTeX entries against real academic APIs. Three-layer verification: 1. If entry has ``eprint`` (arXiv ID) → arXiv API lookup
backend/agent/researchclaw/literature/verify.py:660
↓ 3 callersMethod_agent
(self)
backend/agent/tests/test_decision_agent.py:298
↓ 3 callersMethod_analyze_data
Analyze available experiment data to determine chart potential.
backend/agent/researchclaw/agents/figure_agent/planner.py:172
↓ 3 callersFunction_blocked
(stage: Stage)
backend/agent/tests/test_rc_runner.py:56
↓ 3 callersMethod_build_bare_exec_cmd
Build command to run Python directly on remote host (with basic sandboxing).
backend/agent/researchclaw/experiment/ssh_sandbox.py:244
↓ 3 callersMethod_build_docker_exec_cmd
Build command to run inside a Docker container on the remote host. This is the most secure execution mode: code runs in an isolated c
backend/agent/researchclaw/experiment/ssh_sandbox.py:280
↓ 3 callersMethod_build_domain_context
Build domain-specific context for injection into prompts. Includes: - Domain profile hints (file structure, libraries, evaluation)
backend/agent/researchclaw/pipeline/code_agent.py:339
↓ 3 callersFunction_build_local_pdf_reference_entry
( pdf_path: Path, *, title: str, abstract: str, source: str, )
backend/agent/researchclaw/pipeline/executor.py:2179
↓ 3 callersFunction_cb_on_failure
()
backend/agent/researchclaw/literature/arxiv_client.py:91
↓ 3 callersFunction_cb_should_allow
Check if circuit breaker allows a request.
backend/agent/researchclaw/literature/semantic_scholar.py:75
↓ 3 callersMethod_check_numerical_accuracy
Verify that data values in the script match source data.
backend/agent/researchclaw/agents/figure_agent/critic.py:165
↓ 3 callersMethod_check_syntax
Check Python syntax via ast.parse. Returns list of errors.
backend/agent/researchclaw/agents/benchmark_agent/validator.py:42
↓ 3 callersMethod_check_text_correctness
Check labels, titles, and legends in the script.
backend/agent/researchclaw/agents/figure_agent/critic.py:223
↓ 3 callersMethod_check_visual_quality
Use LLM to assess visual quality of the chart code.
backend/agent/researchclaw/agents/figure_agent/critic.py:280
↓ 3 callersMethod_contains_any
(text: str, keywords: tuple[str, ...] | set[str])
backend/agent/researchclaw/agents/benchmark_agent/surveyor.py:142
↓ 3 callersFunction_convert_result
Convert an ``arxiv.Result`` to our ``Paper`` dataclass.
backend/agent/researchclaw/literature/arxiv_client.py:296
↓ 3 callersFunction_detect_domain
Detect research domain from topic string and config domains. Returns ``(domain_id, display_name, top_venues)``. Falls back to ``("ml", "machi
backend/agent/researchclaw/pipeline/executor.py:116
↓ 3 callersMethod_detect_sections
Detect section boundaries in paper text.
backend/agent/researchclaw/web/pdf_extractor.py:189
↓ 3 callersMethod_dominant_reference_index
(self)
assets/showcase/adaptive-mrsa/codes/models.py:273
↓ 3 callersMethod_extract_abstract
Extract abstract from paper text.
backend/agent/researchclaw/web/pdf_extractor.py:172
↓ 3 callersFunction_extract_assign_targets
Extract variable names from assignment targets.
backend/agent/researchclaw/experiment/validator.py:817
↓ 3 callersFunction_extract_english_from_mixed
Extract English tokens and translate Chinese domain terms from mixed text.
backend/agent/researchclaw/pipeline/executor.py:210
↓ 3 callersFunction_extract_yaml_block
Extract YAML from text that may contain ACP noise. Strips [thinking] blocks, insight blocks, and other ACP artifacts before looking for YAML
backend/agent/researchclaw/pipeline/executor.py:390
↓ 3 callersMethod_find_binary
Locate the aider binary. Search order: 1. PATH (shutil.which) 2. Same bin directory as the running Python interpreter
backend/agent/researchclaw/pipeline/openhands_bridge.py:154
↓ 3 callersFunction_find_discussion_dir
Locate the discussion artifacts directory. Checks run_dir/discussion first, then falls back to shared_results_dir/idea_runs/<idea_id>/discuss
backend/agent/researchclaw/pipeline/executor.py:1032
↓ 3 callersMethod_find_images
(self, root: str)
assets/showcase/adaptive-mrsa/codes/models.py:42
↓ 3 callersFunction_generate_config_from_template
Generate a project-specific YAML config from the default template. If role_prompt is provided (Lab mode), it's prepended to the topic so the
backend/services/agent_bridge.py:1794
↓ 3 callersMethod_generate_setup_script
Generate setup.py content for dataset downloading.
backend/agent/researchclaw/agents/benchmark_agent/acquirer.py:107
↓ 3 callersMethod_generate_via_rest
Generate image using Gemini REST API (no SDK dependency).
backend/agent/researchclaw/agents/figure_agent/nano_banana.py:526
↓ 3 callersFunction_get_client
Get or create the shared arxiv Client.
backend/agent/researchclaw/literature/arxiv_client.py:117
↓ 3 callersFunction_get_docstring
Extract the first-line docstring from a class/function node.
backend/agent/researchclaw/utils/codebase_manifest.py:63
↓ 3 callersMethod_headers
(self)
backend/agent/researchclaw/agents/code_searcher/github_client.py:75
↓ 3 callersFunction_is_auxiliary_code
Return True for files that are useful but non-core (eval, test, etc.).
backend/agent/researchclaw/utils/codebase_manifest.py:136
↓ 3 callersMethod_is_azure
Detect Azure OpenAI from base URL or provider string.
backend/agent/researchclaw/pipeline/opencode_bridge.py:450
↓ 3 callersFunction_is_bad_title
Return True if *candidate* is clearly not a paper title.
backend/agent/researchclaw/templates/converter.py:694
↓ 3 callersMethod_is_claude_model
(model_name: str)
backend/agent/researchclaw/pipeline/claw_engine/turn_loop.py:583
↓ 3 callersMethod_is_claude_model
(model_name: str)
backend/agent/researchclaw/pipeline/codegen/turn_loop.py:672
↓ 3 callersFunction_is_excluded_metric
Return True if *name* is a timing/meta metric that shouldn't be charted.
backend/agent/researchclaw/experiment/visualize.py:68
↓ 3 callersFunction_is_opencode_installed
Check if the ``opencode`` CLI is available on PATH.
backend/agent/researchclaw/cli.py:29
↓ 3 callersFunction_list_existing_skill_names
List all existing skill names in the MetaClaw skills directory.
backend/agent/researchclaw/metaclaw_bridge/lesson_to_skill.py:72
↓ 3 callersFunction_load_hardware_profile
Load hardware_profile.json from a prior stage (usually stage-01).
backend/agent/researchclaw/pipeline/executor.py:378
↓ 3 callersFunction_minimal_config_data
Return minimal valid config data with metaclaw_bridge overrides.
backend/agent/tests/test_metaclaw_bridge/test_config.py:6
↓ 3 callersFunction_next_table_num
Return the next table number for the current thread.
backend/agent/researchclaw/templates/converter.py:34
↓ 3 callersFunction_obsidian_enhancements
Add Obsidian-compatible wikilinks and tag line at end of content.
backend/agent/researchclaw/knowledge/base.py:74
↓ 3 callersFunction_papers_to_dicts
Convert papers to serializable dicts for caching.
backend/agent/researchclaw/literature/search.py:48
↓ 3 callersFunction_parse_benchmark_agent_config
(data: dict[str, Any])
backend/agent/researchclaw/config.py:709
↓ 3 callersFunction_parse_opencode_config
(data: dict[str, Any])
backend/agent/researchclaw/config.py:773
↓ 3 callersFunction_pause_project
Pause a running project: stop agents and remove queued tasks, but keep all files.
backend/services/agent_bridge.py:325
↓ 3 callersMethod_rank_benchmarks
Sort benchmarks by preference: tier 1 > tier 2, knowledge_base > hf, downloads.
backend/agent/researchclaw/agents/benchmark_agent/selector.py:95
↓ 3 callersFunction_remove_bibtex_entries
Remove BibTeX entries whose keys are in *keys_to_remove*.
backend/agent/researchclaw/pipeline/executor.py:9357
↓ 3 callersFunction_render_figure
Render a markdown image as a LaTeX figure environment.
backend/agent/researchclaw/templates/converter.py:1255
↓ 3 callersMethod_resolve_api_key
(self)
backend/agent/researchclaw/pipeline/openhands_bridge.py:692
↓ 3 callersFunction_resolve_config_or_exit
Resolve config path from args, printing helpful errors on failure. Returns the resolved Path on success, or None if the config cannot be found
backend/agent/researchclaw/cli.py:123
↓ 3 callersMethod_resolve_read_path
Resolve a path for reading. No directory restriction.
backend/agent/researchclaw/pipeline/claw_engine/tools/executor.py:359
↓ 3 callersMethod_resolve_write_path
Resolve a path for writing. Absolute paths are accepted as-is (no workspace restriction). Relative paths are resolved against the wor
backend/agent/researchclaw/pipeline/claw_engine/tools/executor.py:349
↓ 3 callersFunction_safe_filename
(name: str)
backend/agent/researchclaw/pipeline/executor.py:863
↓ 3 callersMethod_select_urls_to_crawl
Select top URLs from search results for crawling.
backend/agent/researchclaw/web/agent.py:340
↓ 3 callersFunction_shorten_label
Shorten a metric label for chart readability.
backend/agent/researchclaw/experiment/visualize.py:76
↓ 3 callersFunction_write_example_config
(path: Path)
backend/agent/tests/test_rc_cli.py:211
↓ 3 callersFunction_write_json
(path: Path, data: object)
backend/services/agent_bridge.py:210
↓ 3 callersMethod_write_setup_script
Write setup.sh if setup_script is configured.
backend/agent/researchclaw/experiment/colab_sandbox.py:227
↓ 3 callersFunction_write_valid_config
(tmp_path: Path)
backend/agent/tests/test_rc_config.py:18
↓ 3 callersMethodappend_many
Append multiple lessons atomically.
backend/agent/researchclaw/evolution.py:367
↓ 3 callersMethodappend_many
(self, records: list[SkillEffectivenessRecord])
backend/agent/researchclaw/metaclaw_bridge/skill_feedback.py:40
↓ 3 callersMethodbuild_overlay
Generate a prompt overlay string for a given stage. Combines two sources: 1. Current-run lessons from ``lessons.jsonl`` (intra-run le
backend/agent/researchclaw/evolution.py:416
↓ 3 callersMethodchat
( self, messages: list[dict[str, str]], *, system: str | None = None,
backend/agent/researchclaw/agents/base.py:33
↓ 3 callersFunctioncheck_paper_completeness
Check whether a paper contains all expected sections. Returns a list of warning strings. Empty list means the paper structure looks complete
backend/agent/researchclaw/templates/converter.py:1418
↓ 3 callersMethodcheck_ssh_available
Return (ok, message) after testing SSH connectivity.
backend/agent/researchclaw/experiment/ssh_sandbox.py:129
↓ 3 callersMethodcheck_value
Return True if value is finite. Log warning and count NaN/Inf.
assets/showcase/flowedit-wan21-t2v/codes/experiment_harness.py:45
↓ 3 callersMethodcompute_flip_rate
(self)
assets/showcase/adaptive-mrsa/codes/models.py:508
↓ 3 callersMethodcompute_identity_similarity
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:683
↓ 3 callersMethodcompute_temporal_embedding_drift
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:506
↓ 3 callersMethodcompute_trajectory_continuity
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:688
↓ 3 callersMethodcount
(self)
backend/services/result_registry.py:112
↓ 3 callersFunctiondetect_hardware
Detect local GPU hardware and return a HardwareProfile. Detection order: 1. NVIDIA GPU via ``nvidia-smi`` 2. macOS Apple Silicon (MPS) vi
backend/agent/researchclaw/hardware.py:44
↓ 3 callersFunctiondetect_nan_divergence
Check stdout/stderr for NaN/Inf/divergence indicators. Returns a description of the issue if detected, None otherwise.
backend/agent/researchclaw/experiment/sandbox.py:195
↓ 3 callersMethodencode_texts
(self, texts: List[str])
assets/showcase/reproduce-phycustom/main.py:65
↓ 3 callersMethodexecute
Survey available benchmarks and baselines for the given topic. Context keys: topic (str): Research topic/title hypoth
backend/agent/researchclaw/agents/benchmark_agent/surveyor.py:328
↓ 3 callersMethodexecute
Generate images for figure decisions marked as 'image' backend. Context keys: image_figures (list[dict]): Decisions from FigureDe
backend/agent/researchclaw/agents/figure_agent/nano_banana.py:126
↓ 3 callersMethodexecute
Analyze context and produce figure decisions. Context keys: topic (str): Research topic hypothesis (str): Research hy
backend/agent/researchclaw/agents/figure_agent/decision.py:115
↓ 3 callersMethodexport_yaml
Write current prompts (defaults + overrides) to a YAML file.
backend/agent/researchclaw/prompts.py:215
↓ 3 callersMethodextract
Extract text from a local PDF file using PyMuPDF.
backend/agent/researchclaw/web/pdf_extractor.py:78
↓ 3 callersFunctionformat_issues_for_llm
Format validation issues as a concise error report for LLM repair.
backend/agent/researchclaw/experiment/validator.py:410
↓ 3 callersMethodfrom_bridge_config
Create from MetaClawBridgeConfig.prm section. Returns None if PRM is not enabled or not configured.
backend/agent/researchclaw/metaclaw_bridge/prm_gate.py:135
↓ 3 callersMethodget_case_adjustment
(self)
assets/showcase/adaptive-mrsa/codes/models.py:245
↓ 3 callersMethodget_code_generation_blocks
(self, context: dict[str, Any])
backend/agent/researchclaw/domains/prompt_adapter.py:125
↓ 3 callersFunctionget_stage_config
Return the MetaClaw skill config for a given pipeline stage. Falls back to a generic research config if the stage is unknown.
backend/agent/researchclaw/metaclaw_bridge/stage_skill_map.py:142
↓ 3 callersMethodget_text
(self, *_args: object, **_kwargs: object)
backend/agent/tests/test_rc_executor.py:177
↓ 3 callersFunctionlowpass_latents
(x: torch.Tensor)
assets/showcase/flowedit-wan21-t2v/codes/main.py:341
↓ 3 callersMethodmax_tokens
(self, stage: str)
backend/agent/researchclaw/prompts.py:184
↓ 3 callersMethodorchestrate
Run the full benchmark selection pipeline. Context keys: topic (str): Research topic/title hypothesis (str): Research
backend/agent/researchclaw/agents/benchmark_agent/orchestrator.py:215
← previousnext →301–400 of 3,044, ranked by callers