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

↓ 5 callersMethod_raw_call
Make a single API call.
backend/agent/researchclaw/llm/client.py:380
↓ 5 callersMethod_run_cite_stripping
Reproduce the IMP-14 logic from runner.py lines 505-532.
backend/agent/tests/test_v6_improvements.py:109
↓ 5 callersMethod_save_artifact
Save intermediate artifact to stage directory.
backend/agent/researchclaw/agents/benchmark_agent/orchestrator.py:201
↓ 5 callersMethod_section_order
Order sections for figure numbering.
backend/agent/researchclaw/agents/figure_agent/integrator.py:153
↓ 5 callersMethod_ssh_run
Execute a command on the remote host via ssh.
backend/agent/researchclaw/experiment/ssh_sandbox.py:326
↓ 5 callersFunction_write_checkpoint
Write checkpoint atomically via temp file + rename to prevent corruption.
backend/agent/researchclaw/pipeline/runner.py:73
↓ 5 callersMethod_write_requirements_txt
Generate requirements.txt in staging dir from auto-detected imports and explicit pip_pre_install, unless one already exists (LLM-generated).
backend/agent/researchclaw/experiment/docker_sandbox.py:468
↓ 5 callersFunctionannotate_paper_hallucinations
Remove hallucinated citations from paper text. - HALLUCINATED citations: removed from text (recorded in verification report) - SUSPICIOUS/VER
backend/agent/researchclaw/literature/verify.py:901
↓ 5 callersFunctionassess_quality
Full quality assessment of a text document.
backend/agent/researchclaw/quality.py:146
↓ 5 callersMethodcheck_available
Return True if the ``opencode`` CLI is installed and callable.
backend/agent/researchclaw/pipeline/opencode_bridge.py:298
↓ 5 callersMethodcompute_text_video_alignment
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:500
↓ 5 callersMethodencode_output_embeddings
(self, images: List[Image.Image])
assets/showcase/reproduce-phycustom/main.py:325
↓ 5 callersMethodestimate_occlusion_rate
(self, frames: np.ndarray)
assets/showcase/quantifying-hallucination/main.py:197
↓ 5 callersMethodestimate_scene_clutter
(self, frames: np.ndarray)
assets/showcase/quantifying-hallucination/main.py:201
↓ 5 callersMethodexecute
Select optimal benchmarks and baselines from survey results. Context keys: topic (str): Research topic survey (dict):
backend/agent/researchclaw/agents/benchmark_agent/selector.py:215
↓ 5 callersMethodexecute
Generate plotting scripts for all planned figures. Context keys: figures (list[dict]): Figure plan from Planner exper
backend/agent/researchclaw/agents/figure_agent/codegen.py:443
↓ 5 callersFunctionfilter_verified_bibtex
Return a cleaned BibTeX string with only verified entries. Parameters ---------- bib_text: Original BibTeX string. report:
backend/agent/researchclaw/literature/verify.py:864
↓ 5 callersFunctiongate_required
Check whether a stage requires human-in-the-loop approval.
backend/agent/researchclaw/pipeline/stages.py:218
↓ 5 callersFunctionget_generic_profile
Return the generic fallback profile.
backend/agent/researchclaw/domains/detector.py:181
↓ 5 callersMethodget_style_files
Return paths to bundled ``.sty`` and ``.bst`` files for this template. Files are stored under ``researchclaw/templates/styles/<name>/``.
backend/agent/researchclaw/templates/conference.py:101
↓ 5 callersMethodlast_name
Return ASCII-folded last name for citation keys.
backend/agent/researchclaw/literature/models.py:22
↓ 5 callersMethodload_all
(self)
backend/agent/researchclaw/metaclaw_bridge/skill_feedback.py:48
↓ 5 callersFunctionmsg_artifact
(repo_id: str, filename: str, agent_name: str, size: str, project_id: str = "", content: str
backend/services/agent_bridge.py:811
↓ 5 callersMethodrender_preamble
( self, title: str, authors: str, abstract: str, )
backend/agent/researchclaw/templates/conference.py:37
↓ 5 callersMethodreport_metric
Report a metric value. Validates and prints in standard format. Non-finite values (NaN, Inf) are rejected and logged as warnings.
backend/agent/researchclaw/experiment/harness_template.py:64
↓ 5 callersFunctionresolve_config_path
Return first existing config from search order, or explicit path if given.
backend/agent/researchclaw/config.py:15
↓ 5 callersMethodrun
Run a single Python code string on the remote host.
backend/agent/researchclaw/experiment/ssh_sandbox.py:55
↓ 5 callersFunctionsearch_arxiv
Search arXiv for papers matching *query*. Parameters ---------- query: Free-text search query. Supports arXiv field syntax
backend/agent/researchclaw/literature/arxiv_client.py:134
↓ 5 callersFunctionsearch_semantic_scholar
Search Semantic Scholar for papers matching *query*. Parameters ---------- query: Free-text search query. limit: Maxi
backend/agent/researchclaw/literature/semantic_scholar.py:148
↓ 5 callersMethodto_context_string
Convert all results to a single context string for LLM injection. The output is structured Markdown suitable for prompt injection.
backend/agent/researchclaw/web/agent.py:56
↓ 5 callersMethodto_dict
(self)
backend/agent/researchclaw/config.py:416
↓ 5 callersFunctionvalidate_syntax
Check *code* parses as valid Python.
backend/agent/researchclaw/experiment/validator.py:312
↓ 5 callersFunctionverify_by_arxiv_id
Look up a paper by arXiv ID and compare titles. Returns *None* on network failure so that the caller can fall through to the next verificatio
backend/agent/researchclaw/literature/verify.py:180
↓ 5 callersFunctionverify_by_doi
Verify a DOI via CrossRef API, with DataCite fallback for arXiv DOIs. Returns *None* on network failure.
backend/agent/researchclaw/literature/verify.py:355
↓ 4 callersMethod_agent
(self, min_figures=3, max_figures=10)
backend/agent/tests/test_decision_agent.py:161
↓ 4 callersMethod_agent
(self, min_figures=3, max_figures=6)
backend/agent/tests/test_decision_agent.py:245
↓ 4 callersMethod_agent
(self)
backend/agent/tests/test_decision_agent.py:407
↓ 4 callersFunction_cache_dir
(base: Path | None = None)
backend/agent/researchclaw/literature/cache.py:32
↓ 4 callersMethod_check_imports
Check that imported modules are available or declared.
backend/agent/researchclaw/agents/benchmark_agent/validator.py:52
↓ 4 callersFunction_consecutive_empty_metrics
R6-4: Check if the current and previous REFINE cycles both produced empty metrics.
backend/agent/researchclaw/pipeline/runner.py:720
↓ 4 callersFunction_convert_block
Convert a block of Markdown body text to LaTeX.
backend/agent/researchclaw/templates/converter.py:874
↓ 4 callersFunction_count_keyword_hits
(text: str, keywords: tuple[str, ...])
backend/agent/researchclaw/pipeline/opencode_bridge.py:119
↓ 4 callersMethod_detect_domain
Detect research domain from topic string.
backend/agent/researchclaw/agents/figure_agent/planner.py:156
↓ 4 callersFunction_detect_mps
Detect macOS Apple Silicon GPU (MPS).
backend/agent/researchclaw/hardware.py:172
↓ 4 callersFunction_extract_abstract
Extract abstract text from sections.
backend/agent/researchclaw/templates/converter.py:708
↓ 4 callersFunction_extract_artifact_summary
Extract a human-readable summary from an artifact file.
backend/services/agent_bridge.py:826
↓ 4 callersFunction_extract_keywords
Extract meaningful keywords from text, removing stop words. Handles mixed Chinese-English text by also extracting English tokens and
backend/agent/researchclaw/pipeline/executor.py:2005
↓ 4 callersFunction_extract_title
Extract paper title from sections or raw markdown.
backend/agent/researchclaw/templates/converter.py:660
↓ 4 callersFunction_format_cond_name
Format condition name for display: underscores → spaces, title case.
backend/agent/researchclaw/experiment/visualize.py:83
↓ 4 callersMethod_format_files
Format files for inclusion in a prompt.
backend/agent/researchclaw/pipeline/code_agent.py:1336
↓ 4 callersMethod_get_type_guidelines
Get specific guidelines for each figure type.
backend/agent/researchclaw/agents/figure_agent/nano_banana.py:258
↓ 4 callersMethod_infer_backend
Infer generation backend from figure type.
backend/agent/researchclaw/agents/figure_agent/decision.py:361
↓ 4 callersFunction_normalise_title
Lower-case, strip punctuation, collapse whitespace.
backend/agent/researchclaw/literature/search.py:297
↓ 4 callersMethod_parse_ddg_html
Parse DuckDuckGo HTML results page.
backend/agent/researchclaw/web/search.py:233
↓ 4 callersFunction_parse_exa_results
Convert an Exa SDK response into a list of ``SearchResult``.
backend/agent/researchclaw/web/exa_search.py:246
↓ 4 callersFunction_parse_figure_agent_config
(data: dict[str, Any])
backend/agent/researchclaw/config.py:727
↓ 4 callersFunction_parse_jsonl_rows
(text: str)
backend/agent/researchclaw/pipeline/executor.py:1533
↓ 4 callersFunction_parse_s2_paper
Convert a single Semantic Scholar JSON entry to a ``Paper``.
backend/agent/researchclaw/literature/semantic_scholar.py:384
↓ 4 callersFunction_parse_table_row
Parse ``| a | b | c |`` into ``['a', 'b', 'c']``.
backend/agent/researchclaw/templates/converter.py:1128
↓ 4 callersFunction_reconstruct_abstract
Reconstruct abstract from OpenAlex inverted index format.
backend/agent/researchclaw/literature/openalex_client.py:206
↓ 4 callersMethod_resolve_acpx
Resolve the acpx binary path (cached).
backend/agent/researchclaw/llm/acp_client.py:183
↓ 4 callersMethod_resolve_opencode_model
Resolve the model identifier for OpenCode CLI's ``-m`` flag. Azure OpenAI endpoints use the Responses API which many Azure deployments
backend/agent/researchclaw/pipeline/opencode_bridge.py:539
↓ 4 callersMethod_run_dedup
Reproduce IMP-15 logic from runner.py lines 486-503.
backend/agent/tests/test_v6_improvements.py:222
↓ 4 callersMethod_score_node
Score a solution node based on execution results.
backend/agent/researchclaw/pipeline/code_agent.py:1192
↓ 4 callersMethod_send_prompt
Send a prompt via acpx and return the response text. For large prompts that would exceed the OS argument-length limit (``E2BIG``), th
backend/agent/researchclaw/llm/acp_client.py:234
↓ 4 callersFunction_setup_stage_artifacts
Create typical stage-22 and stage-23 output files for testing.
backend/agent/tests/test_rc_runner.py:601
↓ 4 callersFunction_ssh_target
Build user@host string.
backend/agent/researchclaw/experiment/ssh_sandbox.py:417
↓ 4 callersMethod_strip_fences
Remove markdown code fences from LLM output.
backend/agent/researchclaw/agents/figure_agent/codegen.py:984
↓ 4 callersFunction_update_indices
Register all identifiers of *p* in the lookup dicts at *idx*.
backend/agent/researchclaw/literature/search.py:315
↓ 4 callersFunction_write_experiment_summary
(run_dir: Path, data: dict)
backend/agent/tests/test_rc_sanitization.py:19
↓ 4 callersMethodadd_artifact
(self, name: str)
backend/agent/researchclaw/pipeline/codegen/session.py:80
↓ 4 callersMethodall
(self)
backend/agent/researchclaw/pipeline/codegen/registry.py:32
↓ 4 callersMethodcheck_drive_available
Check if the Google Drive mount is accessible.
backend/agent/researchclaw/experiment/colab_sandbox.py:196
↓ 4 callersFunctioncheck_strict_quality
Check if text passes strict quality gate. Returns (passed, message). Fails if template_ratio > threshold.
backend/agent/researchclaw/quality.py:169
↓ 4 callersMethodclear
Clear cache. Returns number of entries removed.
backend/agent/researchclaw/agents/code_searcher/cache.py:79
↓ 4 callersMethodcompute_flicker_score
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:527
↓ 4 callersMethodcompute_imaging_quality_score
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:522
↓ 4 callersFunctioncount_historical_failures
Count past Stage 10 failures from stage directories and logs. Each stage directory is counted at most once, even if multiple failure indicato
backend/agent/researchclaw/pipeline/opencode_bridge.py:812
↓ 4 callersFunctiondefault_rollback_stage
Return the configured rollback target, or the previous stage.
backend/agent/researchclaw/pipeline/stages.py:230
↓ 4 callersMethodencode_images
(self, pil_images: List[Image.Image])
assets/showcase/adaptive-mrsa/codes/models.py:198
↓ 4 callersFunctionevaluate
(model, loader, use_mc=False, mc_samples=10)
assets/showcase/droput-cross-domain/codes/main.py:179
↓ 4 callersMethodevaluate
(self, samples: List[VideoSample])
assets/showcase/quantifying-hallucination/main.py:482
↓ 4 callersMethodevaluate_stage
Evaluate a stage output using majority-vote PRM scoring. Args: stage_num: Pipeline stage number (5, 9, 15, or 20). ou
backend/agent/researchclaw/metaclaw_bridge/prm_gate.py:160
↓ 4 callersMethodexecute
Execute plotting scripts and verify outputs. Context keys: scripts (list[dict]): From CodeGen — each has 'figure_id',
backend/agent/researchclaw/agents/figure_agent/renderer.py:103
↓ 4 callersFunctionexecute_pipeline
Execute pipeline stages sequentially from `from_stage` to `to_stage` (inclusive).
backend/agent/researchclaw/pipeline/runner.py:194
↓ 4 callersFunctionexecute_stage
Execute one pipeline stage, validate outputs, and apply gate logic.
backend/agent/researchclaw/pipeline/executor.py:9629
↓ 4 callersMethodgenerate
Run OpenCode to generate experiment code. Returns an OpenCodeResult with success status and generated files.
backend/agent/researchclaw/pipeline/opencode_bridge.py:701
↓ 4 callersMethodgenerate_images
(self, pipe: FluxPipeline, prompts: List[str], seed: int)
assets/showcase/reproduce-phycustom/main.py:374
↓ 4 callersFunctiongenerate_weekly_report
Generate a weekly summary report from completed pipeline runs. Scans ``run_dirs`` for ``pipeline_summary.json`` files and aggregates statisti
backend/agent/researchclaw/knowledge/base.py:213
↓ 4 callersFunctionget_style_preamble
Return the style preamble string for injection into chart scripts.
backend/agent/researchclaw/agents/figure_agent/style_config.py:146
↓ 4 callersMethodhas_stage
(self, stage: str)
backend/agent/researchclaw/prompts.py:212
↓ 4 callersMethodjson_mode
(self, stage: str)
backend/agent/researchclaw/prompts.py:181
↓ 4 callersMethodload_all
Load all lessons from disk.
backend/agent/researchclaw/evolution.py:376
↓ 4 callersFunctionmsg_feedback_ack
(message_id: str, content: str, target_layer: str = "all", plan_update: str = "")
backend/services/agent_bridge.py:954
↓ 4 callersMethodobject_tracks
(self, frames: np.ndarray)
assets/showcase/quantifying-hallucination/main.py:212
↓ 4 callersFunctionpctColor
(v: number)
frontend/src/components/ResourceMonitor.tsx:10
↓ 4 callersMethodquery_for_stage
Return the most relevant lessons for a stage, weighted by recency. Includes lessons that directly match the stage, plus high-severity
backend/agent/researchclaw/evolution.py:392
↓ 4 callersMethodrelease
(self, project_id: str)
backend/services/agent_bridge.py:752
↓ 4 callersMethodrender_footer
(self, bib_file: str = "references")
backend/agent/researchclaw/templates/conference.py:93
↓ 4 callersFunctionresolve_provider_base_url
Resolve the effective API base URL for a provider.
backend/agent/researchclaw/llm/__init__.py:37
← previousnext →201–300 of 3,044, ranked by callers