MCPcopy Create free account

hub / github.com/NVIDIA/SkillSpector / functions

Functions2,044 in github.com/NVIDIA/SkillSpector

Methodtest_release_after_success_resets_consecutive_429_through_real_fail_flow
#9: Uses real release(success=False) path, not manual state injection.
contrib/multilingual/tests/tests-pro/test_api_pool.py:105
Methodtest_release_with_failure_does_not_leak_slot
Release with success=False still decrements active_requests.
contrib/multilingual/tests/tests-pro/test_api_pool.py:453
Methodtest_release_with_failure_marks_key_as_rate_limited_and_unavailable
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:130
Methodtest_released_slot_returns_least_loaded_key
#17: Verifies released slot goes to the right key (least-loaded).
contrib/multilingual/tests/tests-pro/test_api_pool.py:295
Methodtest_remediation_applied
Kept findings get default remediation if none set.
tests/nodes/test_meta_analyzer_fallback.py:200
Methodtest_remote_bootstrap_allows_common_install_pipes
(self)
tests/nodes/analyzers/test_static_yara.py:310
Methodtest_remote_bootstrap_execution_rule
(self)
tests/nodes/analyzers/test_static_yara.py:305
Methodtest_removes_model_from_body
(self)
tests/unit/test_anthropic_proxy_provider.py:175
Methodtest_rename_env_filtered
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:156
Methodtest_repeated_phrase_detected
A multi-char phrase repeated 25+ times triggers MP2.
tests/nodes/analyzers/test_mp2_regex_backtracking.py:30
Methodtest_repeated_short_phrase_detected
A short multi-char phrase repeated 25+ times triggers MP2.
tests/nodes/analyzers/test_mp2_regex_backtracking.py:37
Methodtest_replaces_auth_header
(self)
tests/unit/test_anthropic_proxy_provider.py:187
Functiontest_report_baseline_keeps_unmatched_finding
Findings not matched by the baseline are kept and scored normally.
tests/nodes/test_report.py:577
Functiontest_report_baseline_suppresses_finding_and_lowers_score
A baseline-suppressed CRITICAL finding does not count toward the risk score.
tests/nodes/test_report.py:553
Methodtest_report_critical_finding_medium_band
One CRITICAL finding at confidence 1.0 yields score 50, MEDIUM band.
tests/nodes/test_report.py:361
Methodtest_report_dedup_affects_score_only_not_report_output
Deduplication reduces score but all affected files appear in the report.
tests/nodes/test_report.py:523
Methodtest_report_default_output_format_is_sarif
When output_format is missing, report uses sarif.
tests/nodes/test_report.py:510
Functiontest_report_doc_findings_no_multiplier
Findings from non-executable files (markdown/docs) are not multiplied.
tests/nodes/test_report.py:890
Functiontest_report_emits_clean_utf8_for_all_formats
No ANSI/control bytes leak into any report format.
tests/nodes/test_report_sanitizer.py:62
Methodtest_report_empty_findings_zero_risk
(self)
tests/nodes/test_report.py:345
Functiontest_report_executable_scripts_multiplier
1.3x multiplier applied only to findings from executable files.
tests/nodes/test_report.py:868
Methodtest_report_executable_scripts_multiplier
has_executable_scripts applies 1.3x to risk score.
tests/nodes/test_report.py:403
Methodtest_report_high_severity_do_not_install
Score >= 51 yields severity HIGH and DO_NOT_INSTALL.
tests/nodes/test_report.py:384
Functiontest_report_json_includes_suppressed_section
JSON output reports suppressed_count and a suppressed array.
tests/nodes/test_report.py:594
Functiontest_report_llm_degraded_when_all_calls_failed
use_llm requested + every LLM call failed -> llm_available False, llm_degraded True.
tests/nodes/test_report.py:658
Functiontest_report_markdown_show_suppressed_lists_rows
Markdown lists suppressed findings only when show_suppressed is set.
tests/nodes/test_report.py:612
Functiontest_report_markdown_shows_degraded_warning
Markdown output surfaces a visible degraded-scan warning.
tests/nodes/test_report.py:759
Functiontest_report_no_baseline_unchanged
Without a baseline, scoring is unchanged and nothing is suppressed.
tests/nodes/test_report.py:633
Functiontest_report_no_llm_failures_not_counted_as_degraded
use_llm False -> failures (if any) never mark the scan degraded.
tests/nodes/test_report.py:726
Functiontest_report_not_degraded_when_no_llm_calls
use_llm True but no LLM calls attempted (e.g. empty skill) -> not degraded.
tests/nodes/test_report.py:708
Functiontest_report_not_degraded_when_some_calls_succeeded
At least one successful LLM call -> not degraded, llm_available stays True.
tests/nodes/test_report.py:686
Methodtest_report_output_format_json
output_format json produces valid JSON with expected structure.
tests/nodes/test_report.py:430
Methodtest_report_output_format_markdown
output_format markdown produces expected headings.
tests/nodes/test_report.py:461
Methodtest_report_output_format_sarif
output_format sarif produces valid SARIF JSON.
tests/nodes/test_report.py:494
Methodtest_report_output_format_terminal
output_format terminal produces Rich-formatted output.
tests/nodes/test_report.py:478
Functiontest_report_sarif_carries_degradation_notification
The default SARIF output surfaces degradation via a tool-execution notification.
tests/nodes/test_report.py:775
Functiontest_report_sarif_no_invocations_when_not_degraded
A healthy scan's SARIF output is unchanged (no invocations block).
tests/nodes/test_report.py:802
Functiontest_report_terminal_shows_degraded_warning
Terminal output surfaces a visible degraded-scan warning.
tests/nodes/test_report.py:742
Methodtest_requests_get_to_exec
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:113
Methodtest_reraises_value_error
(self, mock_get_model: MagicMock)
tests/nodes/analyzers/test_semantic_developer_intent.py:226
Methodtest_resolve_credentials_returns_none
(self)
tests/unit/test_providers.py:435
Methodtest_resolve_credentials_returns_none
(self)
tests/unit/test_providers.py:478
Methodtest_resolve_credentials_returns_none
(self)
tests/unit/test_providers.py:502
Methodtest_resolve_credentials_returns_none
(self)
tests/unit/test_bedrock_provider.py:62
Methodtest_resolve_credentials_returns_none_even_with_aws_env_set
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_bedrock_provider.py:65
Functiontest_resolve_directory
Resolving a local directory returns path and source_type directory.
tests/unit/test_input_handler.py:26
Functiontest_resolve_input_empty_input_returns_none_skill_path
When neither input_path nor skill_path is set (or empty), skill_path becomes None.
tests/nodes/test_resolve_input.py:49
Functiontest_resolve_input_prefers_input_path_over_skill_path
When both are set, input_path wins.
tests/nodes/test_resolve_input.py:41
Functiontest_resolve_input_with_input_path_directory
When input_path is a local directory, skill_path is set; temp_dir_for_cleanup is None.
tests/nodes/test_resolve_input.py:23
Functiontest_resolve_input_with_skill_path_only
When only skill_path is set, it is normalized; temp_dir_for_cleanup is None.
tests/nodes/test_resolve_input.py:32
Methodtest_resolve_model_default
(self)
tests/unit/test_providers.py:181
Methodtest_resolve_model_default_when_no_env
(self)
tests/unit/test_providers.py:115
Methodtest_resolve_model_empty_when_no_env
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:453
Methodtest_resolve_model_empty_when_no_env
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:485
Methodtest_resolve_model_env_override
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:110
Methodtest_resolve_model_env_override
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:460
Methodtest_resolve_model_env_override
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:490
Methodtest_resolve_model_env_overrides_default
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:118
Methodtest_resolve_model_env_overrides_slot_default
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:191
Methodtest_resolve_model_meta_analyzer_uses_slot_override
(self)
tests/unit/test_providers.py:124
Methodtest_resolve_model_meta_analyzer_uses_slot_override
(self)
tests/unit/test_providers.py:184
Methodtest_resolve_model_no_slot_defaults
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:464
Methodtest_resolve_model_unknown_slot_falls_to_default
(self)
tests/unit/test_providers.py:131
Functiontest_resolve_nonexistent_raises
Resolving a nonexistent path raises FileNotFoundError or ValueError.
tests/unit/test_input_handler.py:70
Functiontest_resolve_single_md_file
Resolving a single .md file wraps it in a temp dir.
tests/unit/test_input_handler.py:39
Functiontest_resolve_single_non_md_file
Resolving a single non-.md file (e.g. .txt) wraps it in a temp dir.
tests/unit/test_input_handler.py:77
Functiontest_resolve_zip_file
Resolving a .zip file extracts and returns the extract dir.
tests/unit/test_input_handler.py:53
Methodtest_resolves_anthropic_api_key_without_openai_endpoint
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:249
Methodtest_resolves_credentials_with_both_env_vars
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:67
Methodtest_resolves_to_build_endpoint
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:88
Methodtest_resolves_to_inference_endpoint
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:146
Methodtest_resolves_to_openai_with_default_base_url
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:205
Methodtest_respects_max_concurrency
Verify the semaphore limits concurrent LLM calls.
tests/nodes/test_llm_analyzer_base.py:451
Methodtest_retry_successes_counter_increments_correctly
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:283
Methodtest_returns_adapter_for_cli_provider
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:243
Methodtest_returns_assistant_text
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:452
Methodtest_returns_chatopenai_for_http_provider
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:248
Methodtest_returns_empty_text
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:163
Methodtest_returns_empty_when_file_cache_missing
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:75
Methodtest_returns_empty_when_no_files
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:70
Methodtest_returns_empty_when_use_llm_false
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:49
Methodtest_returns_false_for_ordinary_exception
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:377
Methodtest_returns_false_for_value_error
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:381
Methodtest_returns_false_with_message_when_no_credentials
(self)
tests/unit/test_llm_utils.py:185
Methodtest_returns_finding_objects
(self)
tests/nodes/test_llm_analyzer_base.py:261
Methodtest_returns_findings_from_llm
(self, base_state)
tests/nodes/analyzers/test_semantic_security_discovery.py:90
Methodtest_returns_input_and_output_token_pair
(self)
tests/unit/test_llm_utils.py:125
Methodtest_returns_none_for_single_key
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:335
Methodtest_returns_none_when_credentials_missing
(self)
tests/unit/test_providers.py:281
Methodtest_returns_none_when_no_aws_credentials
No AWS credentials in any chain → return None so the orchestrator falls through.
tests/unit/test_bedrock_provider.py:120
Methodtest_returns_none_when_no_keys_configured
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:340
Methodtest_returns_none_with_only_key
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:59
Methodtest_returns_none_with_only_url
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:63
Methodtest_returns_none_without_env_var
(self)
tests/unit/test_providers.py:85
Methodtest_returns_none_without_env_var
(self)
tests/unit/test_providers.py:142
Methodtest_returns_none_without_env_var
(self)
tests/unit/test_providers.py:202
Methodtest_returns_none_without_env_var
(self)
tests/unit/test_providers.py:246
Methodtest_returns_none_without_env_vars
(self)
tests/unit/test_anthropic_proxy_provider.py:56
Methodtest_returns_parsed_findings
(self)
tests/nodes/test_llm_analyzer_base.py:421
Methodtest_returns_plain_text_unchanged_when_no_fence_present
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:539
← previousnext →1,601–1,700 of 2,044, ranked by callers