MCPcopy Create free account

hub / github.com/NVIDIA/SkillSpector / functions

Functions2,044 in github.com/NVIDIA/SkillSpector

Methodtest_chunk_label_in_prompt
(self)
tests/nodes/test_llm_analyzer_base.py:1015
Methodtest_chunk_offset
(self)
tests/nodes/test_llm_analyzer_base.py:189
Methodtest_chunk_offset_preserved
(self)
tests/nodes/test_llm_analyzer_base.py:238
Methodtest_clean_fixture
mcp_clean_skill produces zero TP findings.
tests/test_mcp_tool_poisoning.py:564
Methodtest_clean_skill_produces_no_findings
(self)
tests/nodes/analyzers/test_semantic_security_discovery.py:717
Methodtest_clean_skill_produces_no_sdi_findings
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:497
Functiontest_clean_text_strips_ansi_and_control_keeps_readable
()
tests/nodes/test_report_sanitizer.py:40
Functiontest_cleanup_idempotent
cleanup() can be called after resolve and does not raise.
tests/unit/test_input_handler.py:91
Functiontest_cli_baseline_generate_then_scan_round_trip
`baseline` writes a file; scanning with it suppresses those findings.
tests/unit/test_cli.py:87
Methodtest_cli_provider_delegates_is_available
When SKILLSPECTOR_PROVIDER=claude_cli, is_llm_available asks the provider.
tests/unit/test_llm_utils.py:190
Functiontest_cli_scan_local_directory
scan with local directory runs graph and prints report.
tests/unit/test_cli.py:39
Functiontest_cli_scan_missing_baseline_exits_2
scan with a --baseline pointing at a missing file exits with code 2.
tests/unit/test_cli.py:76
Functiontest_cli_scan_no_llm
scan with --no-llm runs without requiring an LLM API key (uses fallback).
tests/unit/test_cli.py:62
Functiontest_cli_scan_nonexistent_exits_2
scan with nonexistent path exits with code 2.
tests/unit/test_cli.py:69
Functiontest_cli_scan_output_to_file
scan with --output writes report to file.
tests/unit/test_cli.py:47
Functiontest_cli_version
--version prints version and exits 0.
tests/unit/test_cli.py:31
Methodtest_cloud_metadata_blocked
(self)
tests/unit/test_input_handler_ssrf.py:109
Methodtest_coarse_fallback_when_no_start_line
LLM response without start_line falls back to coarse (file, rule_id) keying.
tests/nodes/test_llm_analyzer_base.py:1232
Methodtest_code_example_high_severity_retained
HIGH severity finding in code-example context at low conf: retained by severity floor.
tests/nodes/test_meta_analyzer_fallback.py:153
Methodtest_code_example_is_downgraded
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:95
Methodtest_code_example_low_confidence_low_severity_dropped
LOW severity finding at 0.6 conf in code-example context: 0.6*0.5=0.3 < 0.4, dropped.
tests/nodes/test_meta_analyzer_fallback.py:141
Methodtest_code_finding_is_high_severity
(self)
tests/nodes/test_semantic_quality_policy.py:793
Methodtest_code_rule_marked_compatible_for_chinese_skill
(self)
contrib/multilingual/tests/tests-pro/test_annotation.py:70
Methodtest_collect_findings_flattens_batch_results
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:390
Methodtest_collect_rule_files_finds_yar
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:401
Methodtest_collect_rule_files_nonexistent_dir
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:411
Methodtest_compile_produces_ast6
(self)
tests/nodes/analyzers/test_behavioral_ast.py:101
Methodtest_complex_manifest_change_triggers_multiple_findings
Multiple rules are triggered when permissions, triggers, and parameters all change.
tests/nodes/analyzers/test_mcp_rug_pull.py:234
Methodtest_concurrent_acquire_release_has_no_deadlock_and_active_returns_to_zero
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:394
Methodtest_concurrent_instance_creation_no_race
50 instances created concurrently inside one context — all get response_schema=None. V1 bug: class-attribute toggling across threads caused i
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:261
Methodtest_confidence_100_scale_normalized
Ollama and some models return confidence on 0-100 scale; must be normalized.
tests/nodes/test_llm_analyzer_base.py:648
Methodtest_confidence_100_scale_normalized
Ollama-style 0-100 scale must be normalized to 0-1.
tests/nodes/test_llm_analyzer_base.py:780
Methodtest_confidence_75_scale_normalized
(self)
tests/nodes/test_llm_analyzer_base.py:791
Methodtest_confidence_85_scale_normalized
(self)
tests/nodes/test_llm_analyzer_base.py:653
Methodtest_confidence_above_one_clamped
(self)
tests/nodes/test_report.py:185
Methodtest_confidence_is_clamped
Out-of-range confidence is clamped, not rejected, so a slightly off model value does not fail the whole structured-output parse.
tests/nodes/test_llm_analyzer_base.py:640
Methodtest_confidence_is_clamped
Out-of-range confidence is clamped, not rejected, so a slightly off model value does not fail the whole structured-output parse.
tests/nodes/test_llm_analyzer_base.py:760
Methodtest_confidence_negative_clamped
(self)
tests/nodes/test_llm_analyzer_base.py:797
Methodtest_confidence_negative_clamped_to_zero
(self)
tests/nodes/test_llm_analyzer_base.py:657
Methodtest_confidence_overlarge_clamped_to_one
Values > 100 (e.g. 150) are divided then clamped.
tests/nodes/test_llm_analyzer_base.py:661
Methodtest_confidence_validation
(self)
tests/nodes/test_llm_analyzer_base.py:666
Methodtest_confidence_validation
(self)
tests/nodes/test_llm_analyzer_base.py:803
Methodtest_confirmed_finding_kept
(self)
tests/nodes/test_llm_analyzer_base.py:1090
Functiontest_confirmed_finding_kept_when_model_returns_end_line
Regression: a static finding with end_line=None must still match a confirmation whose end_line is populated (e.g. end_line == start_line, as s
tests/nodes/test_meta_analyzer.py:75
Methodtest_consecutive_429_increments_to_two_on_double_failure
#10: Tests n=2, not just n=1.
contrib/multilingual/tests/tests-pro/test_api_pool.py:140
Methodtest_constants_are_consistent
Verify module-level constants are in expected ranges.
tests/nodes/test_report.py:330
Functiontest_construction_failure_is_caught_not_raised
Regression: the chat model is constructed INSIDE the try, so a construction failure degrades (records ok=False, preserves findings) instead of cra
tests/nodes/test_meta_analyzer.py:276
Methodtest_contains_analyzer_prompt
(self)
tests/nodes/test_llm_analyzer_base.py:216
Methodtest_contains_file_label
(self)
tests/nodes/test_llm_analyzer_base.py:223
Methodtest_content_hash_deterministic
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:423
Methodtest_content_is_line_numbered
(self)
tests/nodes/test_llm_analyzer_base.py:230
Methodtest_context_manager_after_setup_does_not_restore_on_exit
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:285
Methodtest_context_manager_enter_passes_guard
(self)
contrib/multilingual/tests/test_monkeypatch_fragility.py:178
Methodtest_context_manager_enter_triggers_guard
Guard is called during deepseek_compat() enter — must succeed.
contrib/multilingual/tests/tests-pro/test_runner_patches.py:376
Methodtest_converts_pydantic_to_dicts
(self)
tests/nodes/test_llm_analyzer_base.py:1038
Methodtest_copy_env_example_filtered
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:148
Methodtest_create_chat_model_falls_back_to_openai_when_provider_unconfigured
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:376
Methodtest_create_chat_model_raises_for_openai_provider_without_key
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:396
Methodtest_create_chat_model_raises_when_no_credentials_anywhere
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:387
Methodtest_create_chat_model_returns_none_without_creds
(self)
tests/unit/test_anthropic_proxy_provider.py:77
Methodtest_create_chat_model_returns_none_without_key
(self)
tests/unit/test_providers.py:263
Methodtest_create_chat_model_uses_native_anthropic_when_configured
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:337
Methodtest_create_chat_model_via_selector
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:238
Methodtest_create_env_file_instruction_filtered
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:144
Methodtest_creates_chat_anthropic_subclass
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:81
Methodtest_creates_chat_openai
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:218
Methodtest_creates_native_chat_anthropic
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:256
Methodtest_creates_openai_compatible_chat_model
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:93
Methodtest_creates_openai_compatible_chat_model
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:151
Methodtest_credential_exfiltration_webhook_rule
(self)
tests/nodes/analyzers/test_static_yara.py:291
Methodtest_credential_webhook_requires_collection_and_transmission
(self)
tests/nodes/analyzers/test_static_yara.py:361
Methodtest_critical_below_threshold_retained
CRITICAL finding at 0.35 confidence is retained (severity floor).
tests/nodes/test_meta_analyzer_fallback.py:81
Methodtest_critical_confirmed_uses_llm_enrichment
A CRITICAL finding confirmed by the LLM is still enriched as before. The floor does not interfere with the normal happy path: when the LLM
tests/nodes/test_llm_analyzer_base.py:1508
Methodtest_critical_issue_high_severity_finding
Critical/harmful content produces high-severity findings.
tests/integration/test_graph_scanner.py:118
Methodtest_critical_unconfirmed_kept_with_llm_unconfirmed_tag
A CRITICAL static finding NOT confirmed by the LLM must be kept. The finding must appear in the output with its original severity and
tests/nodes/test_llm_analyzer_base.py:1420
Methodtest_cross_file_keeps_highest_confidence
Cross-file dedup keeps the highest confidence finding.
tests/nodes/test_deduplicate.py:99
Methodtest_curl_in_fenced_code_block_is_filtered
A curl -k inside a markdown fenced code block should be filtered out.
tests/nodes/analyzers/test_static_runner_filtering.py:29
Methodtest_custom_api_version
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:222
Methodtest_cvss_vector_low_severity
(self)
tests/unit/test_osv_client.py:110
Methodtest_cvss_vector_when_no_other_sources
(self)
tests/unit/test_osv_client.py:106
Methodtest_cyrillic_homoglyph
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:155
Methodtest_dangerous_bypass_never_present
(self)
tests/unit/test_agent_cli.py:252
Methodtest_dangerously_skip_permissions_never_in_argv
(self)
tests/unit/test_agent_cli.py:207
Methodtest_dangerously_skip_permissions_never_in_argv
( self, mock_popen: MagicMock, _mock_binary: MagicMock )
tests/unit/test_agent_cli.py:457
Methodtest_data_uri_in_metadata
Data URI in description → TP1 finding.
tests/test_mcp_tool_poisoning.py:272
Methodtest_database_specific_case_insensitive
(self)
tests/unit/test_osv_client.py:114
Methodtest_database_specific_is_primary
(self)
tests/unit/test_osv_client.py:94
Methodtest_dedup_same_line
Same rule+line should not produce duplicate findings.
tests/nodes/analyzers/test_behavioral_taint_tracking.py:316
Methodtest_deeply_nested_path_allowed
(self, tmp_path: Path)
tests/unit/test_input_handler_ssrf.py:178
Methodtest_default_api_version
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:218
Methodtest_default_confidence_and_explanation_applied_when_not_provided
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:110
Methodtest_default_model
(self)
tests/unit/test_anthropic_proxy_provider.py:107
Methodtest_default_model
(self)
tests/unit/test_providers.py:232
Methodtest_default_model_and_meta_downgrade
(self)
tests/unit/test_providers.py:267
Methodtest_default_model_is_public_cross_region_inference_profile
(self)
tests/unit/test_bedrock_provider.py:96
Functiontest_degraded_scan_does_not_downgrade_a_blocking_verdict
A degraded scan that is already DO_NOT_INSTALL stays blocking (floor only lifts SAFE).
tests/nodes/test_report.py:853
Functiontest_degraded_scan_floors_recommendation_at_caution
No findings would normally be SAFE; a degraded LLM stage forces CAUTION.
tests/nodes/test_report.py:822
Methodtest_destructive_autonomous_actions_rule
(self)
tests/nodes/analyzers/test_static_yara.py:353
Methodtest_detects_429_in_string_message
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:369
Methodtest_detects_description_behavior_mismatch
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:101
← previousnext →801–900 of 2,044, ranked by callers