Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/affaan-m/ECC
/ functions
Functions
2,777 in github.com/affaan-m/ECC
⨍
Functions
2,777
◇
Types & classes
100
↳
Endpoints
15
Method
test_create_input
(self)
tests/test_types.py:116
Method
test_create_message
(self)
tests/test_types.py:33
Method
test_create_model_info
(self)
tests/test_types.py:143
Method
test_create_output
(self)
tests/test_types.py:131
Method
test_create_tool
(self)
tests/test_types.py:49
Method
test_create_tool_call
(self)
tests/test_types.py:101
Method
test_create_tool_result
(self)
tests/test_types.py:109
Function
test_critical_anomaly_blocks_and_writes_feedback
(monkeypatch, tmp_path)
tests/hooks/test_insaits_security_monitor.py:180
Function
test_deregister_template_removes_named_template
()
tests/test_templates.py:41
Function
test_detect_project_creates_directories
detect_project should create the project dir structure.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:410
Function
test_detect_project_from_env
CLAUDE_PROJECT_DIR env var should be used as project root.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:375
Function
test_detect_project_git_timeout
Git timeout should fall through to global.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:396
Function
test_detect_project_global_fallback
When no git and no env var, should return global project.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:360
Function
test_dimensions_exposed_for_history
()
integrations/aura/tests/test_adapter.py:54
Function
test_empty_content_no_error
()
skills/continuous-learning-v2/scripts/test_parse_instinct.py:210
Method
test_empty_file_returns_empty_list
(self, tmp_path: Path)
skills/skill-comply/tests/test_parser.py:43
Method
test_empty_system_template_does_not_add_blank_system_message
(self)
tests/test_builder.py:50
Method
test_empty_trace
(self, mock_cls, tdd_spec)
skills/skill-comply/tests/test_grader.py:124
Method
test_env_provider_is_normalized
(self, monkeypatch)
tests/test_resolver.py:58
Method
test_env_provider_overrides_saved_llm_env
(self, monkeypatch, tmp_path)
tests/test_resolver.py:49
Method
test_error_message_contains_stdout_tail
(self, tmp_path, monkeypatch)
skills/skill-comply/tests/test_runner.py:155
Method
test_event_fields
(self)
skills/skill-comply/tests/test_parser.py:30
Method
test_events_sorted_by_timestamp
(self)
skills/skill-comply/tests/test_parser.py:25
Method
test_execute_all
(self)
tests/test_executor.py:66
Method
test_execute_success
(self)
tests/test_executor.py:35
Method
test_execute_unknown_tool
(self)
tests/test_executor.py:57
Method
test_explicit_provider_overrides_saved_llm_env
(self, monkeypatch, tmp_path)
tests/test_resolver.py:72
Function
test_extract_content_handles_supported_payload_shapes
()
tests/hooks/test_insaits_security_monitor.py:61
Function
test_fail_open_does_not_pass_reachable_unknown
()
integrations/aura/tests/test_adapter.py:116
Method
test_failure_reasons_present
(self, mock_cls, tdd_spec, noncompliant_trace)
skills/skill-comply/tests/test_grader.py:115
Function
test_find_cross_project_empty_registry
(patch_globals)
skills/continuous-learning-v2/scripts/test_parse_instinct.py:956
Function
test_find_cross_project_shared_instinct
Same instinct ID in 2 projects should be found.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:976
Function
test_find_cross_project_single_project
Single project should return nothing (need 2+).
skills/continuous-learning-v2/scripts/test_parse_instinct.py:963
Function
test_format_feedback_accepts_dict_and_object_anomalies
()
tests/hooks/test_insaits_security_monitor.py:89
Method
test_full_compliance
(self, mock_cls, tdd_spec, compliant_trace)
skills/skill-comply/tests/test_grader.py:60
Function
test_gate_allows_caution_and_new_by_default
()
integrations/aura/tests/test_adapter.py:73
Function
test_gate_allows_trusted
()
integrations/aura/tests/test_adapter.py:68
Function
test_gate_fail_closed_on_unreachable
()
integrations/aura/tests/test_adapter.py:103
Function
test_gate_fail_open_passes_on_unreachable
()
integrations/aura/tests/test_adapter.py:109
Function
test_gate_rejects_high_risk
()
integrations/aura/tests/test_adapter.py:78
Function
test_gate_rejects_unknown_by_default
()
integrations/aura/tests/test_adapter.py:84
Function
test_generate_collects_multiple_tool_use_blocks
()
tests/test_claude_provider.py:62
Function
test_generate_collects_text_and_tool_use_blocks
()
tests/test_claude_provider.py:40
Function
test_generate_copies_tool_use_dict_arguments
()
tests/test_claude_provider.py:85
Function
test_generate_text_only_has_no_tool_calls
()
tests/test_claude_provider.py:100
Method
test_get_astraflow_cn_provider
(self)
tests/test_resolver.py:27
Method
test_get_astraflow_provider
(self)
tests/test_resolver.py:22
Method
test_get_claude_provider
(self)
tests/test_resolver.py:7
Method
test_get_ollama_provider
(self)
tests/test_resolver.py:17
Method
test_get_openai_provider
(self)
tests/test_resolver.py:12
Method
test_get_provider_by_enum
(self)
tests/test_resolver.py:32
Method
test_hook_promotion_recommended
(self, mock_cls, tdd_spec, noncompliant_trace)
skills/skill-comply/tests/test_grader.py:110
Method
test_input_to_dict
(self)
tests/test_types.py:122
Method
test_invalid_provider_raises
(self)
tests/test_resolver.py:36
Method
test_list_tools
(self)
tests/test_executor.py:24
Function
test_load_all_empty
No instincts at all should return empty list.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:627
Function
test_load_all_global_only
Global project should only load global instincts.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:571
Function
test_load_all_project_and_global
Should load from both project and global directories.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:534
Function
test_load_all_project_overrides_global
When project and global have same ID, project wins.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:550
Function
test_load_annotates_metadata
Loaded instincts should have _source_file, _source_type, _scope_label.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:445
Function
test_load_defaults_scope_from_label
If an instinct has no 'scope' in frontmatter, it should default to scope_label.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:457
Function
test_load_from_empty_dir
(tmp_path)
skills/continuous-learning-v2/scripts/test_parse_instinct.py:435
Function
test_load_from_nonexistent_dir
(tmp_path)
skills/continuous-learning-v2/scripts/test_parse_instinct.py:440
Function
test_load_handles_corrupt_file
Corrupt YAML files should be warned about but not crash.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:485
Function
test_load_instincts_from_dir_uses_utf8_encoding
(tmp_path, monkeypatch)
skills/continuous-learning-v2/scripts/test_parse_instinct.py:515
Function
test_load_preserves_explicit_scope
If frontmatter has explicit scope, it should be preserved.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:474
Function
test_load_project_only_excludes_global
load_project_only_instincts should NOT include global instincts.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:592
Function
test_load_project_only_global_fallback_loads_global
Global fallback should return global instincts for project-only queries.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:606
Function
test_load_registry_corrupt_json
(patch_globals)
skills/continuous-learning-v2/scripts/test_parse_instinct.py:1005
Function
test_load_registry_missing_file
(patch_globals)
skills/continuous-learning-v2/scripts/test_parse_instinct.py:1000
Function
test_load_registry_uses_utf8_encoding
(monkeypatch)
skills/continuous-learning-v2/scripts/test_parse_instinct.py:1020
Function
test_load_registry_valid
(patch_globals)
skills/continuous-learning-v2/scripts/test_parse_instinct.py:1012
Function
test_load_supports_md_extension
(tmp_path)
skills/continuous-learning-v2/scripts/test_parse_instinct.py:506
Function
test_load_supports_yml_extension
(tmp_path)
skills/continuous-learning-v2/scripts/test_parse_instinct.py:497
Method
test_low_compliance
(self, mock_cls, tdd_spec, noncompliant_trace)
skills/skill-comply/tests/test_grader.py:92
Function
test_main_exits_cleanly_when_sdk_is_missing
(monkeypatch)
tests/hooks/test_insaits_security_monitor.py:111
Function
test_main_skips_short_or_empty_content
(monkeypatch)
tests/hooks/test_insaits_security_monitor.py:104
Method
test_message_to_dict
(self)
tests/test_types.py:40
Function
test_minimal_dict_contract
()
integrations/aura/tests/test_adapter.py:46
Function
test_multiple_instincts_preserve_content
()
skills/continuous-learning-v2/scripts/test_parse_instinct.py:181
Function
test_new_agent_has_no_score
()
integrations/aura/tests/test_adapter.py:60
Method
test_no_hook_promotion_recommended
(self, mock_cls, tdd_spec, compliant_trace)
skills/skill-comply/tests/test_grader.py:78
Function
test_noncritical_anomaly_warns_without_blocking
(monkeypatch, tmp_path)
tests/hooks/test_insaits_security_monitor.py:211
Method
test_nonexistent_file_raises
(self)
skills/skill-comply/tests/test_parser.py:49
Function
test_openai_provider_allows_missing_usage
()
tests/test_provider_tools.py:107
Function
test_openai_provider_can_be_constructed_without_credentials
(monkeypatch)
tests/test_provider_tools.py:87
Function
test_openai_provider_rejects_empty_or_filtered_responses
()
tests/test_provider_tools.py:95
Function
test_openai_provider_serializes_tools_for_chat_completions
()
tests/test_provider_tools.py:67
Method
test_optional_detector_fields
(self)
skills/skill-comply/tests/test_parser.py:71
Method
test_optional_step_detected
(self, mock_cls, tdd_spec, compliant_trace)
skills/skill-comply/tests/test_grader.py:72
Method
test_output_with_tool_calls
(self)
tests/test_types.py:136
Function
test_parse_confidence_is_float
()
skills/continuous-learning-v2/scripts/test_parse_instinct.py:238
Function
test_parse_empty_string
()
skills/continuous-learning-v2/scripts/test_parse_instinct.py:269
Function
test_parse_garbage_input
()
skills/continuous-learning-v2/scripts/test_parse_instinct.py:274
Function
test_parse_no_id_skipped
Instincts without an 'id' field should be silently dropped.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:224
Function
test_parse_trigger_strips_quotes
()
skills/continuous-learning-v2/scripts/test_parse_instinct.py:254
Method
test_parses_compliant_trace
(self)
skills/skill-comply/tests/test_parser.py:20
Method
test_parses_noncompliant_trace
(self)
skills/skill-comply/tests/test_parser.py:38
Method
test_parses_tdd_spec
(self)
skills/skill-comply/tests/test_parser.py:55
Function
test_print_instincts_by_domain_is_cp1252_safe
Status rendering should not crash on Windows cp1252 stdout.
skills/continuous-learning-v2/scripts/test_parse_instinct.py:685
← previous
next →
2,601–2,700 of 2,777, ranked by callers