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

↓ 3 callersMethodpredict
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:883
↓ 3 callersMethodpredict
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:911
↓ 3 callersMethodsearch_multi
Run multiple search queries with cross-query deduplication.
backend/agent/researchclaw/web/search.py:115
↓ 3 callersFunctionsearch_openalex
Search OpenAlex for papers matching *query*. Parameters ---------- query: Free-text search query. limit: Maximum numb
backend/agent/researchclaw/literature/openalex_client.py:49
↓ 3 callersMethodshould_stop
Return True if approaching 80% of time budget.
assets/showcase/flowedit-wan21-t2v/codes/experiment_harness.py:41
↓ 3 callersMethodsimilarity_matrix
(self, feats_a: torch.Tensor, feats_b: torch.Tensor)
assets/showcase/adaptive-mrsa/codes/models.py:231
↓ 3 callersMethodstage_names
(self)
backend/agent/researchclaw/prompts.py:209
↓ 3 callersMethodsummary
(self)
backend/services/agent_bridge.py:654
↓ 3 callersMethodto_dict
(self)
backend/agent/researchclaw/evolution.py:63
↓ 2 callersFunction_as_int
(value: object, default: int = 0)
backend/agent/researchclaw/literature/search.py:53
↓ 2 callersFunction_assign_task_to_agent
Common setup when assigning a task to an agent.
backend/services/agent_bridge.py:1080
↓ 2 callersFunction_auto_table_caption
IMP-32: Generate a descriptive caption from table header columns.
backend/agent/researchclaw/templates/converter.py:1106
↓ 2 callersMethod_build_code_summary
Build a CodeMem-style compressed summary via AST analysis.
backend/agent/researchclaw/pipeline/code_agent.py:540
↓ 2 callersMethod_build_command
(self, script_path: Path)
backend/agent/researchclaw/experiment/sandbox.py:411
↓ 2 callersMethod_build_manifest
Build a structured manifest of all figures.
backend/agent/researchclaw/agents/figure_agent/integrator.py:107
↓ 2 callersFunction_build_pipeline_summary
( *, run_id: str, results: list[StageResult], from_stage: Stage, run_dir: Path | None = No
backend/agent/researchclaw/pipeline/runner.py:39
↓ 2 callersFunction_build_status_summary
Build a human-readable status summary for all running/recent projects.
backend/services/agent_bridge.py:483
↓ 2 callersFunction_cache_key
(title: str)
backend/agent/researchclaw/literature/verify.py:537
↓ 2 callersMethod_cache_path
(self, domain_id: str, topic: str)
backend/agent/researchclaw/agents/code_searcher/cache.py:117
↓ 2 callersFunction_cb_on_429
Record a 429 response. Returns True if breaker is now OPEN.
backend/agent/researchclaw/literature/semantic_scholar.py:107
↓ 2 callersFunction_cb_on_success
Record a successful request.
backend/agent/researchclaw/literature/semantic_scholar.py:96
↓ 2 callersFunction_check_models_against_endpoint
Return (available, missing) sets, or None if endpoint unreachable.
backend/agent/researchclaw/health.py:424
↓ 2 callersFunction_check_s12_sanity_failure
If S12 sanity_report.json shows fail, pause the project and return notification messages.
backend/services/agent_bridge.py:1352
↓ 2 callersMethod_collect_files
Collect new/modified Python files from the workspace.
backend/agent/researchclaw/pipeline/openhands_bridge.py:471
↓ 2 callersFunction_collect_if_only_assignments
Collect variables assigned only inside if/elif branches.
backend/agent/researchclaw/experiment/validator.py:805
↓ 2 callersFunction_collect_list
Collect consecutive list items matching *pattern*.
backend/agent/researchclaw/templates/converter.py:985
↓ 2 callersFunction_collect_raw_experiment_metrics
Collect raw experiment metric lines from stdout for paper writing. Returns a tuple of (formatted block, has_parsed_metrics). ``has_parsed_met
backend/agent/researchclaw/pipeline/executor.py:5205
↓ 2 callersMethod_compute_ci_with_fallback
Reproduce IMP-16 logic from executor.py lines 3367-3397. Returns (ci_low, ci_high, used_fallback).
backend/agent/tests/test_v6_improvements.py:337
↓ 2 callersMethod_crawl_with_crawl4ai
Use Crawl4AI for high-quality extraction.
backend/agent/researchclaw/web/crawler.py:147
↓ 2 callersFunction_default_paper_outline
(topic: str)
backend/agent/researchclaw/pipeline/executor.py:1602
↓ 2 callersMethod_detect_current_branch
Detect the current git branch name, or None if not in a repo.
backend/agent/researchclaw/experiment/git_manager.py:160
↓ 2 callersFunction_determine_resume_target
Read checkpoint and return (target_layer, next_stage) or None if no checkpoint.
backend/services/agent_bridge.py:1271
↓ 2 callersMethod_ensure_session
Find or create the named acpx session.
backend/agent/researchclaw/llm/acp_client.py:193
↓ 2 callersMethod_evaluate_node
Run a node's code in sandbox and update its score.
backend/agent/researchclaw/pipeline/code_agent.py:1174
↓ 2 callersMethod_exec_fix_loop
Run exec-fix loop if sandbox is available.
backend/agent/researchclaw/pipeline/code_agent.py:857
↓ 2 callersMethod_execute
Core execution: single container, three-phase via entrypoint.sh.
backend/agent/researchclaw/experiment/docker_sandbox.py:264
↓ 2 callersMethod_execute
Core execution flow for remote experiments. Steps: 1. Create a unique temporary directory on the remote host 2. Upload ex
backend/agent/researchclaw/experiment/ssh_sandbox.py:160
↓ 2 callersFunction_execute_experiment_run
S14 EXPERIMENT_RUN — delegates to the refactored experiment_run package. The full implementation uses a claw-code agentic turn loop to execute
backend/agent/researchclaw/pipeline/executor.py:4069
↓ 2 callersFunction_execute_hypothesis_gen
( stage_dir: Path, run_dir: Path, config: RCConfig, adapters: AdapterBundle, *, llm: L
backend/agent/researchclaw/pipeline/executor.py:3115
↓ 2 callersMethod_execute_local
Execute script in a local subprocess (no sandbox).
backend/agent/researchclaw/agents/figure_agent/renderer.py:256
↓ 2 callersFunction_extract_figure_prompts
Parse ``<!-- FIGURE_PROMPT ... -->`` blocks from a paper draft. Returns a list of dicts, each with keys: figure_id, figure_type, section,
backend/agent/researchclaw/pipeline/executor.py:5678
↓ 2 callersFunction_extract_key_phrases
Extract key phrases from a research topic.
backend/agent/researchclaw/agents/code_searcher/query_gen.py:160
↓ 2 callersMethod_extract_markdown
Extract markdown from a Crawl4AI result object.
backend/agent/researchclaw/web/crawler.py:176
↓ 2 callersMethod_extract_metric
(results_str: str, metric_key: str)
backend/agent/researchclaw/pipeline/iterative_refine/runtime.py:330
↓ 2 callersMethod_extract_response
Extract the agent's actual response from acpx output. Strips acpx metadata lines ([client], [acpx], [tool], [done]) and their continu
backend/agent/researchclaw/llm/acp_client.py:340
↓ 2 callersMethod_extract_search_keywords
Extract 1-3 word search keywords from a topic string.
backend/agent/researchclaw/agents/benchmark_agent/surveyor.py:260
↓ 2 callersFunction_failed
(stage: Stage, msg: str = "boom")
backend/agent/tests/test_rc_runner.py:52
↓ 2 callersMethod_fallback_plan
Generate a basic plan without LLM (used as fallback).
backend/agent/researchclaw/agents/figure_agent/planner.py:325
↓ 2 callersFunction_fetch_models
(base_url: str, api_key: str = "")
backend/agent/researchclaw/health.py:251
↓ 2 callersMethod_find_core_source_files
Find small, core .py files in codebases/ to pass as --read to aider. These give aider full visibility into key functions (e.g. mrsa_forward,
backend/agent/researchclaw/pipeline/openhands_bridge.py:527
↓ 2 callersMethod_find_pdf_urls
Find PDF URLs from search results.
backend/agent/researchclaw/web/agent.py:356
↓ 2 callersFunction_find_prior_file
Like ``_read_prior_artifact`` but returns the *Path* instead of content.
backend/agent/researchclaw/pipeline/executor.py:359
↓ 2 callersMethod_fix_runtime_error
Fix a runtime error using targeted or full-file repair. E-05: Parse the error traceback to identify the failing file and line, then s
backend/agent/researchclaw/pipeline/code_agent.py:923
↓ 2 callersFunction_format_lessons
Format lessons into a text block for the LLM prompt.
backend/agent/researchclaw/metaclaw_bridge/lesson_to_skill.py:61
↓ 2 callersMethod_format_text_tool_feedback
Return a text-only tool transcript for Claude-style loops.
backend/agent/researchclaw/pipeline/claw_engine/turn_loop.py:619
↓ 2 callersMethod_format_text_tool_feedback
Return a text-only tool transcript for Claude-style loops.
backend/agent/researchclaw/pipeline/codegen/turn_loop.py:708
↓ 2 callersMethod_generate_code
Single code generation call with architecture spec injected.
backend/agent/researchclaw/pipeline/code_agent.py:876
↓ 2 callersMethod_generate_descriptions
Generate figure descriptions for injection into paper writing prompt.
backend/agent/researchclaw/agents/figure_agent/integrator.py:194
↓ 2 callersMethod_generate_markdown_refs
Generate markdown image references for paper embedding.
backend/agent/researchclaw/agents/figure_agent/integrator.py:174
↓ 2 callersMethod_generate_queries
Generate search queries from a topic string.
backend/agent/researchclaw/web/agent.py:331
↓ 2 callersMethod_generate_requirements
Generate requirements.txt content for additional packages.
backend/agent/researchclaw/agents/benchmark_agent/acquirer.py:193
↓ 2 callersMethod_get_local_candidates
Retrieve benchmarks and baselines from local knowledge base.
backend/agent/researchclaw/agents/benchmark_agent/surveyor.py:173
↓ 2 callersMethod_hard_validate_and_repair
Run AST-based hard validation and repair critical issues. Critical issues trigger targeted file regeneration. Non-critical issues ar
backend/agent/researchclaw/pipeline/code_agent.py:588
↓ 2 callersMethod_inject_harness
(target_dir: Path)
backend/agent/researchclaw/experiment/docker_sandbox.py:251
↓ 2 callersMethod_inject_harness
(target_dir: Path)
backend/agent/researchclaw/experiment/ssh_sandbox.py:148
↓ 2 callersMethod_inject_harness
Copy the immutable experiment harness into the target directory.
backend/agent/researchclaw/experiment/sandbox.py:393
↓ 2 callersMethod_inject_harness
(target_dir: Path)
backend/agent/researchclaw/experiment/colab_sandbox.py:219
↓ 2 callersFunction_is_timeout
(exc: BaseException)
backend/agent/researchclaw/health.py:156
↓ 2 callersFunction_launch_idea_factory_run
Launch L1 agent to produce ideas. s7_only=True runs only S7 (for discussion mode).
backend/services/agent_bridge.py:2096
↓ 2 callersFunction_launch_s8_for_agent
Launch S8 (HYPOTHESIS_GEN) for a single agent after discussion.
backend/services/agent_bridge.py:2596
↓ 2 callersFunction_llm_detect
Use LLM to classify a research topic into a domain. Synchronous — ``llm.chat()`` is a blocking call.
backend/agent/researchclaw/domains/detector.py:329
↓ 2 callersFunction_load_agent_bridge_module
()
backend/agent/tests/test_agent_bridge_reference_config.py:10
↓ 2 callersFunction_make_lesson
(stage: str = "experiment_run", severity: str = "error")
backend/agent/tests/test_metaclaw_bridge/test_lesson_to_skill.py:16
↓ 2 callersMethod_make_rc_config
(tmp_path: Path)
backend/agent/tests/test_rc_e2e_regression.py:223
↓ 2 callersMethod_make_report
(self)
backend/agent/tests/test_rc_citation_verify.py:414
↓ 2 callersMethod_make_sandbox
(self, tmp_path: Path)
backend/agent/tests/test_entry_point_validation.py:99
↓ 2 callersMethod_make_sections
Build _Section objects from (heading, word_count, use_bullets) specs.
backend/agent/tests/test_rc_templates.py:618
↓ 2 callersFunction_markdown_frontmatter
Generate YAML frontmatter block.
backend/agent/researchclaw/knowledge/base.py:54
↓ 2 callersFunction_models_url
(base_url: str)
backend/agent/researchclaw/health.py:152
↓ 2 callersFunction_multi_perspective_generate
Generate outputs from multiple debate perspectives. Each role has its own system/user prompt. Outputs are saved to *perspectives_dir* and ret
backend/agent/researchclaw/pipeline/executor.py:3061
↓ 2 callersFunction_next_container_name
()
backend/agent/researchclaw/experiment/docker_sandbox.py:39
↓ 2 callersFunction_next_figure_num
Return the next figure number for the current thread.
backend/agent/researchclaw/templates/converter.py:41
↓ 2 callersFunction_package_deliverables
Collect all final user-facing deliverables into a single ``deliverables/`` folder. Returns the deliverables directory path, or None if nothing wa
backend/agent/researchclaw/pipeline/runner.py:409
↓ 2 callersFunction_parse_alignments
Parse alignment indicators from separator line.
backend/agent/researchclaw/templates/converter.py:1138
↓ 2 callersMethod_parse_stdout
Parse stdout using the existing regex-based parser. Delegates to ``sandbox.parse_metrics`` for backward compatibility.
backend/agent/researchclaw/experiment/metrics.py:253
↓ 2 callersFunction_persist_reference_uploads
( project_dir: Path, reference_uploads: list[dict[str, str]] | None, )
backend/services/agent_bridge.py:1850
↓ 2 callersFunction_pivot_result
(stage: Stage)
backend/agent/tests/test_rc_runner.py:453
↓ 2 callersFunction_prompt_opencode_install
Interactively prompt the user to install OpenCode. Returns True if OpenCode is now available (already installed or just installed successfull
backend/agent/researchclaw/cli.py:73
↓ 2 callersFunction_queue_for_layer
Return the input queue name that feeds into target_layer.
backend/services/agent_bridge.py:1288
↓ 2 callersMethod_rate_limit_wait
Enforce rate limiting between search requests.
backend/agent/researchclaw/agents/code_searcher/github_client.py:84
↓ 2 callersFunction_read_project_meta
(run_dir: str)
backend/services/agent_bridge.py:1267
↓ 2 callersFunction_read_quality_score
Extract quality score from the most recent quality_report.json.
backend/agent/researchclaw/pipeline/runner.py:854
↓ 2 callersFunction_render_enumerate
(items: list[str])
backend/agent/researchclaw/templates/converter.py:1017
↓ 2 callersFunction_render_figure_prompts
Render extracted FIGURE_PROMPT entries via NanoBananaAgent. Uses the OpenAI-compatible proxy (same base_url/api_key as the LLM) to call an im
backend/agent/researchclaw/pipeline/executor.py:5765
↓ 2 callersFunction_render_itemize
(items: list[str])
backend/agent/researchclaw/templates/converter.py:1012
↓ 2 callersFunction_render_table
Render a Markdown table as a LaTeX tabular inside a table environment. IMP-23: Auto-wraps in ``\\resizebox`` when columns > 5 or any cell tex
backend/agent/researchclaw/templates/converter.py:1037
↓ 2 callersFunction_reset_render_counters
Reset per-render figure and table counters for the current thread.
backend/agent/researchclaw/templates/converter.py:28
↓ 2 callersMethod_resize_mask
(self, mask: torch.Tensor, size: Tuple[int, int])
assets/showcase/adaptive-mrsa/codes/models.py:901
↓ 2 callersFunction_resolve_call_name
Best-effort name resolution for a Call node's func.
backend/agent/researchclaw/experiment/validator.py:270
↓ 2 callersMethod_result_from_completed
( completed: subprocess.CompletedProcess[str], *, elapsed_sec: float )
backend/agent/researchclaw/experiment/sandbox.py:423
← previousnext →401–500 of 3,044, ranked by callers