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_chunk_label_in_prompt
(self)
tests/nodes/test_llm_analyzer_base.py:1015
Method
test_chunk_offset
(self)
tests/nodes/test_llm_analyzer_base.py:189
Method
test_chunk_offset_preserved
(self)
tests/nodes/test_llm_analyzer_base.py:238
Method
test_clean_fixture
mcp_clean_skill produces zero TP findings.
tests/test_mcp_tool_poisoning.py:564
Method
test_clean_skill_produces_no_findings
(self)
tests/nodes/analyzers/test_semantic_security_discovery.py:717
Method
test_clean_skill_produces_no_sdi_findings
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:497
Function
test_clean_text_strips_ansi_and_control_keeps_readable
()
tests/nodes/test_report_sanitizer.py:40
Function
test_cleanup_idempotent
cleanup() can be called after resolve and does not raise.
tests/unit/test_input_handler.py:91
Function
test_cli_baseline_generate_then_scan_round_trip
`baseline` writes a file; scanning with it suppresses those findings.
tests/unit/test_cli.py:87
Method
test_cli_provider_delegates_is_available
When SKILLSPECTOR_PROVIDER=claude_cli, is_llm_available asks the provider.
tests/unit/test_llm_utils.py:190
Function
test_cli_scan_local_directory
scan with local directory runs graph and prints report.
tests/unit/test_cli.py:39
Function
test_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
Function
test_cli_scan_no_llm
scan with --no-llm runs without requiring an LLM API key (uses fallback).
tests/unit/test_cli.py:62
Function
test_cli_scan_nonexistent_exits_2
scan with nonexistent path exits with code 2.
tests/unit/test_cli.py:69
Function
test_cli_scan_output_to_file
scan with --output writes report to file.
tests/unit/test_cli.py:47
Function
test_cli_version
--version prints version and exits 0.
tests/unit/test_cli.py:31
Method
test_cloud_metadata_blocked
(self)
tests/unit/test_input_handler_ssrf.py:109
Method
test_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
Method
test_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
Method
test_code_example_is_downgraded
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:95
Method
test_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
Method
test_code_finding_is_high_severity
(self)
tests/nodes/test_semantic_quality_policy.py:793
Method
test_code_rule_marked_compatible_for_chinese_skill
(self)
contrib/multilingual/tests/tests-pro/test_annotation.py:70
Method
test_collect_findings_flattens_batch_results
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:390
Method
test_collect_rule_files_finds_yar
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:401
Method
test_collect_rule_files_nonexistent_dir
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:411
Method
test_compile_produces_ast6
(self)
tests/nodes/analyzers/test_behavioral_ast.py:101
Method
test_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
Method
test_concurrent_acquire_release_has_no_deadlock_and_active_returns_to_zero
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:394
Method
test_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
Method
test_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
Method
test_confidence_100_scale_normalized
Ollama-style 0-100 scale must be normalized to 0-1.
tests/nodes/test_llm_analyzer_base.py:780
Method
test_confidence_75_scale_normalized
(self)
tests/nodes/test_llm_analyzer_base.py:791
Method
test_confidence_85_scale_normalized
(self)
tests/nodes/test_llm_analyzer_base.py:653
Method
test_confidence_above_one_clamped
(self)
tests/nodes/test_report.py:185
Method
test_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
Method
test_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
Method
test_confidence_negative_clamped
(self)
tests/nodes/test_llm_analyzer_base.py:797
Method
test_confidence_negative_clamped_to_zero
(self)
tests/nodes/test_llm_analyzer_base.py:657
Method
test_confidence_overlarge_clamped_to_one
Values > 100 (e.g. 150) are divided then clamped.
tests/nodes/test_llm_analyzer_base.py:661
Method
test_confidence_validation
(self)
tests/nodes/test_llm_analyzer_base.py:666
Method
test_confidence_validation
(self)
tests/nodes/test_llm_analyzer_base.py:803
Method
test_confirmed_finding_kept
(self)
tests/nodes/test_llm_analyzer_base.py:1090
Function
test_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
Method
test_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
Method
test_constants_are_consistent
Verify module-level constants are in expected ranges.
tests/nodes/test_report.py:330
Function
test_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
Method
test_contains_analyzer_prompt
(self)
tests/nodes/test_llm_analyzer_base.py:216
Method
test_contains_file_label
(self)
tests/nodes/test_llm_analyzer_base.py:223
Method
test_content_hash_deterministic
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:423
Method
test_content_is_line_numbered
(self)
tests/nodes/test_llm_analyzer_base.py:230
Method
test_context_manager_after_setup_does_not_restore_on_exit
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:285
Method
test_context_manager_enter_passes_guard
(self)
contrib/multilingual/tests/test_monkeypatch_fragility.py:178
Method
test_context_manager_enter_triggers_guard
Guard is called during deepseek_compat() enter — must succeed.
contrib/multilingual/tests/tests-pro/test_runner_patches.py:376
Method
test_converts_pydantic_to_dicts
(self)
tests/nodes/test_llm_analyzer_base.py:1038
Method
test_copy_env_example_filtered
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:148
Method
test_create_chat_model_falls_back_to_openai_when_provider_unconfigured
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:376
Method
test_create_chat_model_raises_for_openai_provider_without_key
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:396
Method
test_create_chat_model_raises_when_no_credentials_anywhere
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:387
Method
test_create_chat_model_returns_none_without_creds
(self)
tests/unit/test_anthropic_proxy_provider.py:77
Method
test_create_chat_model_returns_none_without_key
(self)
tests/unit/test_providers.py:263
Method
test_create_chat_model_uses_native_anthropic_when_configured
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:337
Method
test_create_chat_model_via_selector
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:238
Method
test_create_env_file_instruction_filtered
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:144
Method
test_creates_chat_anthropic_subclass
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:81
Method
test_creates_chat_openai
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:218
Method
test_creates_native_chat_anthropic
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:256
Method
test_creates_openai_compatible_chat_model
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:93
Method
test_creates_openai_compatible_chat_model
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:151
Method
test_credential_exfiltration_webhook_rule
(self)
tests/nodes/analyzers/test_static_yara.py:291
Method
test_credential_webhook_requires_collection_and_transmission
(self)
tests/nodes/analyzers/test_static_yara.py:361
Method
test_critical_below_threshold_retained
CRITICAL finding at 0.35 confidence is retained (severity floor).
tests/nodes/test_meta_analyzer_fallback.py:81
Method
test_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
Method
test_critical_issue_high_severity_finding
Critical/harmful content produces high-severity findings.
tests/integration/test_graph_scanner.py:118
Method
test_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
Method
test_cross_file_keeps_highest_confidence
Cross-file dedup keeps the highest confidence finding.
tests/nodes/test_deduplicate.py:99
Method
test_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
Method
test_custom_api_version
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:222
Method
test_cvss_vector_low_severity
(self)
tests/unit/test_osv_client.py:110
Method
test_cvss_vector_when_no_other_sources
(self)
tests/unit/test_osv_client.py:106
Method
test_cyrillic_homoglyph
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:155
Method
test_dangerous_bypass_never_present
(self)
tests/unit/test_agent_cli.py:252
Method
test_dangerously_skip_permissions_never_in_argv
(self)
tests/unit/test_agent_cli.py:207
Method
test_dangerously_skip_permissions_never_in_argv
( self, mock_popen: MagicMock, _mock_binary: MagicMock )
tests/unit/test_agent_cli.py:457
Method
test_data_uri_in_metadata
Data URI in description → TP1 finding.
tests/test_mcp_tool_poisoning.py:272
Method
test_database_specific_case_insensitive
(self)
tests/unit/test_osv_client.py:114
Method
test_database_specific_is_primary
(self)
tests/unit/test_osv_client.py:94
Method
test_dedup_same_line
Same rule+line should not produce duplicate findings.
tests/nodes/analyzers/test_behavioral_taint_tracking.py:316
Method
test_deeply_nested_path_allowed
(self, tmp_path: Path)
tests/unit/test_input_handler_ssrf.py:178
Method
test_default_api_version
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:218
Method
test_default_confidence_and_explanation_applied_when_not_provided
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:110
Method
test_default_model
(self)
tests/unit/test_anthropic_proxy_provider.py:107
Method
test_default_model
(self)
tests/unit/test_providers.py:232
Method
test_default_model_and_meta_downgrade
(self)
tests/unit/test_providers.py:267
Method
test_default_model_is_public_cross_region_inference_profile
(self)
tests/unit/test_bedrock_provider.py:96
Function
test_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
Function
test_degraded_scan_floors_recommendation_at_caution
No findings would normally be SAFE; a degraded LLM stage forces CAUTION.
tests/nodes/test_report.py:822
Method
test_destructive_autonomous_actions_rule
(self)
tests/nodes/analyzers/test_static_yara.py:353
Method
test_detects_429_in_string_message
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:369
Method
test_detects_description_behavior_mismatch
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:101
← previous
next →
801–900 of 2,044, ranked by callers