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_resolve_config_explicit_path_no_search
()
backend/agent/tests/test_rc_cli.py:202
Function
test_resolve_config_falls_back_to_config_yaml
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
backend/agent/tests/test_rc_cli.py:184
Function
test_resolve_config_finds_arc_yaml_first
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
backend/agent/tests/test_rc_cli.py:173
Function
test_resolve_config_returns_none_when_missing
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
backend/agent/tests/test_rc_cli.py:194
Method
test_resolve_model_azure_fallback
Azure endpoint without explicit model → falls back to Anthropic (BUG-61 fix).
backend/agent/tests/test_opencode_bridge.py:241
Method
test_resolve_model_no_model_default
Empty model string → default Anthropic model.
backend/agent/tests/test_opencode_bridge.py:261
Method
test_resolve_model_preserves_explicit_prefix
Model with '/' prefix should be used as-is regardless of provider.
backend/agent/tests/test_opencode_bridge.py:251
Function
test_resolve_user_reference_accepts_local_pdf_path
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
backend/agent/tests/test_rc_executor.py:167
Function
test_resolve_user_reference_falls_back_when_local_pdf_parse_fails
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, caplog: pytest.LogCaptureFixture )
backend/agent/tests/test_rc_executor.py:211
Method
test_result_analysis_with_llm_creates_perspectives
( self, tmp_path: Path, rc_config: RCConfig, adapters: AdapterBundle )
backend/agent/tests/test_rc_executor.py:1387
Method
test_result_analysis_without_llm_no_perspectives
( self, tmp_path: Path, rc_config: RCConfig, adapters: AdapterBundle )
backend/agent/tests/test_rc_executor.py:1408
Method
test_result_with_patterns
(self)
backend/agent/tests/test_code_searcher.py:264
Function
test_resume_event_transitions_paused_to_running
()
backend/agent/tests/test_rc_stages.py:226
Method
test_resume_from_checkpoint_uses_default
(self, tmp_path: Path)
backend/agent/tests/test_rc_checkpoint.py:57
Method
test_resume_from_checkpoint_uses_next_stage
(self, tmp_path: Path)
backend/agent/tests/test_rc_checkpoint.py:60
Function
test_retry_event_transitions_failed_to_retrying
()
backend/agent/tests/test_rc_stages.py:218
Method
test_returns_canonical_names
(self)
backend/agent/tests/test_rc_templates.py:161
Method
test_returns_empty_blocks
ML adapter must return empty blocks (delegates to prompts.py).
backend/agent/tests/test_prompt_adapter.py:51
Method
test_returns_empty_when_no_artifacts
(self, tmp_path: Path)
backend/agent/tests/test_rc_executor.py:1672
Method
test_returns_empty_when_no_runs
(self, tmp_path: Path)
backend/agent/tests/test_rc_executor.py:1622
Method
test_returns_float_0_to_1
(self)
backend/agent/tests/test_rc_novelty.py:92
Method
test_returns_none_on_invalid_json
(self, run_dir: Path)
backend/agent/tests/test_rc_executor.py:1833
Method
test_returns_none_when_missing
(self, run_dir: Path)
backend/agent/tests/test_rc_executor.py:1830
Method
test_review_approves_on_first_round
( self, stage_dir: Path, pm: PromptManager, )
backend/agent/tests/test_code_agent.py:348
Method
test_review_disabled
( self, stage_dir: Path, pm: PromptManager, )
backend/agent/tests/test_code_agent.py:398
Method
test_review_failed_render
(self)
backend/agent/tests/test_figure_agent.py:611
Method
test_review_triggers_fix_on_critical_issues
( self, stage_dir: Path, pm: PromptManager, )
backend/agent/tests/test_code_agent.py:369
Method
test_robotics_keywords
(self)
backend/agent/tests/test_domain_detector.py:137
Method
test_roundtrip_legacy
Test that converting to legacy and back preserves structure.
backend/agent/tests/test_experiment_schema.py:158
Function
test_run_doctor_acp_includes_agent_check
(tmp_path: Path)
backend/agent/tests/test_rc_health.py:537
Function
test_run_doctor_acp_skips_http_checks
(tmp_path: Path)
backend/agent/tests/test_rc_health.py:496
Function
test_run_doctor_all_pass_openai
(tmp_path: Path)
backend/agent/tests/test_rc_health.py:278
Function
test_run_doctor_with_failures
(tmp_path: Path)
backend/agent/tests/test_rc_health.py:333
Function
test_run_parser_accepts_required_flags
( argv: list[str], monkeypatch: pytest.MonkeyPatch )
backend/agent/tests/test_rc_cli.py:158
Function
test_run_project_rejects_absolute_path
run_project() must reject absolute entry_point paths.
backend/agent/tests/test_rc_docker_sandbox.py:403
Method
test_run_project_rejects_absolute_path
run_project() must reject absolute entry_point paths.
backend/agent/tests/test_ssh_and_colab_sandbox.py:161
Function
test_run_project_rejects_path_traversal
run_project() must reject entry_point with '..' components.
backend/agent/tests/test_rc_docker_sandbox.py:382
Method
test_run_project_rejects_path_traversal
run_project() must reject entry_point with '..' components.
backend/agent/tests/test_ssh_and_colab_sandbox.py:141
Method
test_run_success
(self, tmp_path: Path)
backend/agent/tests/test_ssh_and_colab_sandbox.py:193
Method
test_run_upload_failure
(self, tmp_path: Path)
backend/agent/tests/test_ssh_and_colab_sandbox.py:226
Method
test_runtime_issues_detects_diverging_loss
(self)
backend/agent/tests/test_rc_executor.py:2395
Method
test_s2_429_retries_and_succeeds
(self)
backend/agent/tests/test_rc_e2e_regression.py:29
Method
test_s2_failure_does_not_block_others
When S2 fails, other sources should still return results.
backend/agent/tests/test_rc_literature.py:472
Method
test_s2_persistent_429_exhausts_retries_and_returns_empty
(self)
backend/agent/tests/test_rc_e2e_regression.py:73
Function
test_safe_filename_sanitization
(raw: str, expected: str)
backend/agent/tests/test_rc_executor.py:156
Function
test_safe_filename_truncates_to_100_chars
()
backend/agent/tests/test_rc_executor.py:160
Function
test_safe_json_loads_valid_and_invalid
(payload: str, default, expected)
backend/agent/tests/test_rc_executor.py:142
Function
test_sandbox_config_defaults_match_expected_values
()
backend/agent/tests/test_rc_config.py:250
Function
test_sandbox_result_fields
()
backend/agent/tests/test_rc_docker_sandbox.py:21
Function
test_sanitize_header_row_preserved
(run_dir: Path)
backend/agent/tests/test_rc_sanitization.py:91
Function
test_sanitize_no_experiment_summary
(run_dir: Path)
backend/agent/tests/test_rc_sanitization.py:69
Function
test_sanitize_preserves_table_structure
(run_dir: Path)
backend/agent/tests/test_rc_sanitization.py:52
Function
test_sanitize_replaces_unverified_numbers
(run_dir: Path)
backend/agent/tests/test_rc_sanitization.py:27
Function
test_sanitize_tolerance_within_1_percent
(run_dir: Path)
backend/agent/tests/test_rc_sanitization.py:76
Method
test_saves_perspective_content
(self, tmp_path: Path)
backend/agent/tests/test_rc_executor.py:1313
Method
test_score_bounded_0_to_1
(self)
backend/agent/tests/test_rc_novelty.py:196
Method
test_score_clamped_to_unit_interval
Score should never exceed 1.0 even with extreme inputs.
backend/agent/tests/test_opencode_bridge.py:105
Method
test_score_crashing_node
(self)
backend/agent/tests/test_code_agent.py:503
Method
test_score_partial_output
(self)
backend/agent/tests/test_code_agent.py:513
Method
test_score_running_node
(self)
backend/agent/tests/test_code_agent.py:492
Method
test_script_saved_for_reproducibility
(self, tmp_path)
backend/agent/tests/test_figure_agent.py:490
Method
test_search_and_extract_minimal
End-to-end test with mocked HTTP — DuckDuckGo + mocked Scholar.
backend/agent/tests/test_web_integration.py:153
Method
test_search_and_extract_with_crawling
Test with crawling enabled.
backend/agent/tests/test_web_integration.py:177
Method
test_search_arxiv_error_graceful
search_arxiv returns empty list on error, not raise.
backend/agent/tests/test_rc_literature.py:326
Method
test_search_arxiv_mock
Test search_arxiv with mocked arxiv library.
backend/agent/tests/test_rc_literature.py:287
Method
test_search_caches_successful_results
(self, tmp_path)
backend/agent/tests/test_rc_cache.py:147
Method
test_search_ddg_error_graceful
(self, mock_urlopen)
backend/agent/tests/test_web_search.py:106
Method
test_search_ddg_fallback_no_api_key
When no API key is set, uses DuckDuckGo fallback.
backend/agent/tests/test_web_search.py:92
Method
test_search_degrades_to_cache_on_api_failure
(self, tmp_path: Path)
backend/agent/tests/test_rc_e2e_regression.py:102
Method
test_search_empty_on_total_failure
(self, tmp_path: Path)
backend/agent/tests/test_rc_e2e_regression.py:141
Method
test_search_error_graceful
Search should return empty list on error, not raise.
backend/agent/tests/test_web_scholar.py:133
Method
test_search_failure_graceful
API failure should not crash — falls back to pipeline papers.
backend/agent/tests/test_rc_novelty.py:284
Method
test_search_graceful_failure
If GitHub fails, should still return empty result without crashing.
backend/agent/tests/test_code_searcher.py:364
Method
test_search_handles_sdk_error
Graceful failure when SDK raises.
backend/agent/tests/test_exa_search.py:190
Method
test_search_multi_deduplication
(self, mock_urlopen)
backend/agent/tests/test_web_search.py:142
Method
test_search_multi_deduplication
Multiple queries deduplicate by URL.
backend/agent/tests/test_exa_search.py:204
Method
test_search_papers_combines_sources
Mock both S2 and arXiv to verify combined search.
backend/agent/tests/test_rc_literature.py:435
Method
test_search_papers_multi_query
(self, monkeypatch: pytest.MonkeyPatch)
backend/agent/tests/test_rc_literature.py:505
Method
test_search_papers_unknown_source
( self, monkeypatch: pytest.MonkeyPatch )
backend/agent/tests/test_rc_literature.py:498
Method
test_search_returns_empty_when_no_key
(self)
backend/agent/tests/test_exa_search.py:144
Method
test_search_semantic_scholar_mock
Mock urllib to return sample S2 response.
backend/agent/tests/test_rc_literature.py:207
Method
test_search_semantic_scholar_network_error
Should return empty list on network error.
backend/agent/tests/test_rc_literature.py:231
Method
test_search_tavily_with_mock
Test Tavily search with mocked SDK.
backend/agent/tests/test_web_search.py:114
Method
test_search_uses_cache
(self, tmp_path)
backend/agent/tests/test_code_searcher.py:324
Method
test_search_uses_cache_on_failure
(self, tmp_path)
backend/agent/tests/test_rc_cache.py:100
Method
test_search_with_http_error
search_arxiv should return empty list on HTTPError.
backend/agent/tests/test_rc_literature.py:618
Method
test_search_with_mock_github
(self, tmp_path)
backend/agent/tests/test_code_searcher.py:345
Method
test_search_with_mocked_scholarly
Test search using mocked scholarly library.
backend/agent/tests/test_web_scholar.py:113
Method
test_search_with_mocked_sdk
Full search path with mocked Exa SDK.
backend/agent/tests/test_exa_search.py:161
Method
test_second_order
h, h/2, h/4, h/8 with error ~ h^2.
backend/agent/tests/test_convergence_evaluator.py:22
Method
test_section_ordering
(self)
backend/agent/tests/test_figure_agent.py:727
Function
test_security_config_defaults_match_expected_values
()
backend/agent/tests/test_rc_config.py:235
Method
test_security_keywords
(self)
backend/agent/tests/test_domain_detector.py:134
Method
test_select_urls_skips_pdf
(self)
backend/agent/tests/test_web_integration.py:125
Method
test_select_urls_to_crawl
(self)
backend/agent/tests/test_web_integration.py:112
Method
test_sentinel_prints_usage_on_no_args
(self)
backend/agent/tests/test_rc_sentinel.py:123
Method
test_sentinel_script_exists
(self)
backend/agent/tests/test_rc_sentinel.py:101
Method
test_sentinel_script_has_shebang
(self)
backend/agent/tests/test_rc_sentinel.py:118
Method
test_sentinel_script_is_executable
(self)
backend/agent/tests/test_rc_sentinel.py:114
Method
test_sentinel_script_is_valid_bash
(self)
backend/agent/tests/test_rc_sentinel.py:105
← previous
next →
2,701–2,800 of 3,044, ranked by callers