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_llm_generate_latex
Generate LaTeX TikZ/PGFPlots code for a figure. This produces code that compiles directly in a LaTeX document that includes ``\\usepa
backend/agent/researchclaw/agents/figure_agent/codegen.py:915
↓ 1 callersMethod_llm_generate_script
Generate a plotting script using LLM.
backend/agent/researchclaw/agents/figure_agent/codegen.py:814
↓ 1 callersMethod_llm_review
Ask LLM to review generated code for common pitfalls.
backend/agent/researchclaw/agents/benchmark_agent/validator.py:94
↓ 1 callersMethod_llm_suggest_benchmarks
Ask LLM to suggest benchmarks and baselines when APIs unavailable.
backend/agent/researchclaw/agents/benchmark_agent/surveyor.py:282
↓ 1 callersMethod_load
(self)
backend/services/result_registry.py:62
↓ 1 callersFunction_load_all
Load and cache the seminal papers list.
backend/agent/researchclaw/data/__init__.py:102
↓ 1 callersMethod_load_baseline_results
Load results.json from the most recent experiment run stage.
backend/agent/researchclaw/pipeline/iterative_refine/runtime.py:248
↓ 1 callersFunction_load_human_feedback
Load pending human feedback from ``run_dir/human_feedback.jsonl``. Reads all feedback entries, formats them chronologically, and marks them a
backend/agent/researchclaw/pipeline/executor.py:515
↓ 1 callersFunction_load_json_mapping
(content: str)
backend/agent/researchclaw/health.py:286
↓ 1 callersMethod_load_knowledge
Load the local benchmark knowledge base.
backend/agent/researchclaw/agents/benchmark_agent/surveyor.py:118
↓ 1 callersMethod_load_overrides
(self, path: Path)
backend/agent/researchclaw/prompts.py:109
↓ 1 callersMethod_load_plan_summary
Load experiment plan summary from prior stages.
backend/agent/researchclaw/pipeline/sanity_check/runtime.py:272
↓ 1 callersMethod_load_plan_summary
(run_dir: Path)
backend/agent/researchclaw/pipeline/iterative_refine/runtime.py:263
↓ 1 callersFunction_load_profile
Load a single YAML profile into a DomainProfile.
backend/agent/researchclaw/domains/detector.py:121
↓ 1 callersMethod_load_sanity_results
(run_dir: Path)
backend/agent/researchclaw/pipeline/experiment_run/runtime.py:319
↓ 1 callersFunction_load_yaml_object
(content: str)
backend/agent/researchclaw/health.py:282
↓ 1 callersFunction_make_bullets
Generate bullet-point text of approximately *word_count* words.
backend/agent/tests/test_rc_executor.py:3225
↓ 1 callersFunction_make_comparative_prose
Generate related-work style prose with comparative language.
backend/agent/tests/test_rc_executor.py:3232
↓ 1 callersFunction_make_process_request
Create HTTP request handler for file downloads.
backend/services/agent_bridge.py:3305
↓ 1 callersFunction_make_results_prose
Generate results prose with statistical measures.
backend/agent/tests/test_rc_executor.py:3245
↓ 1 callersMethod_mask_overlap_score
(self)
assets/showcase/adaptive-mrsa/codes/models.py:264
↓ 1 callersMethod_messages_to_prompt
Flatten a chat-messages list into a single text prompt. Preserves role labels so the agent can distinguish context.
backend/agent/researchclaw/llm/acp_client.py:375
↓ 1 callersFunction_metaclaw_post_pipeline
MetaClaw bridge: post-pipeline hook. 1. Convert high-severity lessons into MetaClaw skills. 2. Record skill effectiveness feedback. 3. Si
backend/agent/researchclaw/pipeline/runner.py:1012
↓ 1 callersMethod_mock_github
Create a mock GitHub client.
backend/agent/tests/test_code_searcher.py:300
↓ 1 callersMethod_next_script_path
(self)
backend/agent/researchclaw/experiment/sandbox.py:403
↓ 1 callersMethod_normalize_domain_hints
Map upstream domain profiles to benchmark-knowledge domains.
backend/agent/researchclaw/agents/benchmark_agent/surveyor.py:153
↓ 1 callersMethod_normalize_tool_params
Map common parameter name aliases to canonical names.
backend/agent/researchclaw/pipeline/claw_engine/turn_loop.py:538
↓ 1 callersMethod_normalize_tool_params
Map common parameter name aliases to canonical names.
backend/agent/researchclaw/pipeline/codegen/turn_loop.py:625
↓ 1 callersFunction_on_discussion_s8_done
Handle S8 completion — wait for all agents, then pick the best hypothesis and create only ONE downstream task to avoid duplicate experiments.
backend/services/agent_bridge.py:2669
↓ 1 callersFunction_on_idea_factory_done
Handle idea factory run completion: extract hypotheses, push to idea pool + L2 queue.
backend/services/agent_bridge.py:2174
↓ 1 callersFunction_on_idea_factory_s7_done
Handle idea factory S7-only completion: enter discussion flow.
backend/services/agent_bridge.py:2262
↓ 1 callersMethod_output_format
(self)
backend/agent/researchclaw/domains/adapters/economics.py:94
↓ 1 callersMethod_output_format
(self, paradigm: str)
backend/agent/researchclaw/domains/adapters/math.py:75
↓ 1 callersMethod_output_format
(self, paradigm: str)
backend/agent/researchclaw/domains/adapters/physics.py:112
↓ 1 callersMethod_output_format_guidance
(self)
backend/agent/researchclaw/domains/prompt_adapter.py:232
↓ 1 callersFunction_paper_section
(run_dir: Path)
backend/agent/researchclaw/report.py:68
↓ 1 callersMethod_parse_blueprint
Parse blueprint YAML into a structured dict.
backend/agent/researchclaw/pipeline/code_agent.py:377
↓ 1 callersFunction_parse_code_agent_config
(data: dict[str, Any])
backend/agent/researchclaw/config.py:750
↓ 1 callersMethod_parse_csv
Parse CSV results (one row per condition/seed/metric).
backend/agent/researchclaw/experiment/metrics.py:209
↓ 1 callersFunction_parse_decision
Extract PROCEED/PIVOT/REFINE from decision text. Looks for the first standalone keyword on its own line after a ``## Decision`` heading. Fal
backend/agent/researchclaw/pipeline/executor.py:4835
↓ 1 callersMethod_parse_error_location
Parse Python traceback to find failing file and line. Returns (filename, line_number, error_message) or None.
backend/agent/researchclaw/pipeline/code_agent.py:969
↓ 1 callersFunction_parse_experiment_config
(data: dict[str, Any])
backend/agent/researchclaw/config.py:631
↓ 1 callersMethod_parse_experiment_log_line
(line: str)
backend/agent/researchclaw/experiment/git_manager.py:137
↓ 1 callersFunction_parse_file
Parse a single Python file and extract its API surface.
backend/agent/researchclaw/utils/codebase_manifest.py:72
↓ 1 callersMethod_parse_json
Parse structured JSON results.
backend/agent/researchclaw/experiment/metrics.py:155
↓ 1 callersMethod_parse_json
Best-effort JSON extraction from LLM response. BUG-17: Always returns ``dict | None`` — never a bare string or list, which would caus
backend/agent/researchclaw/pipeline/code_agent.py:1344
↓ 1 callersFunction_parse_justification_from_excerpt
Extract the Justification/Rationale section from LLM decision text.
backend/agent/researchclaw/evolution.py:237
↓ 1 callersFunction_parse_llm_config
(data: dict[str, Any])
backend/agent/researchclaw/config.py:606
↓ 1 callersFunction_parse_log
Parse pdflatex log output for errors and warnings.
backend/agent/researchclaw/templates/compiler.py:209
↓ 1 callersFunction_parse_metaclaw_bridge_config
(data: dict[str, Any])
backend/agent/researchclaw/config.py:787
↓ 1 callersFunction_parse_openalex_work
Convert a single OpenAlex work JSON to a ``Paper``.
backend/agent/researchclaw/literature/openalex_client.py:219
↓ 1 callersMethod_parse_response
( self, data: dict[str, Any], )
backend/agent/researchclaw/pipeline/claw_engine/turn_loop.py:464
↓ 1 callersMethod_parse_response
Extract text content and tool_use calls from API response. Falls back to parsing JSON tool calls from text content when the structure
backend/agent/researchclaw/pipeline/codegen/turn_loop.py:539
↓ 1 callersFunction_passthrough_agent
For passthrough layers (e.g. coding): read existing artifacts, mark done immediately.
backend/services/agent_bridge.py:1106
↓ 1 callersMethod_phase1_blueprint
Generate a deep implementation blueprint. Returns (raw_yaml_str, parsed_blueprint_dict_or_None).
backend/agent/researchclaw/pipeline/code_agent.py:292
↓ 1 callersMethod_phase2_generate_and_fix
Generate code in single shot, then iteratively fix via sandbox.
backend/agent/researchclaw/pipeline/code_agent.py:835
↓ 1 callersMethod_phase2_sequential_generate
Generate files one-by-one following blueprint dependency order.
backend/agent/researchclaw/pipeline/code_agent.py:403
↓ 1 callersMethod_phase3_tree_search
Explore multiple candidate solutions via tree search.
backend/agent/researchclaw/pipeline/code_agent.py:1090
↓ 1 callersMethod_phase4_review
Reviewer agent examines code; coder fixes critical issues.
backend/agent/researchclaw/pipeline/code_agent.py:1209
↓ 1 callersFunction_poll_discussion
Check if a discussion subprocess has finished and handle completion.
backend/services/agent_bridge.py:2469
↓ 1 callersFunction_post_with_retry
POST *url* with exponential back-off retries.
backend/agent/researchclaw/literature/semantic_scholar.py:336
↓ 1 callersMethod_prepare_fix_workspace
Prepare a workspace for Aider-based sanity fix. Copies experiment .py files, reuses GUIDANCE.md and EXPERIMENT_PLAN.yaml from the Sta
backend/agent/researchclaw/pipeline/openhands_bridge.py:949
↓ 1 callersMethod_prepare_timed_out_run
Create a prior run that timed out with no metrics.
backend/agent/tests/test_rc_executor.py:2036
↓ 1 callersMethod_prepare_workspace
( self, stage_dir: Path, topic: str, exp_plan: str, metric: str,
backend/agent/researchclaw/pipeline/openhands_bridge.py:184
↓ 1 callersMethod_prepare_workspace
( stage_dir: Path, experiment_dir: Path, run_dir: Path, config: RCConfig, )
backend/agent/researchclaw/pipeline/experiment_run/runtime.py:282
↓ 1 callersMethod_prepare_workspace
Create workspace with experiment code + symlinks to data.
backend/agent/researchclaw/pipeline/sanity_check/runtime.py:209
↓ 1 callersMethod_prepare_workspace
( stage_dir: Path, experiment_dir: Path, run_dir: Path, config: RCConfig, )
backend/agent/researchclaw/pipeline/iterative_refine/runtime.py:274
↓ 1 callersMethod_prepare_workspace
( stage_dir: Path, run_dir: Path, config: RCConfig, )
backend/agent/researchclaw/pipeline/result_analysis/runtime.py:201
↓ 1 callersMethod_prepare_workspace
Create a clean workspace with symlinks to data directories.
backend/agent/researchclaw/pipeline/codegen/strategies/claw_agent.py:178
↓ 1 callersFunction_preprocess_markdown
Clean up common LLM artifacts before parsing. 1. Strip outer fenced code blocks (e.g. triple-backtick markdown) that LLMs around the entir
backend/agent/researchclaw/templates/converter.py:290
↓ 1 callersFunction_project_instructions_section
Lightweight pointer to workspace instruction files. CODEGEN.md is generated directly in the workspace by _prepare_workspace. We only add a br
backend/agent/researchclaw/pipeline/codegen/system_prompt.py:322
↓ 1 callersMethod_rank_baselines
Sort baselines: knowledge_base first, fewer deps preferred.
backend/agent/researchclaw/agents/benchmark_agent/selector.py:115
↓ 1 callersFunction_read_cache
(title: str)
backend/agent/researchclaw/literature/verify.py:541
↓ 1 callersFunction_read_figure_manifest
Read ``figure_manifest.json`` from stage-16/charts/ (or stage-14). Returns ``{filename: metadata_dict}`` for each chart entry.
backend/agent/researchclaw/pipeline/executor.py:5855
↓ 1 callersMethod_read_file
(self, inp: dict[str, Any])
backend/agent/researchclaw/pipeline/claw_engine/tools/executor.py:133
↓ 1 callersFunction_read_pivot_count
Read how many PIVOT/REFINE decisions have been made so far.
backend/agent/researchclaw/pipeline/runner.py:812
↓ 1 callersFunction_read_response_bytes
(response: object)
backend/agent/researchclaw/health.py:265
↓ 1 callersFunction_read_synthesis
(stage_dir: Path)
backend/services/discussion_runner.py:33
↓ 1 callersFunction_record_decision_history
Append a decision event to the history log.
backend/agent/researchclaw/pipeline/runner.py:826
↓ 1 callersFunction_refine_result
(stage: Stage)
backend/agent/tests/test_rc_runner.py:459
↓ 1 callersFunction_remove_citations_from_text
Remove \\cite{key} and [key] references for specified citation keys.
backend/agent/researchclaw/pipeline/executor.py:9382
↓ 1 callersMethod_remove_container
(name: str)
backend/agent/researchclaw/experiment/docker_sandbox.py:556
↓ 1 callersMethod_render_authors
(self, authors: str)
backend/agent/researchclaw/templates/conference.py:115
↓ 1 callersFunction_render_code_block
Render a fenced code block as a LaTeX environment. IMP-28: Detects pseudocode blocks (language hint 'algorithm' / 'pseudocode', or 3+ algorit
backend/agent/researchclaw/templates/converter.py:1191
↓ 1 callersMethod_render_one
Render a single figure script.
backend/agent/researchclaw/agents/figure_agent/renderer.py:157
↓ 1 callersMethod_repair_critical_issues
Ask LLM to fix critical validation issues.
backend/agent/researchclaw/pipeline/code_agent.py:767
↓ 1 callersFunction_request_with_retry
GET *url* with exponential back-off retries.
backend/agent/researchclaw/literature/semantic_scholar.py:220
↓ 1 callersFunction_request_with_retry
GET *url* with exponential back-off retries.
backend/agent/researchclaw/literature/openalex_client.py:126
↓ 1 callersMethod_residual_score
(self)
assets/showcase/adaptive-mrsa/codes/models.py:623
↓ 1 callersMethod_resolve_coding_llm
(llm: Any, config: RCConfig)
backend/agent/researchclaw/pipeline/experiment_run/runtime.py:191
↓ 1 callersMethod_resolve_coding_llm
Resolve to coding model if configured.
backend/agent/researchclaw/pipeline/sanity_check/runtime.py:180
↓ 1 callersMethod_resolve_coding_llm
(llm: Any, config: RCConfig)
backend/agent/researchclaw/pipeline/iterative_refine/runtime.py:196
↓ 1 callersMethod_resolve_coding_llm
(llm: Any, config: RCConfig)
backend/agent/researchclaw/pipeline/result_analysis/runtime.py:185
↓ 1 callersMethod_resolve_coding_llm
(llm: Any | None, config: RCConfig)
backend/agent/researchclaw/pipeline/codegen/runtime.py:508
↓ 1 callersMethod_resolve_llm_config
Get the LLM config (may have coding_model override already applied).
backend/agent/researchclaw/pipeline/codegen/strategies/claw_agent.py:174
↓ 1 callersMethod_resolve_selection
Resolve LLM-selected names back to full benchmark/baseline dicts.
backend/agent/researchclaw/agents/benchmark_agent/selector.py:182
↓ 1 callersFunction_resolve_user_reference
Resolve a user-provided reference string to a candidate dict. Accepts arXiv IDs, arXiv URLs, local PDF paths, or plain titles. Attempts arXiv
backend/agent/researchclaw/pipeline/executor.py:2302
↓ 1 callersFunction_restart_project
Restart a project from scratch: stop agents, clear checkpoint, re-submit.
backend/services/agent_bridge.py:366
↓ 1 callersFunction_review_compiled_pdf
Multi-dimensional LLM review of compiled paper (AI-Scientist style). Scores the paper on 7 academic review dimensions (1-10 each), identifies
backend/agent/researchclaw/pipeline/executor.py:6255
↓ 1 callersMethod_review_figure
Review a single rendered figure on three dimensions.
backend/agent/researchclaw/agents/figure_agent/critic.py:116
← previousnext →801–900 of 3,044, ranked by callers