Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/canarybyte/veridrop
/ functions
Functions
825 in github.com/canarybyte/veridrop
⨍
Functions
825
◇
Types & classes
86
↳
Endpoints
20
Function
max_severity
(*items: Severity)
src/relay_detector/core/comparator_framework.py:30
Function
messages_create
(**kwargs)
tests/test_anthropic_long_context.py:190
Method
messages_create
(self, **body)
tests/test_active_detectors.py:306
Method
messages_create
(self, **body)
tests/test_active_detectors.py:423
Method
messages_stream
(self, **body)
tests/test_active_detectors.py:407
Function
model_choices
()
src/relay_detector/protocols/anthropic/__init__.py:18
Function
no_html_cache
Prevent browsers from caching HTML responses. HTML pages reference versioned CSS/JS via ?v=N query strings, but the cache-bust only works if
web/server.py:41
Method
observe
Override to accumulate state across many requests.
src/relay_detector/core/detectors_base.py:97
Method
observe
(self, request, response, headers, latency_ms)
tests/test_client.py:283
Function
openai_baseline
Collect an official OpenAI protocol baseline from live API responses.
src/relay_detector/cli.py:718
Function
openai_index
(request: Request)
web/server.py:121
Function
openai_validate
Validate a raw OpenAI response against the protocol template.
src/relay_detector/cli.py:615
Method
overall_median
(self)
web/leaderboard.py:106
Method
overall_score
Weighted by per-protocol detection count — tiebreaker for ranking.
web/leaderboard.py:98
Method
passed
(self)
src/relay_detector/protocols/openai/protocol_templates.py:142
Function
patched
(self, *args, **kwargs)
tests/test_probe.py:114
Function
pick_default_model
Pick the most likely-to-just-work model from a relay's whitelist. Tries exact alias match first, then snapshot-suffix match (e.g. our preferr
src/relay_detector/protocols/openai/__init__.py:42
Function
ping
Send one minimal /v1/messages request to verify connectivity & response shape. M1 verification command. Prints the raw response fields so you can
src/relay_detector/cli.py:76
Function
probe_relay_sync
(base_url: str, api_key: str)
web/probe.py:359
Method
protocols_label
(self)
web/leaderboard.py:150
Function
rank
(model: str)
web/probe.py:319
Method
ranking_score
Bayesian-weighted score for ranking. Pulls few-sample relays toward a neutral prior (50) so a single fluky 100% doesn't beat a consist
web/leaderboard.py:113
Method
responses_create
( self, **body: Any )
src/relay_detector/protocols/openai/client.py:85
Method
responses_create
(self, **body: Any)
tests/test_openai_baseline.py:176
Method
responses_create
(self, **body: Any)
tests/test_openai_baseline.py:207
Function
result_jpg
(job_id: str)
web/server.py:541
Function
result_page
(request: Request, job_id: str)
web/server.py:614
Function
robots_txt
()
web/server.py:651
Method
run
(self, client, model: str)
src/relay_detector/protocols/gemini/detectors/integrity.py:30
Method
run
(self, client, model: str)
src/relay_detector/protocols/gemini/detectors/token_usage.py:45
Method
run
(self, client, model: str)
src/relay_detector/protocols/gemini/detectors/model_info.py:24
Method
run
(self, client, model: str)
src/relay_detector/protocols/gemini/detectors/function_calling.py:36
Method
run
(self, client, model: str)
src/relay_detector/protocols/gemini/detectors/structured_output.py:21
Method
run
(self, client, model: str)
src/relay_detector/protocols/gemini/detectors/basic_request.py:15
Method
run
(self, client, model: str)
src/relay_detector/protocols/anthropic/detectors/integrity.py:57
Method
run
(self, client, model: str)
src/relay_detector/protocols/anthropic/detectors/token_usage.py:48
Method
run
(self, client, model: str)
src/relay_detector/protocols/anthropic/detectors/pdf.py:45
Method
run
(self, client, model: str)
src/relay_detector/protocols/anthropic/detectors/identity.py:78
Method
run
(self, client, model: str)
src/relay_detector/protocols/anthropic/detectors/knowledge.py:40
Method
run
(self, client, model: str)
src/relay_detector/protocols/anthropic/detectors/thinking_signature.py:67
Method
run
(self, client, model: str)
src/relay_detector/protocols/anthropic/detectors/behavioral_signature.py:42
Method
run
(self, client, model: str)
src/relay_detector/protocols/anthropic/detectors/consistency.py:35
Method
run
(self, client, model: str)
src/relay_detector/protocols/anthropic/detectors/structured_output.py:50
Method
run
(self, client, model: str)
src/relay_detector/protocols/anthropic/detectors/long_context.py:154
Method
run
(self, client, model: str)
src/relay_detector/protocols/openai/detectors/integrity.py:19
Method
run
(self, client, model: str)
src/relay_detector/protocols/openai/detectors/token_billing.py:50
Method
run
(self, client, model: str)
src/relay_detector/protocols/openai/detectors/token_parity.py:22
Method
run
(self, client, model: str)
src/relay_detector/protocols/openai/detectors/function_calling.py:35
Method
run
(self, client, model: str)
src/relay_detector/protocols/openai/detectors/structured_output.py:17
Method
run
(self, client, model: str)
src/relay_detector/protocols/openai/detectors/basic_request.py:15
Method
run
(self, client, model: str)
src/relay_detector/protocols/openai/detectors/model_consistency.py:17
Method
run_one
(d: ActiveDetector)
src/relay_detector/core/runner.py:97
Function
sitemap_xml
Dynamic sitemap — static product pages + reports + per-domain pages. `lastmod` is included for every URL so search engines know when to revis
web/server.py:699
Function
smart
(**kwargs)
tests/test_long_context.py:637
Function
smart_response
(**kwargs)
tests/test_anthropic_long_context.py:62
Function
smart_response
(**kwargs)
tests/test_long_context.py:316
Function
submit
Queue a detection job and return the job id immediately. Long-context probe is opt-in. Two tiers: - ``include_long_context`` (standard): 32
web/jobs.py:79
Function
test_aggregate_one_failed_detectors_aggregated
(fake_reports: Path)
tests/test_leaderboard_detail.py:125
Function
test_aggregate_one_invalid_domain_returns_none
(fake_reports: Path)
tests/test_leaderboard_detail.py:120
Function
test_aggregate_one_returns_history_for_domain
(fake_reports: Path)
tests/test_leaderboard_detail.py:98
Function
test_aggregate_one_unknown_domain_returns_none
(fake_reports: Path)
tests/test_leaderboard_detail.py:116
Function
test_aggregate_ordering_is_ranked_first
Even if a single-sample relay's ranking_score is high, it should NOT outrank a multi-sample relay (≥2). is_ranked tier comes first.
tests/test_leaderboard_ranking.py:84
Function
test_all_domains_lists_each_unique_host
(fake_reports: Path)
tests/test_leaderboard_detail.py:134
Function
test_anthropic_1m_near_limit_initial_target_is_conservative
()
tests/test_anthropic_long_context.py:169
Function
test_anthropic_detectors_inherit_core_base_classes
()
tests/test_v2_protocol_layout.py:19
Function
test_anthropic_long_context_fails_at_first_tier_when_truncated
()
tests/test_anthropic_long_context.py:82
Function
test_anthropic_long_context_grows_to_real_950k_target
(monkeypatch)
tests/test_anthropic_long_context.py:213
Function
test_anthropic_long_context_hits_real_950k_target_in_one_count
( monkeypatch, )
tests/test_anthropic_long_context.py:176
Function
test_anthropic_long_context_passes_haiku_with_200k_clamp
200k tier on a 200k-context model must be probed (not skipped) by clamping the haystack to leave room for the question. Catches the bug where
tests/test_anthropic_long_context.py:117
Function
test_anthropic_long_context_passes_when_all_needles_recalled
()
tests/test_anthropic_long_context.py:57
Function
test_anthropic_long_context_provider_prompt_overflow_is_skip
( monkeypatch, )
tests/test_anthropic_long_context.py:323
Function
test_anthropic_long_context_recounts_after_oversized_precount
(monkeypatch)
tests/test_anthropic_long_context.py:254
Function
test_anthropic_long_context_request_error_treated_as_truncation
()
tests/test_anthropic_long_context.py:101
Function
test_anthropic_long_context_skips_near_limit_without_count_tokens
( monkeypatch, )
tests/test_anthropic_long_context.py:294
Function
test_anthropic_long_context_skips_when_not_opted_in
()
tests/test_anthropic_long_context.py:44
Function
test_anthropic_long_context_uses_correct_api_shape
Sanity check: detector calls messages_create (not chat_completions), sends max_tokens (not max_completion_tokens), and extracts content[].text.
tests/test_anthropic_long_context.py:142
Function
test_anthropic_packaged_data_is_available_from_new_resource_path
()
tests/test_v2_protocol_layout.py:25
Function
test_anthropic_pick_default_matches_snapshot_suffixes
()
tests/test_probe.py:471
Function
test_anthropic_pick_default_prefers_haiku_over_sonnet_over_opus
()
tests/test_probe.py:465
Function
test_applies_with_allowlist
()
tests/test_active_detectors.py:161
Function
test_applies_with_no_allowlist_means_all
()
tests/test_active_detectors.py:169
Function
test_assemble_haystack_approximates_target_size
()
tests/test_long_context.py:57
Function
test_assemble_haystack_contains_all_needles
()
tests/test_long_context.py:65
Function
test_assemble_haystack_deterministic
()
tests/test_long_context.py:73
Function
test_at_limit_denies_with_retry_after
()
tests/test_ratelimit.py:26
Function
test_auto_detect_claude_models
()
tests/test_cli_protocol_resolve.py:28
Function
test_auto_detect_gemini_models
()
tests/test_cli_protocol_resolve.py:43
Function
test_auto_detect_openai_models
()
tests/test_cli_protocol_resolve.py:34
Function
test_auto_detect_unknown_falls_back_to_anthropic
Unknown / legacy aliases don't crash; fall back to anthropic which is the historical default for relay-detector.
tests/test_cli_protocol_resolve.py:49
Function
test_bayesian_score_pulls_few_samples_toward_prior
The fundamental sort claim: a 100-test consistent 99% beats a 1-test 100%. This catches the regression where someone "fixes" the sort to use o
tests/test_leaderboard_ranking.py:43
Function
test_behavioral_evaluate_expected_all
()
tests/test_active_detectors.py:176
Function
test_behavioral_evaluate_expected_any
()
tests/test_active_detectors.py:186
Function
test_behavioral_evaluate_markdown_pattern
()
tests/test_active_detectors.py:205
Function
test_behavioral_evaluate_unexpected_blocks_pass
()
tests/test_active_detectors.py:195
Function
test_behavioral_refusal_helpfulness_tone_accepts_resume_fraud_refusal
()
tests/test_active_detectors.py:219
Function
test_behavioral_refusal_helpfulness_tone_rejects_fabricated_resume_bullets
()
tests/test_active_detectors.py:230
Function
test_build_full_probes_uses_official_tool_choice_shapes
()
tests/test_openai_baseline.py:89
Function
test_build_question_lists_all_needle_labels
()
tests/test_long_context.py:80
Function
test_chat_completion_template_accepts_official_shape
()
tests/test_openai_protocol_templates.py:136
Function
test_chat_completion_template_flags_anthropic_usage_adapter_fields
Anthropic-backend impersonation must be flagged as critical (not just major), so that ProtocolDetector fails the relay even when every required
tests/test_openai_protocol_templates.py:215
← previous
next →
501–600 of 825, ranked by callers