Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Claw-AI-Lab/Claw-AI-Lab
/ functions
Functions
3,044 in github.com/Claw-AI-Lab/Claw-AI-Lab
⨍
Functions
3,044
◇
Types & classes
556
↳
Endpoints
40
↓ 1 callers
Function
check_docker_runtime
Check Docker daemon, image availability, and optional NVIDIA runtime.
backend/agent/researchclaw/health.py:553
↓ 1 callers
Function
check_experiment_mode
(mode: str)
backend/agent/researchclaw/health.py:502
↓ 1 callers
Function
check_llm_connectivity
(base_url: str)
backend/agent/researchclaw/health.py:165
↓ 1 callers
Function
check_matplotlib
()
backend/agent/researchclaw/health.py:489
↓ 1 callers
Function
check_model_chain
Check the full model fallback chain — pass if ANY model works.
backend/agent/researchclaw/health.py:372
↓ 1 callers
Function
check_python_version
()
backend/agent/researchclaw/health.py:62
↓ 1 callers
Function
check_sandbox_python
(python_path: str)
backend/agent/researchclaw/health.py:465
↓ 1 callers
Function
check_try_except_usage
Detect try/except blocks in experiment code. Generated experiment code should let errors crash with full tracebacks so that S12 SANITY_CHECK
backend/agent/researchclaw/experiment/validator.py:1002
↓ 1 callers
Method
check_value
Return True if value is finite. Log warning and count NaN/Inf.
backend/agent/researchclaw/experiment/harness_template.py:45
↓ 1 callers
Function
check_yaml_import
()
backend/agent/researchclaw/health.py:88
↓ 1 callers
Function
cmd_doctor
(args: argparse.Namespace)
backend/agent/researchclaw/cli.py:326
↓ 1 callers
Function
cmd_init
(args: argparse.Namespace)
backend/agent/researchclaw/cli.py:362
↓ 1 callers
Function
cmd_report
(args: argparse.Namespace)
backend/agent/researchclaw/cli.py:491
↓ 1 callers
Function
cmd_run
(args: argparse.Namespace)
backend/agent/researchclaw/cli.py:150
↓ 1 callers
Function
cmd_setup
Post-install setup — check and install optional tools.
backend/agent/researchclaw/cli.py:449
↓ 1 callers
Function
cmd_validate
(args: argparse.Namespace)
backend/agent/researchclaw/cli.py:290
↓ 1 callers
Function
cohens_d_paired
(a: np.ndarray, b: np.ndarray)
assets/showcase/adaptive-mrsa/codes/models.py:1059
↓ 1 callers
Method
collect_hooked_features
(self, transformer_block_hidden_states: Dict[int, torch.Tensor])
assets/showcase/reproduce-phycustom/main.py:416
↓ 1 callers
Method
complete
(self, task_id: str)
backend/services/agent_bridge.py:636
↓ 1 callers
Method
compute_action_effect_consistency
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:878
↓ 1 callers
Method
compute_aesthetic_score
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:518
↓ 1 callers
Function
compute_case_features
( clip_engine: CLIPFeatureEngine, case: CaseRecord, device: torch.device )
assets/showcase/adaptive-mrsa/codes/models.py:743
↓ 1 callers
Method
compute_counterfactual_consistency_loss
(self, embeddings: torch.Tensor)
assets/showcase/reproduce-phycustom/main.py:405
↓ 1 callers
Method
compute_descriptor_separation_loss
(self, embeddings: torch.Tensor, margin: float)
assets/showcase/reproduce-phycustom/main.py:409
↓ 1 callers
Method
compute_diffconcept_margin_loss
(self, embeddings: torch.Tensor, margin: float)
assets/showcase/reproduce-phycustom/main.py:395
↓ 1 callers
Method
compute_diffusion_loss
(self, pipe: FluxPipeline, prompt: str, batch: Dict)
assets/showcase/reproduce-phycustom/main.py:328
↓ 1 callers
Function
compute_ece
(model, loader, n_bins=15, use_mc=False, mc_samples=10)
assets/showcase/droput-cross-domain/codes/main.py:135
↓ 1 callers
Method
compute_hidden_consistency_loss
(self, hooked_features: torch.Tensor)
assets/showcase/reproduce-phycustom/main.py:423
↓ 1 callers
Method
compute_hidden_separation_loss
(self, embeddings: torch.Tensor, margin: float)
assets/showcase/reproduce-phycustom/main.py:426
↓ 1 callers
Method
compute_identity_persistence
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:865
↓ 1 callers
Method
compute_layout_coherence
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:874
↓ 1 callers
Method
compute_local_identity_continuity
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:894
↓ 1 callers
Method
compute_local_interaction_plausibility
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:906
↓ 1 callers
Function
compute_metrics
Compute source preservation and temporal consistency metrics.
assets/showcase/flowedit-wan21-t2v/codes/main.py:528
↓ 1 callers
Function
compute_primary_metric
( source_preservation: float, temporal_consistency: float, runtime_seconds: float, diagnostics
assets/showcase/flowedit-wan21-t2v/codes/main.py:554
↓ 1 callers
Method
compute_prompt_entity_faithfulness
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:902
↓ 1 callers
Method
compute_prompt_leakage_loss
(self, embeddings: torch.Tensor, base_prompt: str, leakage_prompt: str)
assets/showcase/reproduce-phycustom/main.py:413
↓ 1 callers
Method
compute_sameconcept_pull_loss
(self, embeddings: torch.Tensor)
assets/showcase/reproduce-phycustom/main.py:392
↓ 1 callers
Method
concept_prompt_from_filename
(self, path: Path)
assets/showcase/quantifying-hallucination/main.py:278
↓ 1 callers
Function
convert_lessons_to_skills
Convert failure lessons into MetaClaw skills. Args: lessons: Lessons to convert (will be filtered by severity). llm: LLM client f
backend/agent/researchclaw/metaclaw_bridge/lesson_to_skill.py:136
↓ 1 callers
Method
core_dataset
(self)
assets/showcase/reproduce-phycustom/main.py:237
↓ 1 callers
Method
crawl
Crawl a URL and return Markdown content (async).
backend/agent/researchclaw/web/crawler.py:70
↓ 1 callers
Method
crawl_many
Crawl multiple URLs using Crawl4AI's async engine.
backend/agent/researchclaw/web/crawler.py:96
↓ 1 callers
Function
createMockMessageGenerator
(onMessage: (msg: WSMessage) => void)
frontend/src/mock.ts:96
↓ 1 callers
Method
create_experiment_branch
(self, tag: str)
backend/agent/researchclaw/experiment/runner.py:99
↓ 1 callers
Method
dataset_splits
(self, samples: List[VideoSample])
assets/showcase/quantifying-hallucination/main.py:96
↓ 1 callers
Function
decode_latents
Decode latents to video frames.
assets/showcase/flowedit-wan21-t2v/codes/main.py:508
↓ 1 callers
Method
deliverables
(self)
assets/showcase/reproduce-phycustom/main.py:209
↓ 1 callers
Method
derive_annotation_from_gt_alignment
(self, eval_frames: np.ndarray, gt_frames: np.ndarray)
assets/showcase/quantifying-hallucination/main.py:307
↓ 1 callers
Function
derive_metrics_from_generation
( clip_engine: CLIPFeatureEngine, generated_images: List[Image.Image], case: CaseRecord, case_
assets/showcase/adaptive-mrsa/codes/models.py:993
↓ 1 callers
Function
detect_frameworks
Detect which ML training frameworks are relevant based on topic/hypothesis/plan. Returns a list of framework identifiers (e.g., ["trl", "peft"]).
backend/agent/researchclaw/data/__init__.py:47
↓ 1 callers
Method
discard_experiment
(self, run_id: str, reason: str)
backend/agent/researchclaw/experiment/runner.py:101
↓ 1 callers
Method
discovery_aligned_endpoints
(self)
assets/showcase/quantifying-hallucination/main.py:167
↓ 1 callers
Method
distant_keyframe_pairs_within_clip
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:862
↓ 1 callers
Method
downstream_targets
(self)
assets/showcase/quantifying-hallucination/main.py:164
↓ 1 callers
Method
early_warning_discovery_latency
(self, samples: List[VideoSample], preds: np.ndarray)
assets/showcase/quantifying-hallucination/main.py:1015
↓ 1 callers
Function
effectiveLayer
(log: LogEntry)
frontend/src/components/LogPanel.tsx:17
↓ 1 callers
Method
efficiency_measures
(self)
assets/showcase/reproduce-phycustom/main.py:194
↓ 1 callers
Method
elapsed_sec
(self)
backend/agent/researchclaw/pipeline/claw_engine/session.py:60
↓ 1 callers
Method
encode_frames_with_clip
(self, frames: np.ndarray)
assets/showcase/quantifying-hallucination/main.py:497
↓ 1 callers
Method
encode_images
(self, pil_images: List[Image.Image])
assets/showcase/reproduce-phycustom/main.py:54
↓ 1 callers
Function
encode_prompt
Encode text prompts to embeddings.
assets/showcase/flowedit-wan21-t2v/codes/main.py:307
↓ 1 callers
Function
encode_source_video
Encode source video frames to latent space.
assets/showcase/flowedit-wan21-t2v/codes/main.py:293
↓ 1 callers
Method
encode_texts
(self, texts: List[str])
assets/showcase/adaptive-mrsa/codes/models.py:201
↓ 1 callers
Function
estimate_alignment_proxy
(latents: torch.Tensor, source_latents: torch.Tensor)
assets/showcase/flowedit-wan21-t2v/codes/main.py:375
↓ 1 callers
Method
estimate_occlusion_rate
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:548
↓ 1 callers
Method
estimate_prompt_ambiguity
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:554
↓ 1 callers
Method
estimate_scene_clutter
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:551
↓ 1 callers
Method
estimated_conditions
(self)
assets/showcase/quantifying-hallucination/main.py:138
↓ 1 callers
Method
evaluate_intervention_suite
(self, pipe: FluxPipeline, concept: ConceptRecord, method: Dict, seed: int)
assets/showcase/reproduce-phycustom/main.py:430
↓ 1 callers
Method
execute
( self, stage_dir: Path, run_dir: Path, config: RCConfig, adapters: Ad
backend/agent/researchclaw/pipeline/experiment_run/runtime.py:33
↓ 1 callers
Method
execute
( self, stage_dir: Path, run_dir: Path, config: RCConfig, adapters: Ad
backend/agent/researchclaw/pipeline/sanity_check/runtime.py:47
↓ 1 callers
Method
execute
( self, stage_dir: Path, run_dir: Path, config: RCConfig, adapters: Ad
backend/agent/researchclaw/pipeline/iterative_refine/runtime.py:33
↓ 1 callers
Method
execute
( self, stage_dir: Path, run_dir: Path, config: RCConfig, adapters: Ad
backend/agent/researchclaw/pipeline/result_analysis/runtime.py:41
↓ 1 callers
Method
execute
Execute a tool call. Returns (result_string, is_error).
backend/agent/researchclaw/pipeline/claw_engine/tools/executor.py:50
↓ 1 callers
Method
execute
Generate data loading, baseline, and download code. Context keys: topic (str): Research topic selection (dict): Outpu
backend/agent/researchclaw/agents/benchmark_agent/acquirer.py:226
↓ 1 callers
Function
execute_code_generation
Execute S11 CODE_GENERATION via the refactored codegen runtime. Drop-in replacement for the old monolithic ``_execute_code_generation()`` in
backend/agent/researchclaw/pipeline/codegen/__init__.py:25
↓ 1 callers
Function
execute_experiment_run
Execute S14 EXPERIMENT_RUN via the claw-code agentic turn loop.
backend/agent/researchclaw/pipeline/experiment_run/__init__.py:20
↓ 1 callers
Function
execute_iterative_refine
Execute S15 ITERATIVE_REFINE via the claw-code agentic turn loop.
backend/agent/researchclaw/pipeline/iterative_refine/__init__.py:21
↓ 1 callers
Function
execute_sanity_check
Execute S12 SANITY_CHECK via the claw-code agentic turn loop.
backend/agent/researchclaw/pipeline/sanity_check/__init__.py:20
↓ 1 callers
Method
experimental_grid
(self)
assets/showcase/reproduce-phycustom/main.py:188
↓ 1 callers
Method
extract_motion_magnitude
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:545
↓ 1 callers
Function
extract_paired_comparisons
R18-1: Extract PAIRED statistical comparison lines from stdout. Matches: PAIRED: <method> vs <baseline> [regime=<r>] mean_diff=<v> ... Return
backend/agent/researchclaw/experiment/sandbox.py:157
↓ 1 callers
Method
extract_refinement_latents
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:603
↓ 1 callers
Method
extract_refinement_latents
(self, sample: VideoSample)
assets/showcase/quantifying-hallucination/main.py:756
↓ 1 callers
Method
fail
(self, task_id: str)
backend/services/agent_bridge.py:644
↓ 1 callers
Method
fetch
(self, url: str)
backend/agent/researchclaw/adapters.py:39
↓ 1 callers
Method
fetch
(self, url: str)
backend/agent/researchclaw/adapters.py:86
↓ 1 callers
Method
fit
(self, dev_samples: List[VideoSample], test_samples: List[VideoSample])
assets/showcase/quantifying-hallucination/main.py:489
↓ 1 callers
Method
fit_single_score_weights
(self, dev_samples: List[VideoSample])
assets/showcase/quantifying-hallucination/main.py:625
↓ 1 callers
Function
fix_common_latex_errors
Apply automated fixes for common LaTeX errors. Returns ``(fixed_text, list_of_fix_descriptions)``.
backend/agent/researchclaw/templates/compiler.py:139
↓ 1 callers
Function
flowedit_sample
( pipe, source_latents, context_pos, context_neg, seed: int, condition: ConditionConfi
assets/showcase/flowedit-wan21-t2v/codes/main.py:382
↓ 1 callers
Method
frame_tensor
(self, frame: np.ndarray)
assets/showcase/quantifying-hallucination/main.py:406
↓ 1 callers
Method
from_dict
(d: dict)
backend/services/result_registry.py:35
↓ 1 callers
Method
from_dict
(d: dict)
backend/services/agent_bridge.py:586
↓ 1 callers
Method
from_dict
(cls, data: dict[str, object])
backend/agent/researchclaw/evolution.py:67
↓ 1 callers
Method
from_dict
(cls, data: dict[str, Any] | None)
backend/agent/researchclaw/pipeline/codegen/types.py:47
↓ 1 callers
Method
generate
Generate experiment code files. Analogous to claw-code's ``execute_tool(name, input)`` — receives typed context, produces a typed res
backend/agent/researchclaw/pipeline/codegen/strategies/base.py:34
↓ 1 callers
Method
generate
( self, ctx: CodegenContext, config: RCConfig, llm: Any, session: Code
backend/agent/researchclaw/pipeline/codegen/strategies/fallback.py:31
↓ 1 callers
Method
generate
(self, case: CaseRecord, condition_obj: AdaptiveMRSAWrapper, seed: int, num_images: int = 2)
assets/showcase/adaptive-mrsa/codes/models.py:976
← previous
next →
1,001–1,100 of 3,044, ranked by callers