# Code Generation and Watermark Detection on ClassEval (test)

Source: [Code Generation and Watermark Detection on ClassEval (test)](<https://www.sota2.com/research/sota/code-generation-and-watermark-detection-on-classeval-test>)

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

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

Evaluation of model performance on both code generation (using Pass@k metrics) and watermark detection (using AUROC, TPR, FPR) on the test split of the ClassEval 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) | ClassEval (test) |
| Metric | Pass@5 |
| 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@5](<https://www.sota2.com/research/sota/code-generation-and-watermark-detection-on-classeval-test.md?metric=Pass%405>): Higher is better; unit: PERCENT.

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

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

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

## Recorded results

| Method | Pass@5 | Result date | Report paper |
| --- | --- | --- | --- |
| EXP-EDIT | 21 | Not recorded | 68fa73ff1e209131cea5f1db |
| EXP-EDIT | 21 | Not recorded | 68fa73ff1e209131cea5f1db |
| Non-watermarked | 19 | Not recorded | 68fa73ff1e209131cea5f1db |
| Non-watermarked | 14 | Not recorded | 68fa73ff1e209131cea5f1db |
| LOG P(X) | 14 | Not recorded | 68fa73ff1e209131cea5f1db |
| LOGRANK | 14 | Not recorded | 68fa73ff1e209131cea5f1db |
| DETECTGPT (T5-3B) | 14 | Not recorded | 68fa73ff1e209131cea5f1db |
| DETECTGPT | 14 | Not recorded | 68fa73ff1e209131cea5f1db |
| GPTZERO | 14 | Not recorded | 68fa73ff1e209131cea5f1db |
| OPENAI CLASSIFIER | 14 | Not recorded | 68fa73ff1e209131cea5f1db |
| SWEET | 13 | Not recorded | 68fa73ff1e209131cea5f1db |
| SWEET | 13 | Not recorded | 68fa73ff1e209131cea5f1db |
| WLLM | 12 | Not recorded | 68fa73ff1e209131cea5f1db |
| WLLM | 12 | Not recorded | 68fa73ff1e209131cea5f1db |

### EXP-EDIT

Pass@5: 21. Result ID: 6993288f3a6c314849141f29.

[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.

### EXP-EDIT

Pass@5: 21. Result ID: 6993288f3a6c314849141f2a.

[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.

### Non-watermarked

Pass@5: 19. Result ID: 6993288f3a6c314849141f22.

[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.

### Non-watermarked

Pass@5: 14. Result ID: 6993288f3a6c314849141f21.

[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@5: 14. Result ID: 6993288f3a6c314849141f23.

[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@5: 14. Result ID: 6993288f3a6c314849141f24.

[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@5: 14. Result ID: 6993288f3a6c314849141f25.

[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@5: 14. Result ID: 6993288f3a6c314849141f26.

[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@5: 14. Result ID: 6993288f3a6c314849141f27.

[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@5: 14. Result ID: 6993288f3a6c314849141f28.

[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@5: 13. Result ID: 6993288f3a6c314849141f2c.

[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.

### SWEET

Pass@5: 13. Result ID: 6993288f3a6c314849141f2e.

[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.

### WLLM

Pass@5: 12. Result ID: 6993288f3a6c314849141f2b.

[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@5: 12. Result ID: 6993288f3a6c314849141f2d.

[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.

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