Download code/bugfind/baselines/bank/poly1305_key.json from viai957/align: direct link, hf CLI and curl.
- Browser
- Download file 960 Bytes
-
https://huggingface.co/viai957/align/resolve/main/code/bugfind/baselines/bank/poly1305_key.json
- Command line
-
hf download hf://viai957/align/code/bugfind/baselines/bank/poly1305_key.json
-
curl -L -o poly1305_key.json https://huggingface.co/viai957/align/resolve/main/code/bugfind/baselines/bank/poly1305_key.json
960 Bytes
| {"item_id": "ker-poly1305_key", "crate_dir": "../../bench/kernels/poly1305_key/pre", "lib_name": "k_poly1305_key_pre", "provenance": {"author": "claude-sonnet subagent, blind", "written_from": "signature + doc string only", "saw_source": false, "saw_diff": false, "saw_advisory": false}, | |
| "properties": [ | |
| {"id": "p1", "fn": "key_len_ok", "args": [["key", "bytes"]], "pre": "true", "post": "r == (key.len() == 32)", "ret": "bool", "basis": "a key is acceptable iff it is exactly 32 bytes"}, | |
| {"id": "p2", "fn": "key_len_ok", "args": [["key", "bytes"]], "pre": "true", "post": "key.len() != 32 || r", "ret": "bool", "basis": "a 32-byte key (r then s) is acceptable"}, | |
| {"id": "p3", "fn": "key_len_ok", "args": [["key", "bytes"]], "pre": "true", "post": "!(key.len() == 0 || key.len() == 16 || key.len() == 31 || key.len() == 33 || key.len() == 64) || !r", "ret": "bool", "basis": "lengths other than 32 (empty, r only, off-by-one, double) are rejected"} | |
| ]} | |