Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
8
27
query
stringlengths
8
82
candidate
stringlengths
9
46
language
stringclasses
3 values
relation
stringclasses
11 values
expect_reuse
bool
2 classes
guard_class
stringclasses
6 values
note
stringclasses
18 values
exact_variant-001
How do I reset my password?
how do i reset my password
en
exact_variant
true
null
differs only in case or terminal punctuation
exact_variant-002
WHERE IS MY INVOICE?
Where is my invoice?
en
exact_variant
true
null
differs only in case or terminal punctuation
exact_variant-003
Can I change my shipping address?
can i change my shipping address?
en
exact_variant
true
null
differs only in case or terminal punctuation
exact_variant-004
What is the refund policy?
What is the refund policy???
en
exact_variant
true
null
differs only in case or terminal punctuation
exact_variant-005
How do I export my data?
How do I export my data
en
exact_variant
true
null
differs only in case or terminal punctuation
exact_variant-006
返品の方法を教えてください。
返品の方法を教えてください
ja
exact_variant
true
null
differs only in case or terminal punctuation
exact_variant-007
パスワードを再設定したい。
パスワードを再設定したい
ja
exact_variant
true
null
differs only in case or terminal punctuation
exact_variant-008
請求書はどこで確認できますか?
請求書はどこで確認できますか?
ja
exact_variant
true
null
differs only in case or terminal punctuation
boilerplate-001
Hi team, How do I reset my password? Thanks in advance! Best regards, Bob
How do I reset my password?
en
boilerplate
true
null
same request wrapped in greeting + sign-off
boilerplate-002
Hi team, Where can I download my invoice? Thanks in advance! Best regards, Bob
Where can I download my invoice?
en
boilerplate
true
null
same request wrapped in greeting + sign-off
boilerplate-003
Hi team, Can I change my shipping address? Thanks in advance! Best regards, Bob
Can I change my shipping address?
en
boilerplate
true
null
same request wrapped in greeting + sign-off
boilerplate-004
Hello support, How do I reset my password? Kind regards, Alice
How do I reset my password?
en
boilerplate
true
null
same request wrapped in greeting + sign-off
boilerplate-005
Hello support, Where can I download my invoice? Kind regards, Alice
Where can I download my invoice?
en
boilerplate
true
null
same request wrapped in greeting + sign-off
boilerplate-006
Hello support, Can I change my shipping address? Kind regards, Alice
Can I change my shipping address?
en
boilerplate
true
null
same request wrapped in greeting + sign-off
boilerplate-007
Good morning, How do I reset my password? Thanks!
How do I reset my password?
en
boilerplate
true
null
same request wrapped in greeting + thanks
boilerplate-008
Good morning, Where can I download my invoice? Thanks!
Where can I download my invoice?
en
boilerplate
true
null
same request wrapped in greeting + thanks
boilerplate-009
Good morning, Can I change my shipping address? Thanks!
Can I change my shipping address?
en
boilerplate
true
null
same request wrapped in greeting + thanks
boilerplate-010
How do I reset my password? Sincerely, Dana
How do I reset my password?
en
boilerplate
true
null
same request wrapped in sign-off only
boilerplate-011
Where can I download my invoice? Sincerely, Dana
Where can I download my invoice?
en
boilerplate
true
null
same request wrapped in sign-off only
boilerplate-012
Can I change my shipping address? Sincerely, Dana
Can I change my shipping address?
en
boilerplate
true
null
same request wrapped in sign-off only
boilerplate-013
Hey there, How do I reset my password? Thanks so much!
How do I reset my password?
en
boilerplate
true
null
same request wrapped in inline greeting + thanks
boilerplate-014
Hey there, Where can I download my invoice? Thanks so much!
Where can I download my invoice?
en
boilerplate
true
null
same request wrapped in inline greeting + thanks
boilerplate-015
Hey there, Can I change my shipping address? Thanks so much!
Can I change my shipping address?
en
boilerplate
true
null
same request wrapped in inline greeting + thanks
boilerplate-016
お世話になっております。 返品の方法を教えてください。 よろしくお願いいたします。
返品の方法を教えてください。
ja
boilerplate
true
null
same request wrapped in 定型の挨拶と結び
boilerplate-017
お世話になっております。 請求書はどこで確認できますか。 よろしくお願いいたします。
請求書はどこで確認できますか。
ja
boilerplate
true
null
same request wrapped in 定型の挨拶と結び
boilerplate-018
お世話になっております。 パスワードを再設定する手順を教えてください。 よろしくお願いいたします。
パスワードを再設定する手順を教えてください。
ja
boilerplate
true
null
same request wrapped in 定型の挨拶と結び
boilerplate-019
山田様 返品の方法を教えてください。 よろしくお願いします。 鈴木
返品の方法を教えてください。
ja
boilerplate
true
null
same request wrapped in 宛名と結び
boilerplate-020
山田様 請求書はどこで確認できますか。 よろしくお願いします。 鈴木
請求書はどこで確認できますか。
ja
boilerplate
true
null
same request wrapped in 宛名と結び
boilerplate-021
山田様 パスワードを再設定する手順を教えてください。 よろしくお願いします。 鈴木
パスワードを再設定する手順を教えてください。
ja
boilerplate
true
null
same request wrapped in 宛名と結び
boilerplate-022
いつも大変お世話になっております。返品の方法を教えてください。恐れ入りますが、ご確認のほどよろしくお願いします。
返品の方法を教えてください。
ja
boilerplate
true
null
same request wrapped in 冗長な敬語
boilerplate-023
いつも大変お世話になっております。請求書はどこで確認できますか。恐れ入りますが、ご確認のほどよろしくお願いします。
請求書はどこで確認できますか。
ja
boilerplate
true
null
same request wrapped in 冗長な敬語
boilerplate-024
いつも大変お世話になっております。パスワードを再設定する手順を教えてください。恐れ入りますが、ご確認のほどよろしくお願いします。
パスワードを再設定する手順を教えてください。
ja
boilerplate
true
null
same request wrapped in 冗長な敬語
boilerplate-025
こんにちは。返品の方法を教えてください。ありがとうございます。
返品の方法を教えてください。
ja
boilerplate
true
null
same request wrapped in 挨拶とお礼
boilerplate-026
こんにちは。請求書はどこで確認できますか。ありがとうございます。
請求書はどこで確認できますか。
ja
boilerplate
true
null
same request wrapped in 挨拶とお礼
boilerplate-027
こんにちは。パスワードを再設定する手順を教えてください。ありがとうございます。
パスワードを再設定する手順を教えてください。
ja
boilerplate
true
null
same request wrapped in 挨拶とお礼
filler-001
Could you please tell me how do I reset my password?
How do I reset my password?
en
filler
true
null
politeness filler only; the request is identical
filler-002
I was wondering how do I reset my password?
How do I reset my password?
en
filler
true
null
politeness filler only; the request is identical
filler-003
Quick question: what is the refund policy?
What is the refund policy?
en
filler
true
null
politeness filler only; the request is identical
filler-004
Please let me know where can I download my invoice?
Where can I download my invoice?
en
filler
true
null
politeness filler only; the request is identical
filler-005
恐れ入りますが、返品の方法を教えてください。
返品の方法を教えてください。
ja
filler
true
null
politeness filler only; the request is identical
filler-006
お手数ですが、請求書はどこで確認できますか。
請求書はどこで確認できますか。
ja
filler
true
null
politeness filler only; the request is identical
negation-001
Can I cancel my subscription?
Can I not cancel my subscription?
en
negation
false
negation
identical wording except a negation cue
negation-002
Is the API key required?
Is the API key not required?
en
negation
false
negation
identical wording except a negation cue
negation-003
Does the free plan include support?
Does the free plan exclude support?
en
negation
false
negation
identical wording except a negation cue
negation-004
Can I use this offline?
Can I use this without an internet connection?
en
negation
false
negation
identical wording except a negation cue
negation-005
Is my data deleted after 30 days?
Is my data never deleted after 30 days?
en
negation
false
negation
identical wording except a negation cue
negation-006
Should I enable two factor authentication?
Should I disable two factor authentication?
en
negation
false
negation
identical wording except a negation cue
negation-007
返品できますか。
返品できませんか。
ja
negation
false
negation
identical wording except a negation cue
negation-008
この機能は使えますか。
この機能は使えないですか。
ja
negation
false
negation
identical wording except a negation cue
negation-009
無料プランでサポートは受けられますか。
無料プランでサポートは受けられませんか。
ja
negation
false
negation
identical wording except a negation cue
negation-010
データは削除されますか。
データは削除されませんか。
ja
negation
false
negation
identical wording except a negation cue
quantity-001
How do I retry after 3 seconds?
How do I retry after 30 seconds?
en
quantity
false
numeric
same question, different quantity
quantity-002
What happens after 7 failed logins?
What happens after 3 failed logins?
en
quantity
false
numeric
same question, different quantity
quantity-003
Can I invite 5 users on the team plan?
Can I invite 50 users on the team plan?
en
quantity
false
numeric
same question, different quantity
quantity-004
Is there a 14 day trial?
Is there a 30 day trial?
en
quantity
false
numeric
same question, different quantity
quantity-005
What is the limit of 100 requests per minute?
What is the limit of 1000 requests per minute?
en
quantity
false
numeric
same question, different quantity
quantity-006
How do I get a refund within 30 days?
How do I get a refund within 90 days?
en
quantity
false
numeric
same question, different quantity
quantity-007
3日以内に返品できますか。
30日以内に返品できますか。
ja
quantity
false
numeric
same question, different quantity
quantity-008
5人まで招待できますか。
50人まで招待できますか。
ja
quantity
false
numeric
same question, different quantity
quantity-009
14日間の無料期間はありますか。
30日間の無料期間はありますか。
ja
quantity
false
numeric
same question, different quantity
unit-001
Does the plan include 100GB of storage?
Does the plan include 100MB of storage?
en
unit
false
unit
same number, different unit
unit-002
Is the timeout 30s or configurable?
Is the timeout 30ms or configurable?
en
unit
false
unit
same number, different unit
unit-003
What does the 20% discount apply to?
What does the 20 dollars discount apply to?
en
unit
false
unit
same number, different unit
unit-004
Can I upload a 2GB file?
Can I upload a 2MB file?
en
unit
false
unit
same number, different unit
unit-005
ストレージは100GBまでですか。
ストレージは100MBまでですか。
ja
unit
false
unit
same number, different unit
proper_noun-001
Does the X1 Carbon support 32GB of RAM?
Does the X1 Yoga support 32GB of RAM?
en
proper_noun
false
proper_noun
same question, different product or vendor
proper_noun-002
How do I migrate from Postgres to the cloud?
How do I migrate from Oracle to the cloud?
en
proper_noun
false
proper_noun
same question, different product or vendor
proper_noun-003
Is Stripe supported for billing?
Is Paypal supported for billing?
en
proper_noun
false
proper_noun
same question, different product or vendor
proper_noun-004
How do I connect the Slack integration?
How do I connect the Teams integration?
en
proper_noun
false
proper_noun
same question, different product or vendor
proper_noun-005
Does the RTX-4090 fit this case?
Does the RTX-3090 fit this case?
en
proper_noun
false
proper_noun
same question, different product or vendor
proper_noun-006
What is the status of the Frankfurt region?
What is the status of the Singapore region?
en
proper_noun
false
proper_noun
same question, different product or vendor
proper_noun-007
Can I deploy on Kubernetes without Helm?
Can I deploy on Nomad without Helm?
en
proper_noun
false
proper_noun
same question, different product or vendor
proper_noun-008
Stripeでの支払いに対応していますか。
Paypalでの支払いに対応していますか。
ja
proper_noun
false
proper_noun
same question, different product or vendor
proper_noun-009
X1 Carbonは32GBに対応していますか。
X1 Yogaは32GBに対応していますか。
ja
proper_noun
false
proper_noun
same question, different product or vendor
temporal-001
What is the 2024 corporate tax rate?
What is the 2025 corporate tax rate?
en
temporal
false
temporal
same question, different time anchor
temporal-002
What were the pricing tiers in 2023?
What were the pricing tiers in 2025?
en
temporal
false
temporal
same question, different time anchor
temporal-003
What is the latest release?
What was last year's release?
en
temporal
false
temporal
same question, different time anchor
temporal-004
What is today's exchange rate?
What was yesterday's exchange rate?
en
temporal
false
temporal
same question, different time anchor
temporal-005
How did the Q1 numbers look?
How did the Q3 numbers look?
en
temporal
false
temporal
same question, different time anchor
temporal-006
2024年の税率はいくらですか。
2025年の税率はいくらですか。
ja
temporal
false
temporal
same question, different time anchor
temporal-007
今年の料金プランを教えてください。
昨年の料金プランを教えてください。
ja
temporal
false
temporal
same question, different time anchor
temporal-008
最新のリリース内容を教えてください。
昨年のリリース内容を教えてください。
ja
temporal
false
temporal
same question, different time anchor
question_type-001
How do I reset my password?
Why do I need to reset my password?
en
question_type
false
question_type
same topic, different kind of question
question_type-002
What is rate limiting?
Why is rate limiting applied?
en
question_type
false
question_type
same topic, different kind of question
question_type-003
How do I cancel my plan?
When can I cancel my plan?
en
question_type
false
question_type
same topic, different kind of question
question_type-004
Where do I find the API key?
Who can see the API key?
en
question_type
false
question_type
same topic, different kind of question
question_type-005
How much does the team plan cost?
What does the team plan include?
en
question_type
false
question_type
same topic, different kind of question
question_type-006
How do I enable SSO?
Why should I enable SSO?
en
question_type
false
question_type
same topic, different kind of question
question_type-007
返品の方法を教えてください。
返品が必要な理由を教えてください。
ja
question_type
false
question_type
same topic, different kind of question
question_type-008
料金はいくらですか。
料金はいつ請求されますか。
ja
question_type
false
question_type
same topic, different kind of question
signoff_word_as_content-001
Translate cheers into French
Translate cheers into German
en
signoff_word_as_content
false
proper_noun
the prompt CONTAINS a sign-off word as content; naive boilerplate stripping collapses both onto one key
signoff_word_as_content-002
How do I say cheers in French?
How do I say cheers in Italian?
en
signoff_word_as_content
false
proper_noun
the prompt CONTAINS a sign-off word as content; naive boilerplate stripping collapses both onto one key
signoff_word_as_content-003
Is sincerely too formal for a cover letter?
Is sincerely still used in business email?
en
signoff_word_as_content
false
proper_noun
the prompt CONTAINS a sign-off word as content; naive boilerplate stripping collapses both onto one key
signoff_word_as_content-004
Compare best regards and kind regards in email
Compare best regards and warm regards in email
en
signoff_word_as_content
false
proper_noun
the prompt CONTAINS a sign-off word as content; naive boilerplate stripping collapses both onto one key
signoff_word_as_content-005
What does cheers mean in British English?
What does cheers mean in Australian English?
en
signoff_word_as_content
false
proper_noun
the prompt CONTAINS a sign-off word as content; naive boilerplate stripping collapses both onto one key
unrelated-001
How do I reset my password?
What is the refund policy?
en
unrelated
false
null
different topics; a correct cache must miss on similarity alone
unrelated-002
How do I reset my password?
Does the API support webhooks?
en
unrelated
false
null
different topics; a correct cache must miss on similarity alone
unrelated-003
How do I reset my password?
How do I add a teammate?
en
unrelated
false
null
different topics; a correct cache must miss on similarity alone
unrelated-004
How do I reset my password?
Where can I download my invoice?
en
unrelated
false
null
different topics; a correct cache must miss on similarity alone
unrelated-005
How do I reset my password?
What is the uptime SLA?
en
unrelated
false
null
different topics; a correct cache must miss on similarity alone
End of preview. Expand in Data Studio

EchoCache Guard Benchmark

131 labelled prompt pairs that measure the one thing a semantic cache must never get wrong: serving an answer written for a different question.

Every negative pair is a high-similarity negative — two prompts that differ in exactly one meaning-carrying element. Those are the pairs a similarity score cannot decide, and they are where a semantic cache turns into a wrong-answer generator.

Use it to score any cache or matcher, not only EchoCache.

Ground truth

expect_reuse = true   <=>  an answer written for `candidate` is a CORRECT answer to `query`
expect_reuse = false  <=>  serving the cached answer would be wrong or misleading
count
pairs 131
may reuse (expect_reuse: true) 41
must not reuse (expect_reuse: false) 90
English / Japanese / mixed 84 / 33 / 14

Fields

field meaning
id stable identifier, <relation>-<n>
query the incoming prompt
candidate the prompt already in the cache
language en, ja or mixed
relation why this pair is in the set (see below)
expect_reuse ground truth — may the cached answer be served?
guard_class for negatives, which semantic difference makes reuse wrong
note one-line justification of the label

Relations

Positives — a correct cache should reuse these

relation n what varies
exact_variant 8 case, terminal punctuation
boilerplate 27 greetings, sign-offs, Japanese honorific openings and closings
filler 6 politeness wrappers (Could you please tell me …, お手数ですが、…)

Negatives — reuse would be a wrong answer

relation n what differs guard_class
negation 10 a negation cue only negation
quantity 9 a number only (3 vs 30 seconds) numeric
unit 5 a unit only (100GB vs 100MB) unit
proper_noun 9 a product or vendor (X1 Carbon vs X1 Yoga) proper_noun
temporal 8 a time anchor (2024 vs 2025, latest vs last year) temporal
question_type 8 the interrogative (How vs Why) question_type
signoff_word_as_content 5 a sign-off word used as content (Translate cheers into French / … German) proper_noun
unrelated 36 different topics — a correct cache misses on similarity alone

signoff_word_as_content exists because of a real defect found during development: boilerplate stripping anchored on a bare word turned Translate cheers into French into translate, colliding with every other Translate … prompt and serving a wrong answer through the exact-match path, where no guard runs. Any cache that strips sign-offs needs these five pairs.

Scoring

pip install numpy huggingface_hub
python3 evaluate.py                          # scores the EchoCache matcher from the Hub
python3 evaluate.py --matcher ./my_matcher.py

evaluate.py expects a module exposing match(query, candidate, threshold, use_guard) -> {"reuse": bool, "similarity": float}.

The headline metric is wrong reuse: the share of "must not reuse" pairs served from cache anyway. Reuse recall is only worth reading once wrong reuse is near zero — a matcher that reuses nothing scores a perfect 0% wrong reuse and is useless.

Baseline: EchoCache matcher v1.0.0

NagaYu/echocache-matcher, character 3-gram cosine + MismatchGuard:

threshold guard accuracy reuse recall wrong reuse
0.92 (default) on 97.7% 92.7% 0 / 90
0.92 off 93.1% 92.7% 6 / 90
0.86 on 97.7% 95.1% 1 / 90
0.86 off 84.0% 95.1% 19 / 90
0.80 on 99.2% 100% 1 / 90
0.80 off 77.9% 100% 29 / 90
0.70 off 69.5% 100% 40 / 90

The "guard off" rows are what a pure similarity threshold does on its own: at 0.80 it reuses everything it should — and 29 pairs it should not.

Remaining errors at 0.92, guard on (all three are the same shape, and they are misses, not wrong answers):

id similarity what happens
boilerplate-019 0.807 a Japanese business-mail wrapper (山田様鈴木) leaves a bare surname line the normalizer deliberately does not strip
boilerplate-020 0.819 same
boilerplate-021 0.873 same

At 0.80 those three are reused correctly, and the single remaining error becomes signoff_word_as_content-004 (kind regards vs warm regards, similarity 0.891) — a wrong reuse the guard does not catch because the differing words are not proper nouns.

Provenance and honest caveats

  • Hand-authored synthetic pairs. These are not production traffic and contain no user data, no PII and no scraped content. They were written to isolate one variable at a time.
  • Not an independent evaluation. The benchmark was written by the same author, alongside the matcher it scores. Two matcher defects were found with this set and fixed in response to it (a boilerplate over-strip and a missing exclude negation cue), so the numbers above include that feedback loop. Treat it as a regression baseline and a diagnostic, not as a third-party leaderboard.
  • Small and deliberately adversarial. 131 pairs, weighted 2:1 toward negatives. Absolute accuracy figures do not transfer to your traffic; the wrong-reuse comparison between configurations is the part that generalizes.
  • Two languages. English and Japanese only. A cache for other languages needs its own pairs.
  • No cross-lingual pairs beyond unrelated — surface matchers score those at 0.00 and the case is uninteresting.

Extending it

Add rows to pairs.jsonl in the same shape. The most valuable additions are negatives from your own logs: two prompts your cache treated as the same and should not have. One real wrong hit is worth ten synthetic pairs.

The three repositories

  • SpaceNagaYu/EchoCache: the running cache, dashboard and threshold sweep.
  • ModelNagaYu/echocache-matcher: the matching core as one numpy-only file.
  • DatasetNagaYu/echocache-guard-benchmark: this benchmark.

Apache-2.0.

Downloads last month
-

Space using NagaYu/echocache-guard-benchmark 1