Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Exorust/Adkit-MCP
/ functions
Functions
155 in github.com/Exorust/Adkit-MCP
⨍
Functions
155
◇
Types & classes
46
Method
get_ad
(self, ad_id)
tests/test_match_service.py:88
Function
get_logger
()
src/ad_injector/mcp/observability.py:15
Method
is_empty
(self)
src/ad_injector/domain/filters.py:45
Function
metrics_snapshot
Return current metrics (for optional /metrics endpoint or health).
src/ad_injector/mcp/observability.py:43
Method
new_match_id
(self, request_id: str, ad_id: str)
src/ad_injector/ports/id_gen.py:38
Method
new_request_id
(self)
src/ad_injector/ports/id_gen.py:31
Method
query
( self, vector: list[float], vector_filter: VectorFilter, top_k: int, )
src/ad_injector/adapters/qdrant_vector_store.py:55
Method
query
(self, vector, vector_filter, top_k)
tests/test_match_service.py:74
Method
test_age_restricted_allowed_when_opted_in
(self)
tests/test_match_service.py:195
Method
test_age_restricted_allowed_when_opted_in
(self)
tests/test_policy_engine.py:76
Method
test_age_restricted_filtered_by_default
(self)
tests/test_match_service.py:187
Method
test_age_restricted_filtered_by_default
(self)
tests/test_policy_engine.py:66
Method
test_blocked_keyword_in_context_drops_ad
(self)
tests/test_policy_engine.py:89
Method
test_blocked_keyword_substring_drops_ad
(self)
tests/test_policy_engine.py:102
Method
test_blocked_keywords_removes_ad
Blocked keywords vs context_text: drop when intersect (token/substring).
tests/test_match_service.py:218
Method
test_both_exclusions_when_provided
(self)
tests/test_targeting_engine.py:68
Method
test_combined_constraints
(self)
tests/test_match_service.py:285
Function
test_control_plane_has_admin_tools
Control Plane must have admin tools and NOT ads_match.
tests/test_data_plane_tools.py:53
Function
test_data_plane_exposes_only_ads_match
Data Plane must expose exactly the tools in DATA_PLANE_ALLOWED_TOOLS.
tests/test_data_plane_tools.py:36
Function
test_data_plane_has_no_forbidden_tools
No destructive / admin tool may be registered on the Data Plane.
tests/test_data_plane_tools.py:45
Method
test_different_request_ids_produce_different_match_ids
(self)
tests/test_match_service.py:172
Method
test_embedding_provider_receives_normalized_text
Whitespace should be collapsed.
tests/test_match_service.py:145
Method
test_empty_constraints_returns_vector_filter
(self)
tests/test_targeting_engine.py:79
Method
test_empty_hits_returns_empty_candidates
(self)
tests/test_match_service.py:151
Method
test_exclude_ad_ids_adds_must_not
(self)
tests/test_targeting_engine.py:61
Method
test_exclude_advertiser_adds_must_not
(self)
tests/test_match_service.py:277
Method
test_exclude_advertiser_ids_adds_must_not
(self)
tests/test_targeting_engine.py:54
Method
test_exclusions_must_be_enforced
(self)
tests/test_match_semantics.py:66
Method
test_locale_exact_match
(self)
tests/test_match_semantics.py:46
Method
test_locale_includes_global_fallback
(self)
tests/test_targeting_engine.py:20
Method
test_match_id_is_deterministic
(self)
tests/test_match_service.py:165
Method
test_negative_score_clamped
(self)
tests/test_match_service.py:312
Method
test_no_blocked_keywords_in_context_passes
(self)
tests/test_policy_engine.py:110
Method
test_no_constraints_produces_empty_filter
(self)
tests/test_match_service.py:260
Method
test_no_locale_constraint_means_no_locale_filter
(self)
tests/test_targeting_engine.py:27
Method
test_no_request_locale_means_no_filter
(self)
tests/test_match_semantics.py:57
Method
test_placement_no_filter
(self)
tests/test_match_semantics.py:76
Method
test_placement_passed_through
(self)
tests/test_match_service.py:131
Method
test_policy_applied_post_retrieval
Policy filters hits after retrieval even when vector filter is permissive.
tests/test_match_service.py:242
Method
test_request_id_is_uuid
(self)
tests/test_match_service.py:126
Method
test_returns_candidates
(self)
tests/test_match_service.py:119
Method
test_score_above_one_clamped
(self)
tests/test_match_service.py:306
Method
test_sensitive_allowed_when_opted_in
(self)
tests/test_match_service.py:210
Method
test_sensitive_allowed_when_opted_in
(self)
tests/test_policy_engine.py:53
Method
test_sensitive_filtered_by_default
(self)
tests/test_match_service.py:203
Method
test_sensitive_filtered_by_default
(self)
tests/test_policy_engine.py:43
Method
test_targeting_engine_build_filter_called
(self)
tests/test_match_service.py:236
Method
test_top_k_respected
(self)
tests/test_match_service.py:139
Method
test_topics_adds_any_of_filter
(self)
tests/test_targeting_engine.py:36
Method
test_topics_constraint_adds_must
(self)
tests/test_match_service.py:268
Method
test_topics_intersection_any
(self)
tests/test_match_semantics.py:20
Method
test_verticals_adds_any_of_filter
(self)
tests/test_targeting_engine.py:43
Method
test_verticals_intersection_any
(self)
tests/test_match_semantics.py:34
Method
upsert_batch
(self, ads_with_embeddings: list[tuple[Ad, list[float]]])
src/ad_injector/adapters/qdrant_vector_store.py:187
Method
upsert_batch
(self, ads_with_embeddings)
tests/test_match_service.py:86
← previous
101–155 of 155, ranked by callers