_canary stringclasses 1
value | id stringlengths 9 25 | tier stringclasses 7
values | type stringclasses 4
values | tags listlengths 2 4 | prompt stringlengths 137 1.63k | sources listlengths 1 3 | basis stringlengths 22 100 | held_out bool 1
class | gold stringlengths 1 1.14k | checker stringclasses 10
values | repo unknown | rubric listlengths 5 6 β | difficulty int64 3 3 β | track stringclasses 2
values | must_not listlengths 1 2 β | answer stringclasses 3
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | dbg-barrett-rounding | debugging | code | [
"ml-kem",
"modular-reduction",
"bug"
] | This Barrett reduction is subtly wrong: it disagrees with the ML-KEM
specification for some inputs. Find the defect, fix it, and return the full
corrected module (keep the name `barrett_reduce`). Return one Python code block.
```python
Q = 3329
def barrett_reduce(a):
v = ((1 << 26) + Q // 2) // Q
t = (v * a) >... | [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 BarrettReduce rounding term | false | ```python
Q = 3329
def barrett_reduce(a):
v = ((1 << 26) + Q // 2) // Q
t = (v * a + (1 << 25)) >> 26
t *= Q
return a - t
```
| graders/checks/barrett.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | dbg-byteencode-endian | debugging | code | [
"ml-kem",
"serialisation",
"bug"
] | This ByteEncode_12 implementation uses big-endian bit packing, so it
disagrees with FIPS 203, which is little-endian. Fix it and return the full
corrected module (keep the name `byteencode12`). One Python code block.
```python
def byteencode12(a):
out = bytearray()
acc = 0
nb = 0
for x in a:
ac... | [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 ByteEncode_12 is little-endian | false | ```python
def byteencode12(a):
out = bytearray()
acc = 0
nb = 0
for x in a:
acc |= (x & 0xFFF) << nb
nb += 12
while nb >= 8:
out.append(acc & 0xFF)
acc >>= 8
nb -= 8
return bytes(out)
```
| graders/checks/byteencode.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | dbg-cbd-swap | debugging | code | [
"ml-kem",
"sampling",
"bug"
] | This SamplePolyCBD_eta=2 implementation is wrong: it computes a - c using
the two bit-halves in the wrong order, so every coefficient has the wrong
sign. Fix it and return the full corrected module (keep the name `cbd2`).
One Python code block.
```python
Q = 3329
def cbd2(b):
bits = []
for byte in b:
f... | [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 SamplePolyCBD bit ordering | false | ```python
Q = 3329
def cbd2(b):
bits = []
for byte in b:
for j in range(8):
bits.append((byte >> j) & 1)
out = []
for i in range(256):
a = bits[4*i] + bits[4*i+1]
c = bits[4*i+2] + bits[4*i+3]
out.append((a - c) % Q)
return out
```
| graders/checks/cbd.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | dbg-compress-floor | debugging | code | [
"ml-kem",
"compression",
"bug"
] | The `compress_d` below rounds in the wrong direction, so it disagrees with
FIPS 203 for many inputs. Fix `compress_d` (leave `decompress_d` if it is
already correct) and return the full corrected module. One Python code block.
```python
Q = 3329
def compress_d(x, d):
return ((x << d) // Q) & ((1 << d) - 1)
def dec... | [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 Compress_d uses rounding, not truncation | false | ```python
Q = 3329
def compress_d(x, d):
return (((x << d) + Q // 2) // Q) & ((1 << d) - 1)
def decompress_d(y, d):
return (y * Q + (1 << (d - 1))) >> d
```
| graders/checks/compress.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | dbg-implicit-reject-order | debugging | code | [
"ml-kem",
"decapsulation",
"bug"
] | This implicit-rejection function hashes the inputs in the wrong order. The
specification is K_bar = SHAKE256(z || c, 32). Fix it and return the full
corrected module (keep the name `implicit_reject`). One Python code block.
```python
import hashlib
def implicit_reject(z, c):
return hashlib.shake_256(c + z).digest(... | [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 implicit rejection hashes z then c | false | ```python
import hashlib
def implicit_reject(z, c):
return hashlib.shake_256(z + c).digest(32)
```
| graders/checks/implicit_reject.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | dbg-invntt-scaling | debugging | code | [
"ml-kem",
"ntt",
"bug"
] | The inverse NTT below omits a final step, so NTT followed by inverse NTT is
not the identity modulo q. Fix `invntt` and return the full corrected module
(keep both `ntt` and `invntt`). One Python code block.
```python
Q = 3329
def _br7(i):
return int(format(i, "07b")[::-1], 2)
ZETAS = [pow(17, _br7(i), Q) for i in... | [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 inverse NTT includes final scaling by 128^-1 mod q | false | ```python
Q = 3329
def _br7(i):
return int(format(i, "07b")[::-1], 2)
ZETAS = [pow(17, _br7(i), Q) for i in range(128)]
def ntt(a):
a = list(a); k = 1; length = 128
while length >= 2:
for start in range(0, 256, 2 * length):
zeta = ZETAS[k]; k += 1
for j in range(start, start... | graders/checks/invntt.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | fullscheme-mlkem-encaps | engineering | repo | [
"full-scheme",
"ml-kem",
"kat",
"fips-203"
] | `fixtures/mlkem-encaps` provides `primitives.py` with H (SHA3-256), G
(SHA3-512), KDF (SHAKE256) and `k_pke_encrypt(ek, m, r)`, plus `kat.json`
with fixed vectors and `check_kat.py`.
The current `encaps.py` is wrong β it applies a key-derivation step that
FIPS 203 removed:
```python
from primitives import H, G, KDF, ... | [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 ML-KEM encapsulation returns K directly (no KDF(K||H(c)) step) | false | ```python
from primitives import H, G, k_pke_encrypt
def encaps(ek, m):
kr = G(m + H(ek))
K, r = kr[:32], kr[32:]
c = k_pke_encrypt(ek, m, r)
return K, c
```
| null | {
"fixture": "fixtures/mlkem-encaps",
"mode": "kat",
"target": "encaps.py",
"context_files": [
"primitives.py"
],
"run": [
"python3",
"check_kat.py"
],
"timeout": 120
} | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | repo-cbom | engineering | repo | [
"cbom",
"cyclonedx",
"inventory"
] | Produce a CycloneDX-style Cryptographic Bill of Materials (CBOM) for the
repository `fixtures/svc-indirect`.
Requirements:
- `bomFormat` is exactly "CycloneDX"; include a `specVersion`.
- `components` is a non-empty list.
- Each component has a `name` and `cryptoProperties.assetType`.
- The inventory must incl... | [
"https://cyclonedx.org/capabilities/cbom/"
] | CycloneDX cryptographic-asset schema for CBOM output | false | {
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"components": [
{"type": "cryptographic-asset", "name": "MD5",
"cryptoProperties": {"assetType": "algorithm",
"algorithmProperties": {"primitive": "hash", "executionEnvironment": "software"}}},
{"type": "cryptographic-asset", "name": "RSA-2048"... | null | {
"fixture": "fixtures/svc-indirect",
"mode": "artifact",
"target": "cbom.json",
"context_files": [
"service.py",
"crypto/provider.py",
"config.yaml"
],
"run": [
"python3",
"check_cbom.py"
]
} | null | 3 | cbom | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | repo-discover-crypto | engineering | repo | [
"audit",
"discovery",
"crypto-hygiene"
] | You are auditing the repository in `fixtures/audit-app`. Identify the
weak-cryptography findings in `app.py`: the RSA key-size constant, the
hardcoded key, and the weak password hash.
For each finding, give the file name and the identifier involved.
Repository contents:
### app.py
```
"""Toy service with deliberatel... | [
"https://csrc.nist.gov/pubs/sp/800/131/a/r2/final"
] | Crypto hygiene: RSA key size, hardcoded secrets, weak hashes (NIST guidance) | false | Findings in app.py:
1. KEY_BITS = 1024 β RSA modulus too small; must be at least 2048 bits.
2. _HARDCODED_KEY β a secret key embedded in source; load it from the
environment (APP_KEY) instead.
3. hash_password uses hashlib.md5 β broken hash; use SHA-256.
| null | {
"fixture": "fixtures/audit-app",
"mode": "discovery",
"context_files": [
"app.py"
],
"expected": [
"KEY_BITS",
"HARDCODED_KEY",
"md5"
]
} | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | repo-discover-indirect | engineering | repo | [
"discovery",
"indirect-usage",
"evidence"
] | Audit the repository `fixtures/svc-indirect`. Cryptographic use is partly
INDIRECT: `service.py` calls into `crypto/provider.py`, and some algorithms
are selected in `config.yaml`.
Report every cryptographic finding, including indirect usage. Return JSON:
{"findings": [
{"file": "<path>", "symbol": "<function/class... | [
"https://csrc.nist.gov/pubs/cswp/39/cryptographic-agility-and-interoperability/final"
] | Cryptographic asset discovery incl. indirect usage (NIST CSWP 39 / CBOM practice) | false | {"findings": [
{"file": "crypto/provider.py", "symbol": "hash_password", "algorithm": "md5",
"operation": "hash", "line": 7, "evidence": "hashlib.md5 in provider"},
{"file": "crypto/provider.py", "symbol": "RSA2048", "algorithm": "rsa-2048",
"operation": "sign", "line": 10, "evidence": "RSA signer class"},
... | null | {
"fixture": "fixtures/svc-indirect",
"mode": "discovery",
"context_files": [
"service.py",
"crypto/provider.py",
"config.yaml"
],
"expected_findings": [
{
"file": "crypto/provider.py",
"symbol": "hash_password",
"algorithm": "md5",
"operation": "hash"
},
{
... | null | 3 | discovery | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | repo-patch-crypto | engineering | repo | [
"patch",
"remediation",
"crypto-hygiene"
] | The repository `fixtures/audit-app` has weak cryptography in `app.py` and a
failing test suite in `tests/test_app.py`.
Current app.py:
```python
import hashlib
KEY_BITS = 1024
_HARDCODED_KEY = b"0123456789abcdef"
def get_key():
return _HARDCODED_KEY
def hash_password(password: str) -> str:
return hashlib.m... | [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf",
"https://csrc.nist.gov/pubs/sp/800/131/a/r2/final"
] | Remediation: RSA >= 2048 bits, secrets from env, SHA-256 for passwords | false | ```python
import hashlib
import os
KEY_BITS = 2048
def get_key() -> bytes:
value = os.environ.get("APP_KEY")
if not value:
raise RuntimeError("APP_KEY is not set")
return value.encode()
def hash_password(password: str) -> str:
return hashlib.sha256(password.encode()).hexdigest()
```
| null | {
"fixture": "fixtures/audit-app",
"mode": "patch",
"target": "app.py",
"context_files": [
"tests/test_app.py"
],
"run": [
"python3",
"-m",
"unittest",
"discover",
"-s",
"tests",
"-v"
]
} | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | impl-barrett | implementation | code | [
"ml-kem",
"modular-reduction"
] | ML-KEM uses Barrett reduction with q = 3329 to map an integer a to the
representative congruent to a mod q in the range (-q/2, q/2]. The standard
routine is:
v = ((1 << 26) + q // 2) // q
t = (v * a + (1 << 25)) >> 26
t *= q
return a - t
Implement a module-level Python function:
barrett_reduce(a:... | [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 BarrettReduce with q = 3329 | false | ```python
Q = 3329
def barrett_reduce(a):
v = ((1 << 26) + Q // 2) // Q
t = (v * a + (1 << 25)) >> 26
t *= Q
return a - t
```
| graders/checks/barrett.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | impl-bitrev7 | implementation | code | [
"ml-kem",
"ntt"
] | ML-KEM uses BitRev7(i): reverse the 7-bit binary representation of the index i,
for 0 <= i < 128. For example BitRev7(1) = 64 and BitRev7(3) = 96.
Implement a module-level Python function:
bitrev7(i: int) -> int
Return a single Python code block containing only this function.
| [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 BitRev7 used by the NTT | false | ```python
def bitrev7(i):
r = 0
for b in range(7):
r |= ((i >> b) & 1) << (6 - b)
return r
```
| graders/checks/bitrev.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | impl-bytedecode12 | implementation | code | [
"ml-kem",
"serialisation",
"fips-203"
] | Implement FIPS 203 ByteDecode_12: unpack 384 bytes into 256 coefficients
(12 bits each, little-endian), the inverse of ByteEncode_12.
Implement a module-level Python function:
bytedecode12(b: bytes) -> list[int]
Return one Python code block.
| [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 ByteDecode_12 | false | ```python
def bytedecode12(b):
out = []
acc = 0
nb = 0
i = 0
while len(out) < 256:
while nb < 12:
acc |= b[i] << nb
i += 1
nb += 8
out.append(acc & 0xFFF)
acc >>= 12
nb -= 12
return out
```
| graders/checks/bytedecode.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | impl-byteencode12 | implementation | code | [
"ml-kem",
"serialisation",
"fips-203"
] | Implement FIPS 203 ByteEncode_12: pack 256 coefficients (each 12 bits, in
[0, 3329)) into 384 bytes using little-endian bit packing.
Implement a module-level Python function:
byteencode12(a: list[int]) -> bytes
Return one Python code block.
| [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 ByteEncode_12 | false | ```python
def byteencode12(a):
out = bytearray()
acc = 0
nb = 0
for x in a:
acc |= (x & 0xFFF) << nb
nb += 12
while nb >= 8:
out.append(acc & 0xFF)
acc >>= 8
nb -= 8
return bytes(out)
```
| graders/checks/byteencode.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | impl-cbd2 | implementation | code | [
"ml-kem",
"sampling",
"fips-203"
] | FIPS 203 defines SamplePolyCBD_eta. For eta = 2, the input is 128 bytes
(1024 bits) and the output is 256 coefficients.
Implement a module-level Python function:
cbd2(b: bytes) -> list[int]
returning the 256 coefficients reduced modulo q = 3329 (i.e. integers in
[0, 3329)). Return one Python code block.
| [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 SamplePolyCBD with eta=2 | false | ```python
Q = 3329
def cbd2(b):
bits = []
for byte in b:
for j in range(8):
bits.append((byte >> j) & 1)
out = []
for i in range(256):
a = bits[4*i] + bits[4*i+1]
c = bits[4*i+2] + bits[4*i+3]
out.append((a - c) % Q)
return out
```
| graders/checks/cbd.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | impl-compress | implementation | code | [
"ml-kem",
"compression"
] | FIPS 203 (ML-KEM) defines, for q = 3329 and 0 <= x < q:
Compress_d(x) = round( (2^d / q) * x ) mod 2^d
Decompress_d(y) = round( (q / 2^d) * y )
Implement two module-level Python functions:
compress_d(x: int, d: int) -> int
decompress_d(y: int, d: int) -> int
They must match the specification exac... | [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 Compress_d / Decompress_d definitions | false | ```python
Q = 3329
def compress_d(x, d):
return (((x << d) + Q // 2) // Q) & ((1 << d) - 1)
def decompress_d(y, d):
return (y * Q + (1 << (d - 1))) >> d
```
| graders/checks/compress.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | impl-implicit-reject | implementation | code | [
"ml-kem",
"decapsulation",
"fips-203"
] | In ML-KEM decapsulation, if the re-encryption check fails the algorithm
returns an implicit-rejection value K_bar = SHAKE256(z || c, 32), where z is
the 32-byte decapsulation key component and c is the ciphertext.
Implement a module-level Python function:
implicit_reject(z: bytes, c: bytes) -> bytes
returning th... | [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 implicit rejection K_bar = SHAKE256(z||c,32) | false | ```python
import hashlib
def implicit_reject(z, c):
return hashlib.shake_256(z + c).digest(32)
```
| graders/checks/implicit_reject.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | impl-validate-ek | implementation | code | [
"ml-kem",
"input-validation",
"secure-coding"
] | An ML-KEM-768 encapsulation key is exactly 1184 bytes. Implement a
module-level function that rejects malformed keys before use:
validate_ek(ek: bytes) -> bool
returning True only when the key length is exactly 1184 bytes, and False
otherwise. Return one Python code block.
| [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 ML-KEM-768 encapsulation key length = 1184 bytes | false | ```python
def validate_ek(ek):
return len(ek) == 1184
```
| graders/checks/validate_ek.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | impl-zetas | implementation | code | [
"ml-kem",
"ntt",
"constants"
] | ML-KEM's number-theoretic transform uses the 128-entry table
zetas[i] = 17^BitRev7(i) mod 3329, i = 0 .. 127
where BitRev7 reverses the 7-bit representation of i.
Implement a module-level function:
zetas() -> list[int]
returning this list of 128 integers. Return a single Python code block.
| [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 NTT zeta table zetas[i] = 17^BitRev7(i) mod 3329 | false | ```python
Q = 3329
def bitrev7(i):
r = 0
for b in range(7):
r |= ((i >> b) & 1) << (6 - b)
return r
def zetas():
return [pow(17, bitrev7(i), Q) for i in range(128)]
```
| graders/checks/zetas.py | null | null | null | null | null | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | judge-falcon-risk | judgment | rubric | [
"fn-dsa",
"implementation-risk"
] | Your team must ship a PQC signature scheme. A colleague proposes FALCON/FN-DSA
because its signatures are the smallest. What implementation risks should you
weigh before agreeing, and what would you recommend?
| [
"https://falcon-sign.info/",
"https://www.nist.gov/news-events/news/2024/08/announcing-approval-three-federal-information-processing-standards-fips"
] | FN-DSA floating-point sampling; FIPS 206 still in development | false | FN-DSA (FALCON) does give the smallest signatures, but the cost is
implementation risk. It relies on floating-point FFT Gaussian sampling, and
making that constant-time is notoriously hard; floating-point non-determinism
across platforms also threatens reproducibility. These factors raise the risk of
side-channel leaka... | null | null | [
{
"id": "floating-point",
"desc": "identifies floating-point FFT sampling",
"weight": 1,
"match_any": [
"floating-point",
"floating point",
"fft"
]
},
{
"id": "side-channel",
"desc": "raises constant-time / side-channel difficulty",
"weight": 1,
"match_any":... | null | null | [
[
"falcon is easy to implement",
"no side-channel risk"
]
] | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | judge-iot-signature | judgment | rubric | [
"ml-dsa",
"slh-dsa",
"engineering-tradeoff"
] | You must add digital signatures to a battery-powered sensor that sends small
(~200 byte) telemetry frames over a low-bandwidth LoRa link. Compare
ML-DSA-44 and SLH-DSA-128s and recommend one, with reasoning.
| [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.204.pdf",
"https://nvlpubs.nist.gov/nistpubs/fips/NIST.FIPS.205.pdf"
] | FIPS 204 (ML-DSA) vs FIPS 205 (SLH-DSA) signature sizes and assumptions | false | Recommend ML-DSA-44 (Dilithium). Its signatures are about 2.4 KB, while
SLH-DSA-128s signatures are roughly 7.9 KB; on a 200-byte LoRa frame the extra
bandwidth and energy cost of SLH-DSA is significant for a battery-powered
sensor. ML-DSA rests on module-lattice assumptions, which are less conservative
than SLH-DSA's ... | null | null | [
{
"id": "recommends-ml-dsa",
"desc": "recommends ML-DSA-44 (or a clearly reasoned equivalent)",
"weight": 1,
"match_any": [
"ml-dsa-44",
"dilithium"
],
"not_match_any": [
"reject ml-dsa",
"not recommend ml-dsa",
"would not recommend ml-dsa",
"against ml-ds... | null | null | [
[
"slh-dsa is lattice",
"sphincs+ is lattice",
"slh-dsa uses lattices"
]
] | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | judge-tls-kem | judgment | rubric | [
"ml-kem",
"mceliece",
"deployment-tradeoff"
] | A large e-commerce site is choosing a KEM for TLS 1.3. Compare ML-KEM-768
against Classic McEliece and recommend one, considering real deployment.
| [
"https://developers.cloudflare.com/ssl/post-quantum-cryptography/",
"https://nvlpubs.nist.gov/nistpubs/ir/2025/NIST.IR.8545.pdf"
] | ML-KEM deployment in TLS; Classic McEliece not selected (NIST IR 8545) | false | Recommend a hybrid of X25519 and ML-KEM-768 for TLS 1.3. ML-KEM-768 has a
~1.2 KB encapsulation key and ~1.1 KB ciphertext, which fits comfortably in a
TLS handshake. Classic McEliece has a public key around 1 MB, which bloats the
handshake and any certificate carrying it and is impractical at e-commerce
scale. McEliec... | null | null | [
{
"id": "recommends-mlkem-or-hybrid",
"desc": "recommends ML-KEM-768 or a hybrid containing it",
"weight": 1,
"match_any": [
"ml-kem-768",
"hybrid"
]
},
{
"id": "notes-mceliece-size",
"desc": "notes Classic McEliece's very large public key (~1 MB)",
"weight": 1,
"... | null | null | [
[
"mceliece has small keys",
"ml-kem is broken"
]
] | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | know-falcon-hard | knowledge | mcq | [
"fn-dsa",
"implementation"
] | Which PQC signature scheme requires floating-point FFT Gaussian sampling, making
constant-time implementation notably hard?
Answer with the single letter only.
A) ML-DSA
B) SLH-DSA
C) FN-DSA (FALCON)
D) LMS
| [
"https://falcon-sign.info/"
] | FALCON/FN-DSA uses floating-point FFT Gaussian sampling | false | C | null | null | null | null | null | null | C |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | know-fips-number | knowledge | mcq | [
"standards",
"ml-dsa"
] | Which FIPS standard specifies ML-DSA (the Dilithium signature scheme)?
Answer with the single letter only.
A) FIPS 203
B) FIPS 204
C) FIPS 205
D) FIPS 206
| [
"https://www.federalregister.gov/documents/2024/08/14/2024-17956/announcing-issuance-of-federal-information-processing-standards-fips-fips-203-module-lattice-based"
] | FIPS 204 specifies ML-DSA (Federal Register notice) | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | know-hybrid-why | knowledge | mcq | [
"deployment",
"hybrid"
] | Why do real deployments (e.g. TLS, Signal) run hybrid key exchange such as
X25519 + ML-KEM rather than ML-KEM alone?
Answer with the single letter only.
A) ML-KEM is slower than X25519 alone
B) To retain classical security if ML-KEM is broken, and gain quantum security if X25519 is broken
C) Because ML-KEM cannot be u... | [
"https://developers.cloudflare.com/ssl/post-quantum-cryptography/",
"https://signal.org/blog/pqxdh/"
] | Hybrid key exchange rationale (X25519 + ML-KEM) in real deployments | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | know-kyberslash | knowledge | mcq | [
"ml-kem",
"implementation",
"side-channel"
] | "KyberSlash" (2023-24) was which of the following?
Answer with the single letter only.
A) A break of the underlying Module-LWE problem
B) A timing side-channel in some reference implementations caused by secret-dependent division
C) A universal forgery against ML-DSA
D) A quantum key-recovery attack
| [
"https://kyberslash.cr.yp.to/"
] | KyberSlash: secret-dependent division timing issue in some implementations | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | know-mlkem-512-level | knowledge | mcq | [
"ml-kem",
"parameters",
"security-level"
] | ML-KEM-512 targets which NIST security category?
Answer with the single letter only.
A) Category 1
B) Category 3
C) Category 5
D) Category 2
| [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203: ML-KEM-512 targets NIST category 1 | false | A | null | null | null | null | null | null | A |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | know-mlkem-768-eksize | knowledge | mcq | [
"ml-kem",
"parameters",
"sizes"
] | What is the encapsulation (public) key size of ML-KEM-768, in bytes?
Answer with the single letter only.
A) 800
B) 1184
C) 1568
D) 2400
| [
"https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf"
] | FIPS 203 parameter sets and key/ciphertext sizes | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | know-mlkem-basis | knowledge | mcq | [
"ml-kem",
"security-basis"
] | ML-KEM (FIPS 203) derives its security from which computational problem?
Answer with the single letter only.
A) Integer factorisation
B) Module Learning With Errors (Module-LWE)
C) Decoding random linear codes
D) Supersingular isogeny problems
| [
"https://csrc.nist.gov/pubs/fips/203/final"
] | FIPS 203 abstract: ML-KEM security relates to Module-LWE | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | know-rainbow-break | knowledge | mcq | [
"multivariate",
"attacks",
"history"
] | Rainbow (a multivariate signature scheme) was broken in 2022 by Beullens.
What was the core of the attack?
Answer with the single letter only.
A) A key-recovery attack exploiting the differential structure of the central map
B) A large-scale quantum computer
C) A timing side-channel in the reference implementation
D) ... | [
"https://eprint.iacr.org/2022/214"
] | Beullens 2022 'Breaking Rainbow Takes a Weekend on a Laptop' | false | A | null | null | null | null | null | null | A |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | know-sike-break | knowledge | mcq | [
"isogeny",
"attacks",
"history"
] | SIKE (an isogeny-based KEM) was broken in 2022. Which class of attack did it?
Answer with the single letter only.
A) Lattice reduction (BKZ)
B) A torsion-point / glue-and-split attack on SIDH
C) Grover's quantum search
D) Differential fault analysis
| [
"https://eprint.iacr.org/2022/975"
] | Castryck-Decru 2022 key-recovery attack on SIDH/SIKE | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | know-slhdsa-basis | knowledge | mcq | [
"slh-dsa",
"security-basis"
] | SLH-DSA (SPHINCS+, FIPS 205) bases its security on which assumption?
Answer with the single letter only.
A) Module-LWE
B) Hardness of decoding random linear codes
C) Only the security of an underlying hash function
D) NTRU lattice problems
| [
"https://nvlpubs.nist.gov/nistpubs/fips/NIST.FIPS.205.pdf"
] | FIPS 205: SLH-DSA is stateless hash-based | false | C | null | null | null | null | null | null | C |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | scen-firmware-signing | scenarios | rubric | [
"cnsa-2.0",
"firmware",
"stateful-signatures"
] | You must design firmware signing to meet CNSA 2.0. Which signature algorithms
apply, and what operational constraint do they impose that a lattice signature
would not?
| [
"https://media.defense.gov/2025/May/30/2003728741/-1/-1/0/CSA_CNSA_2.0_ALGORITHMS.PDF",
"https://csrc.nist.gov/pubs/sp/800/208/final"
] | CNSA 2.0 requires LMS/XMSS (SP 800-208) for firmware signing | false | CNSA 2.0 requires LMS or XMSS per NIST SP 800-208 for software and firmware
signing. These are stateful hash-based signatures: each one-time key index
must be used exactly once, so the signing system must reliably track and never
reuse state. That constraint is why signing is expected to run in hardware
(HSM) and is a ... | null | null | [
{
"id": "names-lms-xmss",
"desc": "names LMS and/or XMSS from SP 800-208",
"weight": 1,
"critical": true,
"match_any": [
"lms",
"xmss",
"800-208"
]
},
{
"id": "stateful",
"desc": "identifies that these are stateful (must track one-time key index)",
"weight":... | null | null | [
[
"lms is stateless",
"xmss does not need state"
],
[
"not stateful",
"no one-time key",
"does not require state"
]
] | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | scen-india-bank-migration | scenarios | rubric | [
"india",
"banking",
"migration-plan"
] | You advise a large Indian bank that must plan its post-quantum migration.
Which requirements and timelines actually apply to it, and what should it do
first? Be specific about the Indian framework.
| [
"https://www.dst.gov.in/static/uploads/2026/07/dba5f97fa8f4c8db5ef668306548a470.pdf",
"https://tec.gov.in/pdf/TR/Final%20technical%20report%20on%20migration%20to%20PQC%2028-03-25.pdf",
"https://cert-in.org.in/PDF/TechnicalGuidelines-on-SBOM,QBOM&CBOM,AIBOM_and_HBOM_ver2.0.pdf"
] | India DST/NQM Task Force timelines; TEC 910018:2025; CERT-In CBOM/QBOM | false | India's framework applies through several bodies. The DST/National Quantum
Mission Task Force sets phased timelines: CII sectors such as banking should
hit foundations by 2027, high-priority migration by 2028, and full PQC
adoption by 2029 (other enterprises 2028/2030/2033). These are proposed
roadmap milestones, not a... | null | null | [
{
"id": "cites-tec",
"desc": "references India's TEC / DST-NQM framework or TEC 910018:2025",
"weight": 1,
"match_any": [
"tec",
"dst",
"national quantum mission",
"910018"
]
},
{
"id": "cites-timeline",
"desc": "gives the CII timelines (2027/2028/2029) or ent... | null | null | [
[
"there is no indian guidance",
"india has no pqc policy"
]
] | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | scen-ssh-fleet | scenarios | rubric | [
"openssh",
"operations"
] | Your server fleet runs OpenSSH 9.6. A security review asks whether your SSH
traffic is post-quantum safe. What is the actual situation and what should
you do?
| [
"https://www.openssh.org/txt/release-9.9",
"https://www.openssh.org/txt/release-10.0",
"https://www.openssh.org/pq.html"
] | OpenSSH 9.9/10.0 post-quantum KEX defaults | false | OpenSSH 9.6 already negotiates post-quantum key exchange by default: since
9.0 the default has been the hybrid sntrup761x25519-sha512, so your SSH
sessions are likely already PQ-protected for key agreement. The newer hybrid
mlkem768x25519-sha256 was added in 9.9 and became the default in 10.0. Hybrid
means the session ... | null | null | [
{
"id": "explains-default",
"desc": "explains sntrup761x25519 has been default since 9.0 (so likely PQ KEX already)",
"weight": 1,
"match_any": [
"sntrup",
"9.0",
"already",
"default since"
]
},
{
"id": "mlkem",
"desc": "notes mlkem768x25519 added in 9.9 / def... | null | null | [
[
"ssh does not support post-quantum",
"openssh has no pqc"
]
] | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | scen-tls-gap | scenarios | rubric | [
"tls",
"deployment",
"signatures"
] | Your CDN reports that roughly half of client connections now negotiate
post-quantum key exchange, but post-quantum signatures are at essentially
zero. Explain why, and what the remaining gap means for you.
| [
"https://cacm.acm.org/news/post-quantum-tls-finished-the-easy-half/",
"https://developers.cloudflare.com/ssl/post-quantum-cryptography/"
] | IMC 2026 measurement: PQ key exchange ~49%, PQ signatures ~0% | false | The two halves of TLS moved at different speeds. Key exchange is deployed:
browsers and CDNs negotiate the hybrid X25519MLKEM768 (codepoint 0x11ec),
which protects against harvest-now-decrypt-later. Signatures are not: PQ
certificates are rare because of size, PKI and root-store hurdles, so
authentication still relies ... | null | null | [
{
"id": "kex-vs-sig",
"desc": "distinguishes key exchange (deployed) from signatures (not deployed)",
"weight": 1,
"match_any": [
"key exchange",
"key agreement",
"signature"
]
},
{
"id": "x25519mlkem",
"desc": "names X25519MLKEM768 as the negotiated group",
"we... | null | null | [
[
"post-quantum signatures are widely deployed",
"pq certificates are standard today"
]
] | null |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-anssi-hybrid | standards | mcq | [
"anssi",
"france",
"hybrid"
] | In ANSSI's post-quantum transition roadmap, how should post-quantum
algorithms be used during phases 1 and 2?
Answer with the single letter only.
A) Optionally and standalone
B) Mandatorily in hybrid with a classical algorithm
C) Not at all
D) Only for signatures
| [
"https://messervices.cyber.gouv.fr/documents-guides/EN_Position.pdf"
] | ANSSI: hybrid mandatory in phases 1-2 | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-bsi-keyagreement | standards | mcq | [
"bsi",
"germany",
"timeline"
] | Per BSI TR-02102-1 (2026), until when does BSI recommend classical asymmetric
key agreement on its own (i.e. not hybrid)?
Answer with the single letter only.
A) End of 2031 (end of 2030 for highest-sensitivity use)
B) End of 2035
C) End of 2028
D) There is no limit
| [
"https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Publikationen/TechnischeRichtlinien/TR02102/BSI-TR-02102.pdf?__blob=publicationFile",
"https://www.bsi.bund.de/DE/Service-Navi/Presse/Pressemitteilungen/Presse2026/260211_Ende_klassischer_Verschluesselungsverfahren.html"
] | BSI TR-02102-1: classical key agreement alone to end 2031 (2030 highest) | false | A | null | null | null | null | null | null | A |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-cnsa-browser | standards | mcq | [
"cnsa-2.0",
"timeline"
] | By which year must web browsers and servers exclusively use CNSA 2.0
algorithms?
Answer with the single letter only.
A) 2027
B) 2030
C) 2033
D) 2035
| [
"https://media.defense.gov/2025/May/30/2003728741/-1/-1/0/CSA_CNSA_2.0_ALGORITHMS.PDF",
"https://pqcstatus.com/articles/cnsa-2-0-timeline/"
] | CNSA 2.0: browsers/servers exclusive use by 2033 | false | C | null | null | null | null | null | null | C |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-cnsa-firmware | standards | mcq | [
"cnsa-2.0",
"firmware-signing",
"sp-800-208"
] | CNSA 2.0 requires which algorithms for software and firmware signing?
Answer with the single letter only.
A) ML-DSA-87
B) SLH-DSA
C) LMS / XMSS (NIST SP 800-208)
D) RSA-PSS
| [
"https://media.defense.gov/2025/May/30/2003728741/-1/-1/0/CSA_CNSA_2.0_ALGORITHMS.PDF"
] | CNSA 2.0 firmware/software signing uses LMS/XMSS (SP 800-208) | false | C | null | null | null | null | null | null | C |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-cnsa-kem | standards | mcq | [
"cnsa-2.0",
"nsa",
"parameters"
] | Which parameter set does NSA's CNSA 2.0 require for key establishment?
Answer with the single letter only.
A) ML-KEM-512
B) ML-KEM-768
C) ML-KEM-1024
D) X25519 alone
| [
"https://media.defense.gov/2025/May/30/2003728741/-1/-1/0/CSA_CNSA_2.0_ALGORITHMS.PDF"
] | CNSA 2.0 requires ML-KEM-1024 for key establishment | false | C | null | null | null | null | null | null | C |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-cnsa-signatures | standards | mcq | [
"cnsa-2.0",
"signatures",
"ml-dsa"
] | Which algorithm does CNSA 2.0 require for general-purpose digital
signatures (as distinct from software/firmware signing)?
Answer with the single letter only.
A) ML-DSA-87
B) LMS
C) RSA-3072 with PSS
D) ECDSA P-384
| [
"https://media.defense.gov/2025/May/30/2003728741/-1/-1/0/CSA_CNSA_2.0_ALGORITHMS.PDF"
] | CNSA 2.0: ML-DSA-87 for general signatures; LMS/XMSS for firmware signing | false | A | null | null | null | null | null | null | A |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-hqc-role | standards | mcq | [
"hqc",
"nist",
"kem"
] | NIST selected HQC in March 2025 for which role?
Answer with the single letter only.
A) To replace ML-KEM as the primary KEM
B) A backup KEM based on error-correcting codes, as a hedge against ML-KEM weakness
C) A new signature scheme
D) A hash function
| [
"https://www.nist.gov/news-events/news/2025/03/nist-selects-hqc-fifth-algorithm-post-quantum-encryption",
"https://nvlpubs.nist.gov/nistpubs/ir/2025/NIST.IR.8545.pdf"
] | NIST selected HQC as backup code-based KEM (Mar 2025) | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-india-certin-cbom | standards | mcq | [
"india",
"cert-in",
"cbom",
"scope"
] | CERT-In's v2.0 SBOM/QBOM/CBOM guidelines direct the CBOM/QBOM requirement at
which organisations?
Answer with the single letter only.
A) Every organisation in India, without exception
B) Government, public-sector and essential-services organisations (and their suppliers), for relevant procurements, developments and in... | [
"https://cert-in.org.in/PDF/TechnicalGuidelines-on-SBOM,QBOM&CBOM,AIBOM_and_HBOM_ver2.0.pdf"
] | CERT-In v2.0 scopes CBOM/QBOM to government, public-sector and essential-services orgs and suppliers | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-india-cii-timeline | standards | mcq | [
"india",
"dst",
"timeline"
] | Per India's DST/National Quantum Mission Task Force, by which year should
CII (critical information infrastructure) sectors reach full PQC adoption?
Answer with the single letter only.
A) 2027
B) 2028
C) 2029
D) 2033
| [
"https://www.dst.gov.in/static/uploads/2026/07/dba5f97fa8f4c8db5ef668306548a470.pdf",
"https://www.thehindu.com/news/national/critical-sectors-must-have-quantum-safe-encryption-urges-task-force/article71029610.ece"
] | DST/NQM: CII full PQC adoption by 2029 | false | C | null | null | null | null | null | null | C |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-india-l1l4-source | standards | mcq | [
"india",
"dst",
"certification"
] | Which document sets out India's L1-L4 assurance levels for post-quantum
testing and certification?
Answer with the single letter only.
A) TEC 910018:2025
B) The DST / National Quantum Mission Task Force report (February 2026), via its TEC-led sub-group
C) CERT-In's v2.0 SBOM/QBOM guidelines
D) An RBI circular
| [
"https://www.dst.gov.in/static/uploads/2026/07/dba5f97fa8f4c8db5ef668306548a470.pdf"
] | DST Task Force report (Feb 2026) describes the L1-L4 framework via its TEC-led sub-group | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-india-mandate | standards | mcq | [
"india",
"dst",
"policy-vs-mandate"
] | Are the DST Task Force's PQC migration milestones (CII sectors
2027/2028/2029) a legally binding regulatory mandate for every Indian bank?
Answer with the single letter only.
A) Yes, they are legally binding
B) No - they are proposed roadmap milestones; the framework is explicitly not itself a regulatory mandate
C) On... | [
"https://www.dst.gov.in/static/uploads/2026/07/dba5f97fa8f4c8db5ef668306548a470.pdf"
] | DST report: proposed framework is not a regulatory mandate; regulators set timelines | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-india-tec-framework | standards | mcq | [
"india",
"tec",
"migration"
] | India's TEC document TEC 910018:2025 is best described as what?
Answer with the single letter only.
A) A legally binding ban on RSA
B) A technical report on migration to post-quantum cryptography
C) A QKD-only mandate
D) A proprietary algorithm suite
| [
"https://tec.gov.in/pdf/TR/Final%20technical%20report%20on%20migration%20to%20PQC%2028-03-25.pdf"
] | TEC 910018:2025 is a technical migration report (not the L1-L4 framework) | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-nist-disallow | standards | mcq | [
"nist",
"ir-8547",
"timeline"
] | Under NIST IR 8547 (final, October 2026), when will quantum-vulnerable
public-key cryptography be disallowed under NIST standards and guidelines?
Answer with the single letter only.
A) After 2030
B) After 2035
C) Immediately
D) After 2040
| [
"https://nvlpubs.nist.gov/nistpubs/ir/2026/NIST.IR.8547.pdf"
] | NIST IR 8547: deprecate after 2030, disallow after 2035 | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-nist-hva | standards | mcq | [
"nist",
"eo-14412",
"timeline"
] | Under the accelerated US federal schedule (EO 14412 / OMB M-26-15), high-value
assets must adopt post-quantum key establishment by which date?
Answer with the single letter only.
A) 31 December 2028
B) 31 December 2030
C) 31 December 2033
D) 31 December 2035
| [
"https://nvlpubs.nist.gov/nistpubs/ir/2026/NIST.IR.8547.pdf"
] | IR 8547 / EO 14412: high-value assets key establishment by 31 Dec 2030 | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-openssh-default | standards | mcq | [
"openssh",
"deployment"
] | In which OpenSSH release did mlkem768x25519-sha256 become the default key
exchange algorithm?
Answer with the single letter only.
A) 9.0
B) 9.9
C) 10.0
D) 10.1
| [
"https://www.openssh.org/txt/release-10.0",
"https://www.openssh.org/pq.html"
] | mlkem768x25519-sha256 default in OpenSSH 10.0 | false | C | null | null | null | null | null | null | C |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-pq-sig-adoption | standards | mcq | [
"deployment",
"measurement",
"tls"
] | According to the 2026 IMC large-scale TLS measurement, roughly what share of
observed domains used post-quantum *signature* algorithms?
Answer with the single letter only.
A) 0%
B) 25%
C) 50%
D) 90%
| [
"https://cacm.acm.org/news/post-quantum-tls-finished-the-easy-half/"
] | IMC 2026: ~0% post-quantum signature adoption observed | false | A | null | null | null | null | null | null | A |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-pq3-level | standards | mcq | [
"apple",
"pq3",
"deployment"
] | Apple describes iMessage PQ3 as reaching which security "level" (Apple's
own framing)?
Answer with the single letter only.
A) Level 1
B) Level 2
C) Level 3
D) Level 4
| [
"https://security.apple.com/blog/imessage-pq3/"
] | Apple iMessage PQ3 described as Level 3 security | false | C | null | null | null | null | null | null | C |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-signal-kem | standards | mcq | [
"signal",
"pqxdh",
"deployment"
] | Signal's PQXDH protocol combines X25519 with which key encapsulation
mechanism?
Answer with the single letter only.
A) NTRU
B) CRYSTALS-Kyber
C) Classic McEliece
D) HQC
| [
"https://signal.org/blog/pqxdh/"
] | Signal PQXDH combines X25519 with CRYSTALS-Kyber | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-tls-codepoint | standards | mcq | [
"tls",
"deployment",
"hybrid"
] | Which TLS codepoint identifies the hybrid key agreement X25519MLKEM768?
Answer with the single letter only.
A) 0x6399
B) 0x11ec
C) 0x1301
D) 0x001d
| [
"https://developers.cloudflare.com/ssl/post-quantum-cryptography/",
"https://security.googleblog.com/2024/09/a-new-path-for-kyber-on-the-web.html"
] | X25519MLKEM768 = TLS codepoint 0x11ec | false | B | null | null | null | null | null | null | B |
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io | std-uk-ncsc-2028 | standards | mcq | [
"ncsc",
"uk",
"timeline"
] | Per UK NCSC migration timelines, what should organisations have completed
by 2028?
Answer with the single letter only.
A) Full migration to PQC
B) Discovery and an initial migration plan
C) Standalone post-quantum signatures everywhere
D) Retirement of all RSA keys
| [
"https://www.ncsc.gov.uk/guidance/pqc-migration-timelines"
] | NCSC: discovery + initial plan by 2028 | false | B | null | null | null | null | null | null | B |
PQC-Eval
A benchmark for evaluating language models on post-quantum cryptography: the algorithms, the standards that govern them, and the engineering work around them.
This is an initial research benchmark, not a validated leaderboard. No model baselines are published with this release, there is no held-out split, and passing these tasks does not certify any implementation. It is released so the grading can be scrutinised.
- Repository: https://github.com/PredictiveManish/pqc-bench
- Write-up: https://predictivemanish.github.io/blog/pqc-eval-technical-report/
- Version: 1.0.0 (verified 2026-11-25)
Contents
57 tasks across 7 tiers, every one bound to at least one primary source.
| Tier | Tasks | What it asks | How it is graded |
|---|---|---|---|
| knowledge | 10 | Algorithm facts, parameter sets | Exact match |
| standards | 20 | NIST, CNSA 2.0, CERT-In, TEC, DST, BSI, ANSSI | Exact match |
| implementation | 9 | Write a FIPS 203 component | Executed against kyber-py |
| debugging | 6 | Find the defect in real PQC code | Executed, bug injected |
| judgment | 3 | IoT signature choice, TLS trade-offs | Weighted rubric |
| scenarios | 4 | India bank migration, SSH fleet, firmware signing | Weighted rubric + sources |
| engineering | 5 | Repo discovery, CBOM, patching, ML-KEM encapsulation | P/R/F1, fixture tests, KAT vectors |
By answer type: 30 multiple choice, 15 executable code, 5 repository-level, 7 rubric-scored.
74 source URLs across the provenance registry.
Files
| File | What it is |
|---|---|
tasks.jsonl |
All 57 tasks, one JSON object per line |
sources.jsonl |
Provenance registry: one row per (task, source URL) |
fixtures.zip |
The three fixture repositories used by the engineering tier |
CITATION.cff |
Citation metadata |
Fields
| Field | Meaning |
|---|---|
id |
Stable task identifier |
tier |
One of the seven tiers above |
type |
mcq, code, repo or rubric β determines the grader |
prompt |
The exact text sent to the model. Engineering-tier prompts already contain the fixture files inline, so fixtures.zip is for reproducing the workspace, not for answering |
choices |
Options, for mcq only |
answer |
Correct option letter, for mcq only |
gold |
Reference answer or reference implementation |
rubric |
Weighted criteria with match_any, optional not_match_any, and critical flags |
must_not |
Phrases that zero the task outright |
repo |
Fixture, mode, target file and grading command, for repo tasks |
checker |
Path to the executable grader, for code tasks |
sources |
Primary source URLs backing the task |
basis |
One line on what the task is grounded in |
held_out |
Always false in this release β every task is public |
What is verified
Four gates run on every push to the repository, on Python 3.11, 3.12 and 3.13:
- Provenance β every task resolves to at least one real source URL; the build fails otherwise.
- Ground truth β the zeta tables and compress/decompress formulas are cross-checked
against
kyber-py, and ML-KEM / ML-DSA round-trip at the byte sizes the standards specify. - Integrity β a gold answer must score 1.0, an empty answer 0.0, and every deliberately injected bug must be rejected.
- Plumbing β provider parsing, cache identity, scorer behaviour and a Python 3.11 syntax guard.
The engineering tier's ML-KEM task is graded against three fixed KAT vectors generated
from a reference implementation, and the patch task is graded by the fixture's own
unittest suite.
What is not done
- No published model baselines. Run them yourself; do not treat any number as a result.
- No held-out split. Every task is public, so contamination is possible and unmeasured.
- No human-calibrated scoring. The rubric tier is keyword coverage with a clause-scoped negation guard and criterion-level exclusions. It is a proxy for judgement, not a semantic evaluator.
- Over half the tasks are multiple choice (30 of 57), which measures recall more than engineering.
- Not a conformance suite. Round-trip consistency is not ACVP vector conformance.
- Not agentic. Repository tasks receive fixture files in the prompt; they do not get filesystem or terminal access.
- Facts verified 2026-11-25. Standards drift; the provenance registry exists to make re-verification cheap.
Contamination
A canary string is present in the _canary field of every row:
PQC-EVAL-CANARY-2026-11-27 :: do not train on this dataset :: predictivemanish.github.io
If you train on this dataset, record that you did. If you evaluate a model and want to know whether it saw these tasks, search its training data for that string.
Licence
- Dataset (
tasks.jsonl,sources.jsonl,fixtures.zip): CC-BY-4.0 - Harness and graders (in the GitHub repository): MIT
Task text paraphrases public standards; it does not reproduce standard documents.
Citation
@misc{tiwari2026pqceval,
title = {PQC-Eval: a source-grounded benchmark for post-quantum cryptography capability},
author = {Tiwari, Manish},
year = {2026},
note = {Version 1.0.0},
url = {https://github.com/PredictiveManish/pqc-bench}
}
Scope
Independent research artefact. Not a certification, not a compliance attestation, and not endorsed by NIST, CERT-In, TEC, the DST or any government body.
- Downloads last month
- 30