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
Function
test_check_sandbox_python_exists
()
backend/agent/tests/test_rc_health.py:237
Function
test_check_sandbox_python_missing
()
backend/agent/tests/test_rc_health.py:246
Function
test_check_yaml_import_fail
()
backend/agent/tests/test_rc_health.py:85
Function
test_check_yaml_import_pass
()
backend/agent/tests/test_rc_health.py:79
Method
test_chemistry_full_pipeline
Chemistry: detect → adapter → PySCF guidance.
backend/agent/tests/test_universal_codegen_integration.py:85
Method
test_chemistry_keywords
(self)
backend/agent/tests/test_domain_detector.py:119
Method
test_citation_classified_as_literature
(self)
backend/agent/tests/test_rc_evolution.py:60
Method
test_citation_verify_is_critical
(self)
backend/agent/tests/test_rc_checkpoint.py:69
Method
test_citation_verify_ttl_is_permanent
(self)
backend/agent/tests/test_rc_literature.py:805
Method
test_cite_key_format
(self)
backend/agent/tests/test_rc_literature.py:134
Method
test_cite_key_no_authors
(self)
backend/agent/tests/test_rc_literature.py:139
Method
test_cite_key_no_year
(self)
backend/agent/tests/test_rc_literature.py:143
Method
test_cite_preserved
(self)
backend/agent/tests/test_rc_templates.py:287
Method
test_clean_draft_no_warnings
Balanced prose draft produces zero warnings.
backend/agent/tests/test_rc_executor.py:3297
Method
test_clean_exit_no_fail_signal_marks_completed
Exit code 0 + valid metrics + no FAIL signal → status='completed'.
backend/agent/tests/test_rc_executor.py:2728
Method
test_cleans_multi_cite_comma
(self)
backend/agent/tests/test_rc_executor.py:1613
Method
test_clear_all
(self, tmp_path)
backend/agent/tests/test_code_searcher.py:169
Method
test_clear_domain
(self, tmp_path)
backend/agent/tests/test_code_searcher.py:158
Method
test_clear_empty
(self, tmp_path)
backend/agent/tests/test_rc_cache.py:81
Method
test_clear_removes_all
(self, tmp_path)
backend/agent/tests/test_rc_cache.py:74
Method
test_closed_tags_removed
(self)
backend/agent/tests/test_decision_agent.py:513
Function
test_cmd_init_creates_config
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str] )
backend/agent/tests/test_rc_cli.py:229
Function
test_cmd_init_force_overwrites
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
backend/agent/tests/test_rc_cli.py:259
Function
test_cmd_init_refuses_overwrite
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str] )
backend/agent/tests/test_rc_cli.py:246
Function
test_cmd_run_missing_config_returns_one
( tmp_path: Path, capsys: pytest.CaptureFixture[str] )
backend/agent/tests/test_rc_cli.py:63
Function
test_cmd_run_missing_config_shows_init_hint
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str] )
backend/agent/tests/test_rc_cli.py:272
Function
test_cmd_validate_missing_config_returns_one
( tmp_path: Path, capsys: pytest.CaptureFixture[str] )
backend/agent/tests/test_rc_cli.py:81
Function
test_cmd_validate_valid_config_returns_zero
( tmp_path: Path, capsys: pytest.CaptureFixture[str] )
backend/agent/tests/test_rc_cli.py:92
Method
test_code_agent_accepts_domain_profile
CodeAgent should accept domain_profile and code_search_result.
backend/agent/tests/test_universal_codegen_integration.py:297
Method
test_code_agent_config_from_dict
(self, tmp_path: Path)
backend/agent/tests/test_code_agent.py:578
Method
test_code_agent_config_in_experiment_config
(self)
backend/agent/tests/test_code_agent.py:570
Method
test_code_agent_ml_domain_no_extra_context
ML domain should add minimal extra context (preserve existing behavior).
backend/agent/tests/test_universal_codegen_integration.py:326
Method
test_code_block
(self)
backend/agent/tests/test_rc_templates.py:495
Method
test_code_exec_fix_prompt_exists
(self, pm: PromptManager)
backend/agent/tests/test_code_agent.py:641
Method
test_code_generation_prompt_has_multi_condition_block
The code_generation prompt should contain multi-condition instructions.
backend/agent/tests/test_rc_executor.py:2869
Method
test_code_patterns_has_content
(self)
backend/agent/tests/test_code_searcher.py:115
Method
test_code_patterns_to_prompt
(self)
backend/agent/tests/test_code_searcher.py:104
Method
test_code_reviewer_prompt_exists
(self, pm: PromptManager)
backend/agent/tests/test_code_agent.py:652
Method
test_code_search_result_in_blueprint
Code search results should be formattable as prompt context.
backend/agent/tests/test_universal_codegen_integration.py:258
Method
test_code_snippet
(self)
backend/agent/tests/test_code_searcher.py:237
Method
test_code_types
(self)
backend/agent/tests/test_decision_agent.py:217
Function
test_code_validation_errors_and_warnings_filter_correctly
()
backend/agent/tests/test_rc_validator.py:314
Function
test_code_validation_ok_false_when_error_present
()
backend/agent/tests/test_rc_validator.py:306
Function
test_code_validation_ok_true_when_no_errors_present
()
backend/agent/tests/test_rc_validator.py:298
Function
test_code_validation_summary_for_errors_and_warnings
()
backend/agent/tests/test_rc_validator.py:345
Function
test_code_validation_summary_for_errors_only
()
backend/agent/tests/test_rc_validator.py:329
Function
test_code_validation_summary_for_no_issues
()
backend/agent/tests/test_rc_validator.py:325
Function
test_code_validation_summary_for_warnings_only
()
backend/agent/tests/test_rc_validator.py:337
Method
test_colab_drive_checks_path
(self, tmp_path: Path)
backend/agent/tests/test_ssh_and_colab_sandbox.py:388
Method
test_colab_drive_creates_sandbox
(self, tmp_path: Path)
backend/agent/tests/test_ssh_and_colab_sandbox.py:396
Method
test_colab_drive_requires_root
(self, tmp_path: Path)
backend/agent/tests/test_ssh_and_colab_sandbox.py:380
Method
test_collapses_whitespace
(self)
backend/agent/tests/test_web_crawler.py:74
Method
test_collect_files_flattens_subdirectories
Files in subdirs should be flattened to basenames (BUG-D fix).
backend/agent/tests/test_opencode_bridge.py:285
Method
test_collect_files_ignores_pycache
(self, tmp_path)
backend/agent/tests/test_opencode_bridge.py:266
Method
test_collect_files_includes_requirements
(self, tmp_path)
backend/agent/tests/test_opencode_bridge.py:278
Method
test_collect_files_root_takes_priority_over_subdir
Root-level file wins when basename collides with subdir file.
backend/agent/tests/test_opencode_bridge.py:299
Method
test_combined_nan_and_stderr
(self)
backend/agent/tests/test_rc_executor.py:1546
Method
test_combines_perspectives
(self)
backend/agent/tests/test_rc_executor.py:1334
Method
test_completeness_bullet_density
A Method section full of bullet points triggers a warning.
backend/agent/tests/test_rc_templates.py:653
Method
test_completeness_section_word_count_short
A Method section with only 100 words triggers a warning.
backend/agent/tests/test_rc_templates.py:637
Method
test_compute_budget_block_exists_in_prompt_manager
(self)
backend/agent/tests/test_rc_executor.py:1879
Method
test_compute_budget_includes_nan_guard
(self)
backend/agent/tests/test_rc_executor.py:2406
Method
test_compute_budget_injected_into_code_generation
( self, tmp_path: Path, run_dir: Path, adapters: AdapterBundle )
backend/agent/tests/test_rc_executor.py:1886
Function
test_compute_stats
(tmp_path)
backend/agent/tests/test_metaclaw_bridge/test_skill_feedback.py:39
Method
test_condition_check_logic
Verify the condition `_ci_low > _mean or _ci_high < _mean` is correct. The condition should detect when the mean is OUTSIDE the CI.
backend/agent/tests/test_v6_improvements.py:417
Method
test_condition_role_values
(self)
backend/agent/tests/test_experiment_schema.py:191
Method
test_config_in_rcconfig
(self)
backend/agent/tests/test_web_integration.py:220
Method
test_constants_exist
(self)
backend/agent/tests/test_figure_agent.py:95
Method
test_contains_prohibition
(self)
backend/agent/tests/test_rc_executor.py:1207
Method
test_contains_topic
(self)
backend/agent/tests/test_rc_executor.py:1203
Method
test_contract_exists
(self)
backend/agent/tests/test_rc_citation_verify.py:599
Function
test_contract_stage_field_matches_dict_key
(stage: Stage, contract: StageContract)
backend/agent/tests/test_rc_contracts.py:23
Function
test_contract_stage_int_matches_stage_enum_value
(stage: Stage)
backend/agent/tests/test_rc_contracts.py:98
Function
test_contracts_dict_has_exactly_23_entries
()
backend/agent/tests/test_rc_contracts.py:9
Function
test_contracts_follow_stage_sequence_order
()
backend/agent/tests/test_rc_contracts.py:93
Function
test_contracts_stage13_includes_experiment_final
()
backend/agent/tests/test_rc_executor.py:1152
Function
test_contracts_stage22_includes_code_dir
()
backend/agent/tests/test_rc_executor.py:1156
Method
test_convergence_hints
(self)
backend/agent/tests/test_prompt_adapter.py:98
Method
test_convert_result
Test converting arxiv.Result to Paper via the new library.
backend/agent/tests/test_rc_literature.py:258
Method
test_converts_headings
(self)
backend/agent/tests/test_web_crawler.py:45
Method
test_converts_links
(self)
backend/agent/tests/test_web_crawler.py:58
Method
test_converts_list_items
(self)
backend/agent/tests/test_web_crawler.py:63
Method
test_converts_paragraphs
(self)
backend/agent/tests/test_web_crawler.py:52
Method
test_corrupted_cache_returns_none
(self, tmp_path)
backend/agent/tests/test_rc_cache.py:66
Method
test_counts_beast_mode_failures
(self, tmp_path)
backend/agent/tests/test_opencode_bridge.py:411
Method
test_counts_validation_failures
(self, tmp_path)
backend/agent/tests/test_opencode_bridge.py:417
Method
test_coverage_hint_injected_when_no_labels
If stdout has no 'condition=' labels, a coverage hint should be injected.
backend/agent/tests/test_rc_executor.py:2935
Method
test_cpu_only_profile
(self)
backend/agent/tests/test_rc_hardware.py:35
Method
test_cpu_only_skips_install
(self)
backend/agent/tests/test_rc_hardware.py:183
Method
test_crawl_async_urllib_fallback
When crawl4ai's browser isn't set up, async crawl falls back to urllib.
backend/agent/tests/test_web_crawler.py:144
Method
test_crawl_sync_falls_back_to_urllib
crawl_sync tries crawl4ai, then falls back to urllib.
backend/agent/tests/test_web_crawler.py:123
Method
test_crawl_urllib_success
(self, mock_urlopen)
backend/agent/tests/test_web_crawler.py:87
Method
test_crawl_urllib_truncation
(self, mock_urlopen)
backend/agent/tests/test_web_crawler.py:102
Method
test_creates_directory_if_not_exists
(self, tmp_path: Path)
backend/agent/tests/test_rc_evolution.py:291
Method
test_critical_assessment
(self)
backend/agent/tests/test_rc_novelty.py:201
Method
test_critical_stage_failure_still_aborts
(self, tmp_path: Path)
backend/agent/tests/test_rc_e2e_regression.py:282
Method
test_csv_skip_invalid
(self, parser, tmp_run_dir)
backend/agent/tests/test_metric_parser.py:157
Method
test_csv_takes_priority_over_stdout
(self, parser, tmp_run_dir)
backend/agent/tests/test_metric_parser.py:252
Method
test_curly_braces_in_code_not_substituted
(self)
backend/agent/tests/test_rc_prompts.py:44
Method
test_custom_authors
(self)
backend/agent/tests/test_rc_templates.py:471
← previous
next →
1,801–1,900 of 3,044, ranked by callers