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

↓ 2 callersFunction_result_from_dict
(data: dict[str, object])
backend/agent/researchclaw/experiment/runner.py:315
↓ 2 callersMethod_result_from_exception
(exc: Exception, *, elapsed_sec: float)
backend/agent/researchclaw/experiment/sandbox.py:456
↓ 2 callersMethod_result_from_timeout
( exc: subprocess.TimeoutExpired, *, timeout_sec: int, elapsed_sec: float,
backend/agent/researchclaw/experiment/sandbox.py:436
↓ 2 callersFunction_round_raw_metrics
Round excessively precise metric values (>4 decimal places). Uses significant-figure-aware rounding so small values like learning rates (e.g.
backend/agent/researchclaw/templates/converter.py:264
↓ 2 callersMethod_run_in_sandbox
Write files to a temp directory and run in sandbox.
backend/agent/researchclaw/pipeline/code_agent.py:1294
↓ 2 callersFunction_save_project_meta
Persist project metadata so it can be recovered on restart.
backend/services/agent_bridge.py:1253
↓ 2 callersMethod_save_snapshot
Save a versioned snapshot of .py files after each write/edit. Snapshots go to workspace/.snapshots/ for post-hoc debugging — you can
backend/agent/researchclaw/pipeline/claw_engine/tools/executor.py:366
↓ 2 callersMethod_search_tavily
Search using Tavily API (installed SDK).
backend/agent/researchclaw/web/search.py:141
↓ 2 callersMethod_seed_rng
(self, seed: int, salt: str)
assets/showcase/adaptive-mrsa/codes/models.py:896
↓ 2 callersMethod_semantic_overlap_from_names
(self, names: List[str])
assets/showcase/adaptive-mrsa/codes/models.py:63
↓ 2 callersFunction_signature_from_args
Extract a human-readable signature from a function AST node.
backend/agent/researchclaw/utils/codebase_manifest.py:17
↓ 2 callersMethod_simulate_logs
(self)
assets/showcase/adaptive-mrsa/codes/models.py:496
↓ 2 callersFunction_slugify
Turn arbitrary text into a filesystem-safe slug.
backend/services/agent_bridge.py:1783
↓ 2 callersMethod_stream_read
Send a streaming request and reassemble into a standard response dict.
backend/agent/researchclaw/llm/client.py:344
↓ 2 callersMethod_strip_fences
Remove markdown code fences if present.
backend/agent/researchclaw/agents/benchmark_agent/acquirer.py:213
↓ 2 callersMethod_submit_and_wait
Submit an experiment task and wait for the Colab worker to complete it. Protocol: 1. Copy experiment files to ``pending/<task_id>/`
backend/agent/researchclaw/experiment/colab_sandbox.py:240
↓ 2 callersFunction_sync_completed_stages
Mark all stages from layer_range[0] to done_up_to as completed, emit events for new ones.
backend/services/agent_bridge.py:963
↓ 2 callersFunction_synthesize_perspectives
Synthesize multiple perspective outputs into a unified result.
backend/agent/researchclaw/pipeline/executor.py:3096
↓ 2 callersFunction_to_text
(value: str | bytes | None)
backend/agent/researchclaw/experiment/sandbox.py:67
↓ 2 callersFunction_trigger_cross_project_discussion
Launch a discussion between two agents from different projects.
backend/services/agent_bridge.py:2349
↓ 2 callersFunction_trigger_discussion
Launch the discussion runner when all agents in a group have completed S7.
backend/services/agent_bridge.py:2291
↓ 2 callersMethod_truncate
(text: str, max_chars: int = MAX_RESULT_CHARS)
backend/agent/researchclaw/pipeline/claw_engine/tools/executor.py:388
↓ 2 callersFunction_words
(t: str)
backend/agent/researchclaw/literature/verify.py:162
↓ 2 callersFunction_write_acp_config
(path: Path)
backend/agent/tests/test_rc_health.py:474
↓ 2 callersFunction_write_jsonl
(path: Path, rows: list[dict[str, Any]])
backend/agent/researchclaw/pipeline/executor.py:1545
↓ 2 callersFunction_write_skill
Write a single skill to disk as a SKILL.md file.
backend/agent/researchclaw/metaclaw_bridge/lesson_to_skill.py:109
↓ 2 callersFunction_write_stage_meta
( stage_dir: Path, stage: Stage, run_id: str, result: StageResult )
backend/agent/researchclaw/pipeline/executor.py:316
↓ 2 callersMethodaggregate_occlusion_debt
(self, iou: float, identity_similarity: float, trajectory_continuity: float, tracker_reliability: float)
assets/showcase/quantifying-hallucination/main.py:693
↓ 2 callersMethodannotation_plan
(self)
assets/showcase/quantifying-hallucination/main.py:185
↓ 2 callersMethodavailable_count
(self)
backend/services/agent_bridge.py:735
↓ 2 callersFunctionbootstrap_ci
(values: np.ndarray, n_boot: int = 1000)
assets/showcase/adaptive-mrsa/codes/models.py:1044
↓ 2 callersFunctionbroadcast
(state: BridgeState, messages: list[dict])
backend/services/agent_bridge.py:2834
↓ 2 callersFunctionbuild_conditions
()
assets/showcase/droput-cross-domain/codes/main.py:374
↓ 2 callersMethodbuild_intervention_pairs
(self, concept: ConceptRecord)
assets/showcase/reproduce-phycustom/main.py:305
↓ 2 callersMethodbuild_occlusion_intervention_pairs
(self, sample: VideoSample, occlusion_len: int)
assets/showcase/quantifying-hallucination/main.py:662
↓ 2 callersFunctioncache_stats
Return cache statistics.
backend/agent/researchclaw/literature/cache.py:132
↓ 2 callersMethodcan_allocate
(self)
backend/services/agent_bridge.py:738
↓ 2 callersMethodcheck
Check permission. Returns None if allowed, error string if denied. Write and read restrictions are relaxed — only dangerous bash comm
backend/agent/researchclaw/pipeline/claw_engine/tools/permissions.py:63
↓ 2 callersFunctioncheck_api_correctness
Detect common API misuse patterns. Catches: - np.erf() (should be scipy.special.erf) - nn.Linear/nn.Conv2d inside forward() (unregistered
backend/agent/researchclaw/experiment/validator.py:912
↓ 2 callersMethodcheck_available
(self)
backend/agent/researchclaw/pipeline/openhands_bridge.py:174
↓ 2 callersFunctioncheck_class_quality
Analyze class implementations across all experiment files. Detects: - Empty or trivial class inheritance (class B(A): pass) - Classes wit
backend/agent/researchclaw/experiment/validator.py:554
↓ 2 callersFunctioncheck_variable_scoping
Detect common variable scoping bugs in experiment code. Catches the pattern where a variable is defined inside an if-branch but used outside
backend/agent/researchclaw/experiment/validator.py:755
↓ 2 callersFunctionclear_cache
Remove all cache files. Return count of files deleted.
backend/agent/researchclaw/literature/cache.py:122
↓ 2 callersMethodcollect_attention_logs
(self)
assets/showcase/adaptive-mrsa/codes/models.py:257
↓ 2 callersMethodcollect_component_metrics
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:815
↓ 2 callersMethodcombine_short_and_long_horizon_terms
(self, sample: VideoSample, weights: np.ndarray)
assets/showcase/quantifying-hallucination/main.py:946
↓ 2 callersMethodcommit_experiment
(self, run_id: str, metrics: dict[str, object], description: str)
backend/agent/researchclaw/experiment/runner.py:100
↓ 2 callersFunctioncompile_latex
Compile *tex_path* with pdflatex, auto-fixing common errors. Parameters ---------- tex_path: Path to the ``.tex`` file. Must be
backend/agent/researchclaw/templates/compiler.py:37
↓ 2 callersMethodcompute_critical_transition_score
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:761
↓ 2 callersMethodcompute_leakage_penalty
(self, base_embedding: torch.Tensor, base_prompt: str, leakage_prompt: str)
assets/showcase/reproduce-phycustom/main.py:399
↓ 2 callersMethodcompute_reappearance_iou
(self, pre: np.ndarray, post: np.ndarray)
assets/showcase/quantifying-hallucination/main.py:673
↓ 2 callersMethodcompute_region_conflict_map
(self)
assets/showcase/adaptive-mrsa/codes/models.py:424
↓ 2 callersMethodcompute_skill_stats
Compute success rate per skill across all recorded runs. Returns: Dict mapping skill_name to {total, successes, success_rate}.
backend/agent/researchclaw/metaclaw_bridge/skill_feedback.py:71
↓ 2 callersFunctioncompute_target_velocity
(pipe, latents, t_tensor, context_pos, context_neg)
assets/showcase/flowedit-wan21-t2v/codes/main.py:356
↓ 2 callersMethodcompute_variance_score
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:607
↓ 2 callersFunctionconnect
()
frontend/src/App.tsx:169
↓ 2 callersMethodconstruct_prompt_swaps
(self, concept: ConceptRecord)
assets/showcase/reproduce-phycustom/main.py:320
↓ 2 callersMethodcrawl_sync
Synchronous crawl — tries Crawl4AI via asyncio.run, falls back to urllib.
backend/agent/researchclaw/web/crawler.py:84
↓ 2 callersFunctioncreate_agent
(state: BridgeState, name: str, layer: str)
backend/services/agent_bridge.py:1070
↓ 2 callersMethoddecode_video
(self, path: Path, max_frames: int)
assets/showcase/quantifying-hallucination/main.py:267
↓ 2 callersMethoddeliverables
(self)
assets/showcase/quantifying-hallucination/main.py:149
↓ 2 callersFunctiondetect_domain_id
Quick keyword-only detection that returns a domain_id string. Useful for lightweight checks where a full profile isn't needed.
backend/agent/researchclaw/domains/detector.py:469
↓ 2 callersMethodelapsed_sec
(self)
backend/agent/researchclaw/pipeline/codegen/session.py:84
↓ 2 callersMethodencode_frames_batch
(self, frames: np.ndarray)
assets/showcase/quantifying-hallucination/main.py:415
↓ 2 callersMethodestimate_prompt_ambiguity
(self, prompt: str)
assets/showcase/quantifying-hallucination/main.py:208
↓ 2 callersMethodexecute
( self, stage_dir: Path, run_dir: Path, config: RCConfig, adapters: Ad
backend/agent/researchclaw/pipeline/codegen/runtime.py:359
↓ 2 callersMethodexecute
Validate all generated code artifacts. Context keys: acquisition (dict): Output from AcquirerAgent
backend/agent/researchclaw/agents/benchmark_agent/validator.py:141
↓ 2 callersMethodexecute
Generate a figure plan from experiment results. Context keys: experiment_results (dict): Parsed results.json / experiment_summary
backend/agent/researchclaw/agents/figure_agent/planner.py:105
↓ 2 callersMethodexecute
Generate figure manifest and markdown references. Context keys: rendered (list[dict]): Successfully rendered figures with
backend/agent/researchclaw/agents/figure_agent/integrator.py:47
↓ 2 callersMethodextract_from_url
Download a PDF from URL and extract text.
backend/agent/researchclaw/web/pdf_extractor.py:133
↓ 2 callersFunctionextract_patterns
Extract code patterns from reference snippets. Parameters ---------- code_snippets : list[str] Code content from GitHub repos.
backend/agent/researchclaw/agents/code_searcher/pattern_extractor.py:95
↓ 2 callersMethodfeature_vector
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:557
↓ 2 callersMethodfinalize
Write results.json with all reported metrics and partial results.
backend/agent/researchclaw/experiment/harness_template.py:87
↓ 2 callersMethodfinalize
Write results.json with all reported metrics and partial results.
assets/showcase/flowedit-wan21-t2v/codes/experiment_harness.py:87
↓ 2 callersMethodfit_latent_factor_model
(self, x: torch.Tensor)
assets/showcase/quantifying-hallucination/main.py:830
↓ 2 callersMethodfit_track_specific_weights
(self, samples: List[VideoSample])
assets/showcase/quantifying-hallucination/main.py:930
↓ 2 callersFunctionformat_writing_tips
Format writing tips as a prompt-injectable string. Parameters ---------- categories: Subset of tip categories to include. If *Non
backend/agent/researchclaw/writing_guide.py:56
↓ 2 callersMethodfrom_cache_dict
Deserialize from cache.
backend/agent/researchclaw/agents/code_searcher/agent.py:69
↓ 2 callersMethodfuse_with_difficulty_controls
(self, critical_transition_score: torch.Tensor, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:771
↓ 2 callersFunctiongenerate_search_queries
Generate search queries for GitHub code search. If no LLM is provided, generates queries from topic keywords and library names using heuristi
backend/agent/researchclaw/agents/code_searcher/query_gen.py:41
↓ 2 callersFunctionget_accelerator_stats
()
backend/services/resource_monitor.py:117
↓ 2 callersMethodget_chart_files
Return list of chart filenames from manifest.
backend/agent/researchclaw/agents/figure_agent/orchestrator.py:112
↓ 2 callersFunctionget_cifar10_loaders
(seed, batch_size=128, num_workers=8, val_fraction=0.1)
assets/showcase/droput-cross-domain/codes/main.py:80
↓ 2 callersMethodget_experiment_design_blocks
(self, ctx)
backend/agent/tests/test_prompt_adapter.py:263
↓ 2 callersMethodget_file_content
Get the content of a file from a repository. Parameters ---------- repo_full_name : str Repository in "owner/repo
backend/agent/researchclaw/agents/code_searcher/github_client.py:224
↓ 2 callersMethodget_headers
Return HTTP headers for MetaClaw proxy requests. Args: stage_name: Current pipeline stage (for logging/tracking). Return
backend/agent/researchclaw/metaclaw_bridge/session.py:23
↓ 2 callersMethodgrouped_by_application_setting
(self, samples: List[VideoSample])
assets/showcase/quantifying-hallucination/main.py:240
↓ 2 callersFunctionhighpass_latents
(x: torch.Tensor)
assets/showcase/flowedit-wan21-t2v/codes/main.py:344
↓ 2 callersMethodlatent_from_frames
(self, frames: np.ndarray)
assets/showcase/quantifying-hallucination/main.py:430
↓ 2 callersFunctionlinear_r2
(x: np.ndarray, y: np.ndarray)
assets/showcase/adaptive-mrsa/codes/main.py:242
↓ 2 callersFunctionlist_conferences
Return deduplicated list of canonical template names.
backend/agent/researchclaw/templates/conference.py:363
↓ 2 callersMethodload
(self)
backend/services/agent_bridge.py:608
↓ 2 callersMethodload_page
(self, idx: int)
backend/agent/tests/test_rc_executor.py:184
↓ 2 callersMethodlog_error
Log an error with optional exception details.
backend/agent/researchclaw/pipeline/codegen/session.py:62
↓ 2 callersFunctionmain
(argv: list[str] | None = None)
backend/agent/researchclaw/cli.py:509
↓ 2 callersFunctionmakeT
(locale: Locale)
frontend/src/i18n/index.ts:15
↓ 2 callersMethodnormalize_component_scores
(self, x: np.ndarray)
assets/showcase/quantifying-hallucination/main.py:622
↓ 2 callersFunctionnormalize_like
(delta: torch.Tensor, ref: torch.Tensor, eps: float = 1e-6)
assets/showcase/flowedit-wan21-t2v/codes/main.py:347
↓ 2 callersMethodnotify
(self, channel: str, subject: str, body: str)
backend/agent/researchclaw/adapters.py:27
↓ 2 callersMethodopen
(path: Path)
backend/agent/tests/test_rc_executor.py:196
← previousnext →501–600 of 3,044, ranked by callers