MCPcopy Create free account

hub / github.com/canarybyte/veridrop / functions

Functions825 in github.com/canarybyte/veridrop

Method__init__
(self, base_url: str = "https://mock.anthropic.example")
tests/test_anthropic_long_context.py:21
Method__init__
(self)
tests/test_active_detectors.py:303
Method__init__
(self, base_url: str = "https://mock.example.com")
tests/test_long_context.py:252
Method_capture_headers
(h: httpx.Headers)
src/relay_detector/protocols/anthropic/client.py:370
Function_clean_state
()
tests/test_ratelimit.py:13
Function_clear_probe_cache
()
tests/test_probe.py:104
Function_cmp_behavioral
(b: dict, r: dict)
src/relay_detector/protocols/anthropic/comparator.py:190
Function_cmp_consistency
(b: dict, r: dict)
src/relay_detector/protocols/anthropic/comparator.py:209
Function_cmp_identity
(b: dict, r: dict)
src/relay_detector/protocols/anthropic/comparator.py:157
Function_cmp_integrity
(b: dict, r: dict)
src/relay_detector/protocols/anthropic/comparator.py:337
Function_cmp_knowledge
(b: dict, r: dict)
src/relay_detector/protocols/anthropic/comparator.py:249
Function_cmp_message_id
(b: dict, r: dict)
src/relay_detector/protocols/anthropic/comparator.py:387
Function_cmp_pdf
(b: dict, r: dict)
src/relay_detector/protocols/anthropic/comparator.py:275
Function_cmp_protocol
(b: dict, r: dict)
src/relay_detector/protocols/anthropic/comparator.py:375
Function_cmp_structured_output
(b: dict, r: dict)
src/relay_detector/protocols/anthropic/comparator.py:288
Function_cmp_thinking_signature
(b: dict, r: dict)
src/relay_detector/protocols/anthropic/comparator.py:130
Function_make_throttled_client
( base_client: GeminiClient, passive_detectors: list[PassiveDetector], max_concurrent: int, )
src/relay_detector/protocols/gemini/runner.py:12
Function_make_throttled_client
( base_client: AnthropicClient, passive_detectors: list[PassiveDetector], max_concurrent: int, )
src/relay_detector/protocols/anthropic/runner.py:12
Function_make_throttled_client
( base_client: OpenAIChatClient, passive_detectors: list[PassiveDetector], max_concurrent: int, )
src/relay_detector/protocols/openai/runner.py:12
Function_mock_long_context_sleep
Replace the 75s TPM-reset sleep in the detector with a no-op so tests that exercise rate_limited paths don't actually wait minutes. Individual
tests/test_long_context.py:277
Function_no_sleep
(_s)
tests/test_long_context.py:284
Function_ttft_probe
(client: ThrottledGeminiClient, model: str)
src/relay_detector/protocols/gemini/runner.py:24
Function_ttft_probe
(client: ThrottledClient, model: str)
src/relay_detector/protocols/anthropic/runner.py:24
Function_ttft_probe
(client: ThrottledOpenAIClient, model: str)
src/relay_detector/protocols/openai/runner.py:24
Function_usage_close
(left: dict[str, Any], right: dict[str, Any])
src/relay_detector/protocols/openai/detectors/token_billing.py:229
Functionaggregate_one
Build the per-domain detail view: stats + full job history. Returns None if no reports exist for this domain. Otherwise returns (stats, jobs)
web/leaderboard.py:290
Functionall_domains
Every domain that has at least one report — used to populate sitemap.
web/leaderboard.py:375
Functionalways_429
(**kwargs)
tests/test_long_context.py:686
Functionapi_detect_claude
( request: Request, response: FastAPIResponse, base_url: str = Form(...), api_key: str = Form(
web/server.py:379
Functionapi_detect_gemini
( request: Request, base_url: str = Form(...), api_key: str = Form(...), model: str = Form(...
web/server.py:478
Functionapi_detect_openai
( request: Request, base_url: str = Form(...), api_key: str = Form(...), model: str = Form(...
web/server.py:444
Functionapi_probe
Probe a relay's /v1/models for the form's pre-submit pill. Always returns 200 with a structured payload — the frontend renders any upstream e
web/server.py:329
Functionapi_result_json
(job_id: str)
web/server.py:530
Functionapi_status
(job_id: str)
web/server.py:505
Functionapi_wishlist
( email: str = Form(...), protocol: str = Form(...), )
web/server.py:239
Methodavg
(self)
web/leaderboard.py:79
Methodbadge_class
(self)
web/leaderboard.py:283
Methodbase_url
Pass-through so detectors treat this wrapper as the underlying client.
src/relay_detector/protocols/anthropic/client.py:270
Methodbase_url
Pass-through so detectors treat this wrapper as the underlying client.
src/relay_detector/protocols/openai/client.py:180
Functionbaseline_path
(model_id: str, mode: Mode)
src/relay_detector/protocols/gemini/__init__.py:90
Functionbaseline_path
(model_id: str, mode: Mode)
src/relay_detector/protocols/anthropic/__init__.py:71
Functionbaseline_path
(model_id: str, mode: Mode)
src/relay_detector/protocols/openai/__init__.py:81
FunctionbindItem
(it)
web/static/app.js:65
Functionboom
(**kwargs)
tests/test_long_context.py:361
Functionbuild_config
(mode: Mode, max_concurrent: int = 3)
src/relay_detector/protocols/gemini/__init__.py:69
Functionbuild_config
(mode: Mode, max_concurrent: int = 3)
src/relay_detector/protocols/anthropic/__init__.py:48
Functionbuild_config
(mode: Mode, max_concurrent: int = 3)
src/relay_detector/protocols/openai/__init__.py:60
Functionbuild_detectors
(mode: Mode | None = None)
src/relay_detector/protocols/anthropic/__init__.py:52
Functionbuild_runner
( client: AnthropicClient, detectors: list[BaseDetector], config: ExecutionConfig, )
src/relay_detector/protocols/anthropic/__init__.py:63
Functionbuild_runner
( client: OpenAIChatClient, detectors: list[BaseDetector], config: ExecutionConfig, )
src/relay_detector/protocols/openai/__init__.py:73
Functioncapture
(**kwargs)
tests/test_anthropic_long_context.py:151
Functioncapture
(**kwargs)
tests/test_long_context.py:546
Methodchat_completions_create
( self, **body: Any )
src/relay_detector/protocols/gemini/client.py:231
Methodchat_completions_create
( self, **body: Any )
src/relay_detector/protocols/openai/client.py:234
Methodchat_completions_create
(self, **body: Any)
tests/test_openai_phase2.py:68
Methodchat_completions_create
(self, **body: Any)
tests/test_openai_phase2.py:139
Methodchat_completions_create
(self, **body: Any)
tests/test_openai_baseline.py:181
Methodchat_completions_create
(self, **body: Any)
tests/test_openai_baseline.py:214
Methodchat_completions_create
( self, **body: Any )
tests/test_gemini_phase3.py:131
Methodchat_completions_stream
( self, **body: Any )
src/relay_detector/protocols/gemini/client.py:239
Methodchat_completions_stream
( self, **body: Any )
src/relay_detector/protocols/openai/client.py:242
Methodchat_completions_stream
(self, **body: Any)
tests/test_openai_phase2.py:108
Methodchat_completions_stream
(self, **body: Any)
tests/test_gemini_phase3.py:175
Functionclaude_index
(request: Request)
web/server.py:113
Functioncompare_cmd
对比一份 relay detect 报告与一个官方基线,输出字段级差异。
src/relay_detector/cli.py:465
Functioncount_tokens
(**kwargs)
tests/test_anthropic_long_context.py:187
Methodcount_tokens
( self, **body: Any )
src/relay_detector/protocols/anthropic/client.py:337
Methoddate_str
(self)
web/leaderboard.py:279
Functiondefault_model
()
src/relay_detector/protocols/gemini/__init__.py:29
Functiondefault_model
()
src/relay_detector/protocols/anthropic/__init__.py:22
Functiondegrading
(**kwargs)
tests/test_long_context.py:579
Functiondegrading_response
(**kwargs)
tests/test_long_context.py:386
Functiondetails
(result: dict[str, Any] | None)
src/relay_detector/core/comparator_framework.py:59
Functiondetect
Run a multi-detector quality check against a relay station.
src/relay_detector/cli.py:181
Functionfake_anthropic
(*args)
tests/test_jobs_long_context.py:50
Functionfake_assemble
(target_tokens, needles, seed, protocol=None)
tests/test_anthropic_long_context.py:183
Functionfake_openai
(*args)
tests/test_jobs_long_context.py:83
Functionfake_reports
Stage 4 reports across 2 domains, multiple protocols.
tests/test_leaderboard_detail.py:15
Functionfake_sleep
(s)
tests/test_long_context.py:619
Functionfaq_index
Standalone FAQ page — single source of truth in faq_data.py drives both the rendered HTML and the FAQPage JSON-LD schema in <head>.
web/server.py:224
Methodfinalize
(self)
src/relay_detector/protocols/anthropic/detectors/protocol.py:105
Methodfinalize
(self)
src/relay_detector/protocols/openai/detectors/protocol.py:48
Methodfinalize
(self)
tests/test_client.py:286
Functionfind_entry
Look up a Q by its anchor (e.g. 'claude-thinking-signature'). Anchor format: '<category-id>-<entry-id>'. Used by product pages that deep-link
web/faq_data.py:450
Functiongemini_index
(request: Request)
web/server.py:130
Functionget
Look up a job by id. Falls back to disk for jobs that survived a restart.
web/jobs.py:118
Functionhandler
(request: httpx.Request)
tests/test_openai_phase2.py:171
Functionhandler
(request: httpx.Request)
tests/test_client.py:39
Functionhandler
(request: httpx.Request)
tests/test_probe.py:125
Functionhandler
(request: httpx.Request)
tests/test_gemini_phase3.py:299
Functionhealthz
()
web/server.py:643
Functionhub
(request: Request)
web/server.py:108
Functionimage_path
(job_id: str, protocol: str)
web/jobs.py:154
Methodis_ranked
≥ 2 samples means the score is statistically meaningful.
web/leaderboard.py:145
Functionisolated_jobs_dir
Avoid touching real /opt/veridrop/web_data/jobs during tests.
tests/test_jobs_long_context.py:17
Methodlast_checked
(self)
web/leaderboard.py:140
Functionleaderboard_domain_page
每域名独立详情页 — SEO 长尾关键的杠杆。 用户搜「{domain} 中转站怎么样」/「{domain} 真假」/「{domain} 评测」时, Google 直接命中此页。包含该域名的所有历史检测、协议覆盖、最常失败的 detector,以及指向每份具体 /r/{jo
web/server.py:186
Functionleaderboard_page
中转站红黑榜 — 按域名聚合所有公开检测报告。 SEO/GEO 杀手锏:任意「XX 中转站怎么样」搜索直接命中此页。 Layout: - Top 10 (主榜):always visible, no pagination, sorted by Bayesian-
web/server.py:143
Functionllms_txt
()
web/server.py:660
Functionmake_client
(base_url: str, api_key: str, timeout: float)
src/relay_detector/protocols/openai/__init__.py:69
← previousnext →401–500 of 825, ranked by callers