# Paired Vulnerability Detection on PRIMEVUL paired (val)

Source: [Paired Vulnerability Detection on PRIMEVUL paired (val)](<https://www.sota2.com/research/sota/paired-vulnerability-detection-on-primevul-paired-val>)

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

Data updated: 2026-04-23T09:52:08.833Z

Evaluation of paired vulnerability detection performance on the validation split of the PRIMEVUL dataset, measured by P-C, P-V, P-B, and P-R metrics.

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 | Paired Vulnerability Detection |
| Dataset (including any stated split) | PRIMEVUL paired (val) |
| Metric | P-C |
| Unit | SCALAR |
| Direction | Higher is better |
| Results loaded | 7 of 7 |
| 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

- [P-C](<https://www.sota2.com/research/sota/paired-vulnerability-detection-on-primevul-paired-val.md?metric=P-C>): Higher is better; unit: SCALAR.

- [P-V](<https://www.sota2.com/research/sota/paired-vulnerability-detection-on-primevul-paired-val.md?metric=P-V>): Higher is better; unit: SCALAR.

- [P-B](<https://www.sota2.com/research/sota/paired-vulnerability-detection-on-primevul-paired-val.md?metric=P-B>): Higher is better; unit: SCALAR.

- [P-R](<https://www.sota2.com/research/sota/paired-vulnerability-detection-on-primevul-paired-val.md?metric=P-R>): Higher is better; unit: SCALAR.

## Recorded results

| Method | P-C | Result date | Report paper |
| --- | --- | --- | --- |
| Random Baseline | 22.7 | Not recorded | 68fa7b841e209131cea88d76 |
| GPT-4 | 12.94 | Not recorded | 68fa7b841e209131cea88d76 |
| White-Basilisk | 12.92 | Not recorded | 68fa7b841e209131cea88d76 |
| GPT-4 | 5.14 | Not recorded | 68fa7b841e209131cea88d76 |
| CodeGen2.5 | 3.01 | Not recorded | 68fa7b841e209131cea88d76 |
| StarCoder2-7B | 2.3 | Not recorded | 68fa7b841e209131cea88d76 |
| CodeBERT | 1.77 | Not recorded | 68fa7b841e209131cea88d76 |

### Random Baseline

P-C: 22.7. Result ID: 69e9ebb747f34ce924d18c0f.

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

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

### GPT-4

P-C: 12.94. Result ID: 69e9ebb747f34ce924d18c0a.

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

Recorded evaluation configuration: {"Method":"Chain-of-Thought"}. This record does not assert independent reproduction.

### White-Basilisk

P-C: 12.92. Result ID: 69e9ebb747f34ce924d18c09.

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

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

Recorded evaluation configuration: {"Method":"Fine-tuning"}. This record does not assert independent reproduction.

### GPT-4

P-C: 5.14. Result ID: 69e9ebb747f34ce924d18c0b.

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

Recorded evaluation configuration: {"Method":"Two-shot"}. This record does not assert independent reproduction.

### CodeGen2.5

P-C: 3.01. Result ID: 69e9ebb747f34ce924d18c0c.

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

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

Recorded evaluation configuration: {"Method":"Fine-tuning"}. This record does not assert independent reproduction.

### StarCoder2-7B

P-C: 2.3. Result ID: 69e9ebb747f34ce924d18c0d.

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

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

Recorded evaluation configuration: {"Method":"Fine-tuning"}. This record does not assert independent reproduction.

### CodeBERT

P-C: 1.77. Result ID: 69e9ebb747f34ce924d18c0e.

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

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

[Implementation](<https://github.com/microsoft/CodeBERT>)

Recorded evaluation configuration: {"Method":"Fine-tuning"}. This record does not assert independent reproduction.

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