# Code Generation and Watermark Detection on HumanEvalPack C++ (test)

Source: [Code Generation and Watermark Detection on HumanEvalPack C++ (test)](<https://www.sota2.com/research/sota/code-generation-and-watermark-detection-on-humanevalpack-c-plus-plus-test>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-02-26T05:57:21.062Z

Evaluation of model performance on both code generation (using Pass@k metrics) and watermark detection (using AUROC, TPR, FPR) on the C++ test split of the HumanEvalPack dataset.

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

| Scope | Recorded value |
| --- | --- |
| Task | Code Generation and Watermark Detection |
| Dataset (including any stated split) | HumanEvalPack C++ (test) |
| Metric | Pass@1 |
| Unit | PERCENT |
| Direction | Higher is better |
| Results loaded | 14 of 14 |
| Coverage | All results currently returned for this benchmark |

Evaluation settings may differ between results. The original papers and recorded configurations are needed to establish comparability. A shared metric name alone does not establish an identical protocol.

## Metrics

- [Pass@1](<https://www.sota2.com/research/sota/code-generation-and-watermark-detection-on-humanevalpack-c-plus-plus-test.md?metric=Pass%401>): Higher is better; unit: PERCENT.

- [AUROC](<https://www.sota2.com/research/sota/code-generation-and-watermark-detection-on-humanevalpack-c-plus-plus-test.md?metric=AUROC>): Higher is better; unit: SCALAR.

- [TPR](<https://www.sota2.com/research/sota/code-generation-and-watermark-detection-on-humanevalpack-c-plus-plus-test.md?metric=TPR>): Higher is better; unit: SCALAR.

- [FPR](<https://www.sota2.com/research/sota/code-generation-and-watermark-detection-on-humanevalpack-c-plus-plus-test.md?metric=FPR>): Lower is better; unit: SCALAR.

## Recorded results

| Method | Pass@1 | Result date | Report paper |
| --- | --- | --- | --- |
| Non-watermarked | 29.4 | Not recorded | 68fa73ff1e209131cea5f1db |
| LOG P(X) | 29.4 | Not recorded | 68fa73ff1e209131cea5f1db |
| LOGRANK | 29.4 | Not recorded | 68fa73ff1e209131cea5f1db |
| DETECTGPT (T5-3B) | 29.4 | Not recorded | 68fa73ff1e209131cea5f1db |
| DETECTGPT | 29.4 | Not recorded | 68fa73ff1e209131cea5f1db |
| GPTZERO | 29.4 | Not recorded | 68fa73ff1e209131cea5f1db |
| OPENAI CLASSIFIER | 29.4 | Not recorded | 68fa73ff1e209131cea5f1db |
| SWEET | 29 | Not recorded | 68fa73ff1e209131cea5f1db |
| EXP-EDIT | 28.3 | Not recorded | 68fa73ff1e209131cea5f1db |
| SWEET | 26.2 | Not recorded | 68fa73ff1e209131cea5f1db |
| WLLM | 25.9 | Not recorded | 68fa73ff1e209131cea5f1db |
| WLLM | 25.9 | Not recorded | 68fa73ff1e209131cea5f1db |
| Non-watermarked | 18.2 | Not recorded | 68fa73ff1e209131cea5f1db |
| EXP-EDIT | 16.7 | Not recorded | 68fa73ff1e209131cea5f1db |

### Non-watermarked

Pass@1: 29.4. Result ID: 6993288f3a6c314849141f05.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

Recorded evaluation configuration: Not recorded. This record does not assert independent reproduction.

### LOG P(X)

Pass@1: 29.4. Result ID: 6993288f3a6c314849141f07.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa65e11e209131cea0d18b.md>)

Recorded evaluation configuration: {"type":"Post-hoc"}. This record does not assert independent reproduction.

### LOGRANK

Pass@1: 29.4. Result ID: 6993288f3a6c314849141f08.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa65e11e209131cea0d18b.md>)

Recorded evaluation configuration: {"type":"Post-hoc"}. This record does not assert independent reproduction.

### DETECTGPT (T5-3B)

Pass@1: 29.4. Result ID: 6993288f3a6c314849141f09.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa701a1e209131cea49064.md>)

Recorded evaluation configuration: {"type":"Post-hoc"}. This record does not assert independent reproduction.

### DETECTGPT

Pass@1: 29.4. Result ID: 6993288f3a6c314849141f0a.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa701a1e209131cea49064.md>)

Recorded evaluation configuration: {"type":"Post-hoc"}. This record does not assert independent reproduction.

### GPTZERO

Pass@1: 29.4. Result ID: 6993288f3a6c314849141f0b.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

Recorded evaluation configuration: {"type":"Post-hoc"}. This record does not assert independent reproduction.

### OPENAI CLASSIFIER

Pass@1: 29.4. Result ID: 6993288f3a6c314849141f0c.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa66ae1e209131cea11b7a.md>)

Recorded evaluation configuration: {"type":"Post-hoc"}. This record does not assert independent reproduction.

### SWEET

Pass@1: 29. Result ID: 6993288f3a6c314849141f12.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

[Implementation](<https://github.com/hongcheki/sweet-watermark>)

Recorded evaluation configuration: {"Selection criteria":"Best code generation quality among AUROC \>= 0.9"}. This record does not assert independent reproduction.

### EXP-EDIT

Pass@1: 28.3. Result ID: 6993288f3a6c314849141f0d.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa738a1e209131cea5d13e.md>)

Recorded evaluation configuration: Not recorded. This record does not assert independent reproduction.

### SWEET

Pass@1: 26.2. Result ID: 6993288f3a6c314849141f10.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

[Implementation](<https://github.com/hongcheki/sweet-watermark>)

Recorded evaluation configuration: {"Selection criteria":"Best detection score while allowing code quality decrease of ~10%"}. This record does not assert independent reproduction.

### WLLM

Pass@1: 25.9. Result ID: 6993288f3a6c314849141f0f.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa73131e209131cea5a4b7.md>)

Recorded evaluation configuration: {"Selection criteria":"Best detection score while allowing code quality decrease of ~10%"}. This record does not assert independent reproduction.

### WLLM

Pass@1: 25.9. Result ID: 6993288f3a6c314849141f11.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa73131e209131cea5a4b7.md>)

Recorded evaluation configuration: {"Selection criteria":"Best code generation quality among AUROC \>= 0.9"}. This record does not assert independent reproduction.

### Non-watermarked

Pass@1: 18.2. Result ID: 6993288f3a6c314849141f06.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

Recorded evaluation configuration: {"entropy\_setting":"high entropy","temperature":1,"top-p":1}. This record does not assert independent reproduction.

### EXP-EDIT

Pass@1: 16.7. Result ID: 6993288f3a6c314849141f0e.

[Reporting paper](<https://www.sota2.com/research/paper/68fa73ff1e209131cea5f1db.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa738a1e209131cea5d13e.md>)

Recorded evaluation configuration: {"entropy\_setting":"high entropy"}. This record does not assert independent reproduction.

Page 1 of 1. This is an index page, not the full collection.
