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

Functiontest_resolve_config_explicit_path_no_search
()
backend/agent/tests/test_rc_cli.py:202
Functiontest_resolve_config_falls_back_to_config_yaml
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
backend/agent/tests/test_rc_cli.py:184
Functiontest_resolve_config_finds_arc_yaml_first
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
backend/agent/tests/test_rc_cli.py:173
Functiontest_resolve_config_returns_none_when_missing
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
backend/agent/tests/test_rc_cli.py:194
Methodtest_resolve_model_azure_fallback
Azure endpoint without explicit model → falls back to Anthropic (BUG-61 fix).
backend/agent/tests/test_opencode_bridge.py:241
Methodtest_resolve_model_no_model_default
Empty model string → default Anthropic model.
backend/agent/tests/test_opencode_bridge.py:261
Methodtest_resolve_model_preserves_explicit_prefix
Model with '/' prefix should be used as-is regardless of provider.
backend/agent/tests/test_opencode_bridge.py:251
Functiontest_resolve_user_reference_accepts_local_pdf_path
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
backend/agent/tests/test_rc_executor.py:167
Functiontest_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
Methodtest_result_analysis_with_llm_creates_perspectives
( self, tmp_path: Path, rc_config: RCConfig, adapters: AdapterBundle )
backend/agent/tests/test_rc_executor.py:1387
Methodtest_result_analysis_without_llm_no_perspectives
( self, tmp_path: Path, rc_config: RCConfig, adapters: AdapterBundle )
backend/agent/tests/test_rc_executor.py:1408
Methodtest_result_with_patterns
(self)
backend/agent/tests/test_code_searcher.py:264
Functiontest_resume_event_transitions_paused_to_running
()
backend/agent/tests/test_rc_stages.py:226
Methodtest_resume_from_checkpoint_uses_default
(self, tmp_path: Path)
backend/agent/tests/test_rc_checkpoint.py:57
Methodtest_resume_from_checkpoint_uses_next_stage
(self, tmp_path: Path)
backend/agent/tests/test_rc_checkpoint.py:60
Functiontest_retry_event_transitions_failed_to_retrying
()
backend/agent/tests/test_rc_stages.py:218
Methodtest_returns_canonical_names
(self)
backend/agent/tests/test_rc_templates.py:161
Methodtest_returns_empty_blocks
ML adapter must return empty blocks (delegates to prompts.py).
backend/agent/tests/test_prompt_adapter.py:51
Methodtest_returns_empty_when_no_artifacts
(self, tmp_path: Path)
backend/agent/tests/test_rc_executor.py:1672
Methodtest_returns_empty_when_no_runs
(self, tmp_path: Path)
backend/agent/tests/test_rc_executor.py:1622
Methodtest_returns_float_0_to_1
(self)
backend/agent/tests/test_rc_novelty.py:92
Methodtest_returns_none_on_invalid_json
(self, run_dir: Path)
backend/agent/tests/test_rc_executor.py:1833
Methodtest_returns_none_when_missing
(self, run_dir: Path)
backend/agent/tests/test_rc_executor.py:1830
Methodtest_review_approves_on_first_round
( self, stage_dir: Path, pm: PromptManager, )
backend/agent/tests/test_code_agent.py:348
Methodtest_review_disabled
( self, stage_dir: Path, pm: PromptManager, )
backend/agent/tests/test_code_agent.py:398
Methodtest_review_failed_render
(self)
backend/agent/tests/test_figure_agent.py:611
Methodtest_review_triggers_fix_on_critical_issues
( self, stage_dir: Path, pm: PromptManager, )
backend/agent/tests/test_code_agent.py:369
Methodtest_robotics_keywords
(self)
backend/agent/tests/test_domain_detector.py:137
Methodtest_roundtrip_legacy
Test that converting to legacy and back preserves structure.
backend/agent/tests/test_experiment_schema.py:158
Functiontest_run_doctor_acp_includes_agent_check
(tmp_path: Path)
backend/agent/tests/test_rc_health.py:537
Functiontest_run_doctor_acp_skips_http_checks
(tmp_path: Path)
backend/agent/tests/test_rc_health.py:496
Functiontest_run_doctor_all_pass_openai
(tmp_path: Path)
backend/agent/tests/test_rc_health.py:278
Functiontest_run_doctor_with_failures
(tmp_path: Path)
backend/agent/tests/test_rc_health.py:333
Functiontest_run_parser_accepts_required_flags
( argv: list[str], monkeypatch: pytest.MonkeyPatch )
backend/agent/tests/test_rc_cli.py:158
Functiontest_run_project_rejects_absolute_path
run_project() must reject absolute entry_point paths.
backend/agent/tests/test_rc_docker_sandbox.py:403
Methodtest_run_project_rejects_absolute_path
run_project() must reject absolute entry_point paths.
backend/agent/tests/test_ssh_and_colab_sandbox.py:161
Functiontest_run_project_rejects_path_traversal
run_project() must reject entry_point with '..' components.
backend/agent/tests/test_rc_docker_sandbox.py:382
Methodtest_run_project_rejects_path_traversal
run_project() must reject entry_point with '..' components.
backend/agent/tests/test_ssh_and_colab_sandbox.py:141
Methodtest_run_success
(self, tmp_path: Path)
backend/agent/tests/test_ssh_and_colab_sandbox.py:193
Methodtest_run_upload_failure
(self, tmp_path: Path)
backend/agent/tests/test_ssh_and_colab_sandbox.py:226
Methodtest_runtime_issues_detects_diverging_loss
(self)
backend/agent/tests/test_rc_executor.py:2395
Methodtest_s2_429_retries_and_succeeds
(self)
backend/agent/tests/test_rc_e2e_regression.py:29
Methodtest_s2_failure_does_not_block_others
When S2 fails, other sources should still return results.
backend/agent/tests/test_rc_literature.py:472
Methodtest_s2_persistent_429_exhausts_retries_and_returns_empty
(self)
backend/agent/tests/test_rc_e2e_regression.py:73
Functiontest_safe_filename_sanitization
(raw: str, expected: str)
backend/agent/tests/test_rc_executor.py:156
Functiontest_safe_filename_truncates_to_100_chars
()
backend/agent/tests/test_rc_executor.py:160
Functiontest_safe_json_loads_valid_and_invalid
(payload: str, default, expected)
backend/agent/tests/test_rc_executor.py:142
Functiontest_sandbox_config_defaults_match_expected_values
()
backend/agent/tests/test_rc_config.py:250
Functiontest_sandbox_result_fields
()
backend/agent/tests/test_rc_docker_sandbox.py:21
Functiontest_sanitize_header_row_preserved
(run_dir: Path)
backend/agent/tests/test_rc_sanitization.py:91
Functiontest_sanitize_no_experiment_summary
(run_dir: Path)
backend/agent/tests/test_rc_sanitization.py:69
Functiontest_sanitize_preserves_table_structure
(run_dir: Path)
backend/agent/tests/test_rc_sanitization.py:52
Functiontest_sanitize_replaces_unverified_numbers
(run_dir: Path)
backend/agent/tests/test_rc_sanitization.py:27
Functiontest_sanitize_tolerance_within_1_percent
(run_dir: Path)
backend/agent/tests/test_rc_sanitization.py:76
Methodtest_saves_perspective_content
(self, tmp_path: Path)
backend/agent/tests/test_rc_executor.py:1313
Methodtest_score_bounded_0_to_1
(self)
backend/agent/tests/test_rc_novelty.py:196
Methodtest_score_clamped_to_unit_interval
Score should never exceed 1.0 even with extreme inputs.
backend/agent/tests/test_opencode_bridge.py:105
Methodtest_score_crashing_node
(self)
backend/agent/tests/test_code_agent.py:503
Methodtest_score_partial_output
(self)
backend/agent/tests/test_code_agent.py:513
Methodtest_score_running_node
(self)
backend/agent/tests/test_code_agent.py:492
Methodtest_script_saved_for_reproducibility
(self, tmp_path)
backend/agent/tests/test_figure_agent.py:490
Methodtest_search_and_extract_minimal
End-to-end test with mocked HTTP — DuckDuckGo + mocked Scholar.
backend/agent/tests/test_web_integration.py:153
Methodtest_search_and_extract_with_crawling
Test with crawling enabled.
backend/agent/tests/test_web_integration.py:177
Methodtest_search_arxiv_error_graceful
search_arxiv returns empty list on error, not raise.
backend/agent/tests/test_rc_literature.py:326
Methodtest_search_arxiv_mock
Test search_arxiv with mocked arxiv library.
backend/agent/tests/test_rc_literature.py:287
Methodtest_search_caches_successful_results
(self, tmp_path)
backend/agent/tests/test_rc_cache.py:147
Methodtest_search_ddg_error_graceful
(self, mock_urlopen)
backend/agent/tests/test_web_search.py:106
Methodtest_search_ddg_fallback_no_api_key
When no API key is set, uses DuckDuckGo fallback.
backend/agent/tests/test_web_search.py:92
Methodtest_search_degrades_to_cache_on_api_failure
(self, tmp_path: Path)
backend/agent/tests/test_rc_e2e_regression.py:102
Methodtest_search_empty_on_total_failure
(self, tmp_path: Path)
backend/agent/tests/test_rc_e2e_regression.py:141
Methodtest_search_error_graceful
Search should return empty list on error, not raise.
backend/agent/tests/test_web_scholar.py:133
Methodtest_search_failure_graceful
API failure should not crash — falls back to pipeline papers.
backend/agent/tests/test_rc_novelty.py:284
Methodtest_search_graceful_failure
If GitHub fails, should still return empty result without crashing.
backend/agent/tests/test_code_searcher.py:364
Methodtest_search_handles_sdk_error
Graceful failure when SDK raises.
backend/agent/tests/test_exa_search.py:190
Methodtest_search_multi_deduplication
(self, mock_urlopen)
backend/agent/tests/test_web_search.py:142
Methodtest_search_multi_deduplication
Multiple queries deduplicate by URL.
backend/agent/tests/test_exa_search.py:204
Methodtest_search_papers_combines_sources
Mock both S2 and arXiv to verify combined search.
backend/agent/tests/test_rc_literature.py:435
Methodtest_search_papers_multi_query
(self, monkeypatch: pytest.MonkeyPatch)
backend/agent/tests/test_rc_literature.py:505
Methodtest_search_papers_unknown_source
( self, monkeypatch: pytest.MonkeyPatch )
backend/agent/tests/test_rc_literature.py:498
Methodtest_search_returns_empty_when_no_key
(self)
backend/agent/tests/test_exa_search.py:144
Methodtest_search_semantic_scholar_mock
Mock urllib to return sample S2 response.
backend/agent/tests/test_rc_literature.py:207
Methodtest_search_semantic_scholar_network_error
Should return empty list on network error.
backend/agent/tests/test_rc_literature.py:231
Methodtest_search_tavily_with_mock
Test Tavily search with mocked SDK.
backend/agent/tests/test_web_search.py:114
Methodtest_search_uses_cache
(self, tmp_path)
backend/agent/tests/test_code_searcher.py:324
Methodtest_search_uses_cache_on_failure
(self, tmp_path)
backend/agent/tests/test_rc_cache.py:100
Methodtest_search_with_http_error
search_arxiv should return empty list on HTTPError.
backend/agent/tests/test_rc_literature.py:618
Methodtest_search_with_mock_github
(self, tmp_path)
backend/agent/tests/test_code_searcher.py:345
Methodtest_search_with_mocked_scholarly
Test search using mocked scholarly library.
backend/agent/tests/test_web_scholar.py:113
Methodtest_search_with_mocked_sdk
Full search path with mocked Exa SDK.
backend/agent/tests/test_exa_search.py:161
Methodtest_second_order
h, h/2, h/4, h/8 with error ~ h^2.
backend/agent/tests/test_convergence_evaluator.py:22
Methodtest_section_ordering
(self)
backend/agent/tests/test_figure_agent.py:727
Functiontest_security_config_defaults_match_expected_values
()
backend/agent/tests/test_rc_config.py:235
Methodtest_security_keywords
(self)
backend/agent/tests/test_domain_detector.py:134
Methodtest_select_urls_skips_pdf
(self)
backend/agent/tests/test_web_integration.py:125
Methodtest_select_urls_to_crawl
(self)
backend/agent/tests/test_web_integration.py:112
Methodtest_sentinel_prints_usage_on_no_args
(self)
backend/agent/tests/test_rc_sentinel.py:123
Methodtest_sentinel_script_exists
(self)
backend/agent/tests/test_rc_sentinel.py:101
Methodtest_sentinel_script_has_shebang
(self)
backend/agent/tests/test_rc_sentinel.py:118
Methodtest_sentinel_script_is_executable
(self)
backend/agent/tests/test_rc_sentinel.py:114
Methodtest_sentinel_script_is_valid_bash
(self)
backend/agent/tests/test_rc_sentinel.py:105
← previousnext →2,701–2,800 of 3,044, ranked by callers