PQCImplement-Bench
A benchmark evaluating the ability of LLM coding agents to implement post-quantum cryptography standard documents as mergeable patches to existing open-source libraries, scored on two tracks: repository tests and NIST validation vectors.
Timeline (last 90 days)
PQCImplement-Bench contains 15 tasks drawn from 14 real pull requests across nine code repositories, covering seven programming languages.
Each task in PQCImplement-Bench provides a pre-change repository snapshot plus a reviewed requirements and interface specification document.
PQCImplement-Bench uses two independent test oracles: the repository's own relevant tests and the NIST validation vectors corresponding to the standard.
When given only the problem statement, GPT-6.1-Sol achieves an average pass rate of 29.0% on NIST validation vectors and 18.9% on repository tests.
After adding the interface specification, GPT-6.1-Sol's NIST validation vector pass rate rises to 100%, and its repository test pass rate is 93.7%.
After adding the interface specification, Kimi K3.1 Pro's NIST validation vector pass rate is 55.8%, and its repository test pass rate is 52.4%.
After adding the interface specification, GLM-5.3-FlashX's NIST validation vector pass rate is 6.7%, and its repository test pass rate is 0.0%.
The paper states that both the dataset and the evaluation framework of PQCImplement-Bench have been released for subsequent research use.
PQCImplement-Bench's evaluation is conducted only in the OpenHands environment, and performance may differ under different agent frameworks.
All Facts (9)
PQCImplement-Bench's evaluation is conducted only in the OpenHands environment, and performance may differ under different agent frameworks.
50%UnverifiedEach task in PQCImplement-Bench provides a pre-change repository snapshot plus a reviewed requirements and interface specification document.
50%UnverifiedPQCImplement-Bench uses two independent test oracles: the repository's own relevant tests and the NIST validation vectors corresponding to the standard.
50%UnverifiedWhen given only the problem statement, GPT-6.1-Sol achieves an average pass rate of 29.0% on NIST validation vectors and 18.9% on repository tests.
50%UnverifiedAfter adding the interface specification, GPT-6.1-Sol's NIST validation vector pass rate rises to 100%, and its repository test pass rate is 93.7%.
50%UnverifiedAfter adding the interface specification, Kimi K3.1 Pro's NIST validation vector pass rate is 55.8%, and its repository test pass rate is 52.4%.
50%UnverifiedAfter adding the interface specification, GLM-5.3-FlashX's NIST validation vector pass rate is 6.7%, and its repository test pass rate is 0.0%.
50%UnverifiedPQCImplement-Bench contains 15 tasks drawn from 14 real pull requests across nine code repositories, covering seven programming languages.
50%UnverifiedThe paper states that both the dataset and the evaluation framework of PQCImplement-Bench have been released for subsequent research use.
50%