{"slug":"denk-halowerk-com-v1-contamination-check-4c4276","title":"Check whether evaluation items appear in a training or reference corpus by n-gra","host":"denk.halowerk.com","method":"POST","resource":"https://denk.halowerk.com/v1/contamination-check","category":"other","description":"Check whether evaluation items appear in a training or reference corpus by n-gram overlap, per item and overall. Builds the set of word n-grams (default 8, configurable 5–13) of the supplied corpus and reports for every evaluation item the share of its n-grams found in the corpus, the longest matchi","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":908,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"corpus":"Once upon a time the quick brown fox jumps over the lazy dog and ran.","items":["The quick brown fox jumps over the lazy dog today."],"n":5},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"corpus":{"maxLength":20000000,"minLength":1,"type":"string"},"items":{"items":{"maxLength":20000,"type":"string"},"maxItems":5000,"minItems":1,"type":"array"},"n":{"default":8,"maximum":13,"minimum":5,"type":"integer"},"threshold":{"default":0.5,"maximum":1,"minimum":0.01,"type":"number"}},"required":["items","corpus"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":910,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":887,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":923,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":907,"error":null}],"description_full":"Check whether evaluation items appear in a training or reference corpus by n-gram overlap, per item and overall. Builds the set of word n-grams (default 8, configurable 5–13) of the supplied corpus and reports for every evaluation item the share of its n-grams found in the corpus, the longest matching span and a contaminated flag above the threshold. Mirrors the n-gram overlap method used in published contamination analyses; corpus up to 20 MB of text.","last_updated":"2026-11-24T10:16:51.546Z","schemes":["exact"]}