Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/SkillSpector
/ functions
Functions
2,044 in github.com/NVIDIA/SkillSpector
⨍
Functions
2,044
◇
Types & classes
379
↳
Endpoints
141
Method
test_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
Method
test_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
Method
test_release_with_failure_marks_key_as_rate_limited_and_unavailable
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:130
Method
test_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
Method
test_remediation_applied
Kept findings get default remediation if none set.
tests/nodes/test_meta_analyzer_fallback.py:200
Method
test_remote_bootstrap_allows_common_install_pipes
(self)
tests/nodes/analyzers/test_static_yara.py:310
Method
test_remote_bootstrap_execution_rule
(self)
tests/nodes/analyzers/test_static_yara.py:305
Method
test_removes_model_from_body
(self)
tests/unit/test_anthropic_proxy_provider.py:175
Method
test_rename_env_filtered
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:156
Method
test_repeated_phrase_detected
A multi-char phrase repeated 25+ times triggers MP2.
tests/nodes/analyzers/test_mp2_regex_backtracking.py:30
Method
test_repeated_short_phrase_detected
A short multi-char phrase repeated 25+ times triggers MP2.
tests/nodes/analyzers/test_mp2_regex_backtracking.py:37
Method
test_replaces_auth_header
(self)
tests/unit/test_anthropic_proxy_provider.py:187
Function
test_report_baseline_keeps_unmatched_finding
Findings not matched by the baseline are kept and scored normally.
tests/nodes/test_report.py:577
Function
test_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
Method
test_report_critical_finding_medium_band
One CRITICAL finding at confidence 1.0 yields score 50, MEDIUM band.
tests/nodes/test_report.py:361
Method
test_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
Method
test_report_default_output_format_is_sarif
When output_format is missing, report uses sarif.
tests/nodes/test_report.py:510
Function
test_report_doc_findings_no_multiplier
Findings from non-executable files (markdown/docs) are not multiplied.
tests/nodes/test_report.py:890
Function
test_report_emits_clean_utf8_for_all_formats
No ANSI/control bytes leak into any report format.
tests/nodes/test_report_sanitizer.py:62
Method
test_report_empty_findings_zero_risk
(self)
tests/nodes/test_report.py:345
Function
test_report_executable_scripts_multiplier
1.3x multiplier applied only to findings from executable files.
tests/nodes/test_report.py:868
Method
test_report_executable_scripts_multiplier
has_executable_scripts applies 1.3x to risk score.
tests/nodes/test_report.py:403
Method
test_report_high_severity_do_not_install
Score >= 51 yields severity HIGH and DO_NOT_INSTALL.
tests/nodes/test_report.py:384
Function
test_report_json_includes_suppressed_section
JSON output reports suppressed_count and a suppressed array.
tests/nodes/test_report.py:594
Function
test_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
Function
test_report_markdown_show_suppressed_lists_rows
Markdown lists suppressed findings only when show_suppressed is set.
tests/nodes/test_report.py:612
Function
test_report_markdown_shows_degraded_warning
Markdown output surfaces a visible degraded-scan warning.
tests/nodes/test_report.py:759
Function
test_report_no_baseline_unchanged
Without a baseline, scoring is unchanged and nothing is suppressed.
tests/nodes/test_report.py:633
Function
test_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
Function
test_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
Function
test_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
Method
test_report_output_format_json
output_format json produces valid JSON with expected structure.
tests/nodes/test_report.py:430
Method
test_report_output_format_markdown
output_format markdown produces expected headings.
tests/nodes/test_report.py:461
Method
test_report_output_format_sarif
output_format sarif produces valid SARIF JSON.
tests/nodes/test_report.py:494
Method
test_report_output_format_terminal
output_format terminal produces Rich-formatted output.
tests/nodes/test_report.py:478
Function
test_report_sarif_carries_degradation_notification
The default SARIF output surfaces degradation via a tool-execution notification.
tests/nodes/test_report.py:775
Function
test_report_sarif_no_invocations_when_not_degraded
A healthy scan's SARIF output is unchanged (no invocations block).
tests/nodes/test_report.py:802
Function
test_report_terminal_shows_degraded_warning
Terminal output surfaces a visible degraded-scan warning.
tests/nodes/test_report.py:742
Method
test_requests_get_to_exec
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:113
Method
test_reraises_value_error
(self, mock_get_model: MagicMock)
tests/nodes/analyzers/test_semantic_developer_intent.py:226
Method
test_resolve_credentials_returns_none
(self)
tests/unit/test_providers.py:435
Method
test_resolve_credentials_returns_none
(self)
tests/unit/test_providers.py:478
Method
test_resolve_credentials_returns_none
(self)
tests/unit/test_providers.py:502
Method
test_resolve_credentials_returns_none
(self)
tests/unit/test_bedrock_provider.py:62
Method
test_resolve_credentials_returns_none_even_with_aws_env_set
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_bedrock_provider.py:65
Function
test_resolve_directory
Resolving a local directory returns path and source_type directory.
tests/unit/test_input_handler.py:26
Function
test_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
Function
test_resolve_input_prefers_input_path_over_skill_path
When both are set, input_path wins.
tests/nodes/test_resolve_input.py:41
Function
test_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
Function
test_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
Method
test_resolve_model_default
(self)
tests/unit/test_providers.py:181
Method
test_resolve_model_default_when_no_env
(self)
tests/unit/test_providers.py:115
Method
test_resolve_model_empty_when_no_env
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:453
Method
test_resolve_model_empty_when_no_env
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:485
Method
test_resolve_model_env_override
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:110
Method
test_resolve_model_env_override
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:460
Method
test_resolve_model_env_override
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:490
Method
test_resolve_model_env_overrides_default
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:118
Method
test_resolve_model_env_overrides_slot_default
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:191
Method
test_resolve_model_meta_analyzer_uses_slot_override
(self)
tests/unit/test_providers.py:124
Method
test_resolve_model_meta_analyzer_uses_slot_override
(self)
tests/unit/test_providers.py:184
Method
test_resolve_model_no_slot_defaults
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:464
Method
test_resolve_model_unknown_slot_falls_to_default
(self)
tests/unit/test_providers.py:131
Function
test_resolve_nonexistent_raises
Resolving a nonexistent path raises FileNotFoundError or ValueError.
tests/unit/test_input_handler.py:70
Function
test_resolve_single_md_file
Resolving a single .md file wraps it in a temp dir.
tests/unit/test_input_handler.py:39
Function
test_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
Function
test_resolve_zip_file
Resolving a .zip file extracts and returns the extract dir.
tests/unit/test_input_handler.py:53
Method
test_resolves_anthropic_api_key_without_openai_endpoint
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:249
Method
test_resolves_credentials_with_both_env_vars
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:67
Method
test_resolves_to_build_endpoint
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:88
Method
test_resolves_to_inference_endpoint
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:146
Method
test_resolves_to_openai_with_default_base_url
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:205
Method
test_respects_max_concurrency
Verify the semaphore limits concurrent LLM calls.
tests/nodes/test_llm_analyzer_base.py:451
Method
test_retry_successes_counter_increments_correctly
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:283
Method
test_returns_adapter_for_cli_provider
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:243
Method
test_returns_assistant_text
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:452
Method
test_returns_chatopenai_for_http_provider
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:248
Method
test_returns_empty_text
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:163
Method
test_returns_empty_when_file_cache_missing
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:75
Method
test_returns_empty_when_no_files
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:70
Method
test_returns_empty_when_use_llm_false
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:49
Method
test_returns_false_for_ordinary_exception
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:377
Method
test_returns_false_for_value_error
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:381
Method
test_returns_false_with_message_when_no_credentials
(self)
tests/unit/test_llm_utils.py:185
Method
test_returns_finding_objects
(self)
tests/nodes/test_llm_analyzer_base.py:261
Method
test_returns_findings_from_llm
(self, base_state)
tests/nodes/analyzers/test_semantic_security_discovery.py:90
Method
test_returns_input_and_output_token_pair
(self)
tests/unit/test_llm_utils.py:125
Method
test_returns_none_for_single_key
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:335
Method
test_returns_none_when_credentials_missing
(self)
tests/unit/test_providers.py:281
Method
test_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
Method
test_returns_none_when_no_keys_configured
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:340
Method
test_returns_none_with_only_key
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:59
Method
test_returns_none_with_only_url
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:63
Method
test_returns_none_without_env_var
(self)
tests/unit/test_providers.py:85
Method
test_returns_none_without_env_var
(self)
tests/unit/test_providers.py:142
Method
test_returns_none_without_env_var
(self)
tests/unit/test_providers.py:202
Method
test_returns_none_without_env_var
(self)
tests/unit/test_providers.py:246
Method
test_returns_none_without_env_vars
(self)
tests/unit/test_anthropic_proxy_provider.py:56
Method
test_returns_parsed_findings
(self)
tests/nodes/test_llm_analyzer_base.py:421
Method
test_returns_plain_text_unchanged_when_no_fence_present
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:539
← previous
next →
1,601–1,700 of 2,044, ranked by callers