# Code Hallucination Detection on DS-1000

Source: [Code Hallucination Detection on DS-1000](<https://www.sota2.com/research/sota/code-hallucination-detection-on-ds-1000>)

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

Data updated: 2026-04-10T08:00:08.767Z

Evaluation of model performance on detecting code hallucinations using the DS-1000 dataset, measured by OP, OR, and IF R.

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 Hallucination Detection |
| Dataset (including any stated split) | DS-1000 |
| Metric | OP |
| Unit | SCALAR |
| Direction | Higher is better |
| Results loaded | 16 of 16 |
| 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

- [OP](<https://www.sota2.com/research/sota/code-hallucination-detection-on-ds-1000.md?metric=OP>): Higher is better; unit: SCALAR.

- [OR](<https://www.sota2.com/research/sota/code-hallucination-detection-on-ds-1000.md?metric=OR>): Higher is better; unit: SCALAR.

- [IF R](<https://www.sota2.com/research/sota/code-hallucination-detection-on-ds-1000.md?metric=IF%20R>): Higher is better; unit: SCALAR.

## Recorded results

| Method | OP | Result date | Report paper |
| --- | --- | --- | --- |
| Pyright | 0.95 | Not recorded | 69d883f27d0172140ec778fd |
| o3-mini | 0.79 | Not recorded | 69d883f27d0172140ec778fd |
| Mypy | 0.63 | Not recorded | 69d883f27d0172140ec778fd |
| o3-mini | 0.63 | Not recorded | 69d883f27d0172140ec778fd |
| Pyright | 0.61 | Not recorded | 69d883f27d0172140ec778fd |
| o3-mini | 0.61 | Not recorded | 69d883f27d0172140ec778fd |
| Pyright | 0.57 | Not recorded | 69d883f27d0172140ec778fd |
| Grammar | 0.57 | Not recorded | 69d883f27d0172140ec778fd |
| o3-mini | 0.55 | Not recorded | 69d883f27d0172140ec778fd |
| Grammar | 0.53 | Not recorded | 69d883f27d0172140ec778fd |
| Pyright | 0.5 | Not recorded | 69d883f27d0172140ec778fd |
| Grammar | 0.45 | Not recorded | 69d883f27d0172140ec778fd |
| Grammar | 0.36 | Not recorded | 69d883f27d0172140ec778fd |
| Mypy | 0.26 | Not recorded | 69d883f27d0172140ec778fd |
| Mypy | 0.22 | Not recorded | 69d883f27d0172140ec778fd |
| Mypy | 0.16 | Not recorded | 69d883f27d0172140ec778fd |

### Pyright

OP: 0.95. Result ID: 69d8aded47f34ce924c15121.

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

Recorded evaluation configuration: {"Query Model":"Granite"}. This record does not assert independent reproduction.

### o3-mini

OP: 0.79. Result ID: 69d8aded47f34ce924c15125.

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

Recorded evaluation configuration: {"Query Model":"Granite"}. This record does not assert independent reproduction.

### Mypy

OP: 0.63. Result ID: 69d8aded47f34ce924c1511d.

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

Recorded evaluation configuration: {"Query Model":"Granite"}. This record does not assert independent reproduction.

### o3-mini

OP: 0.63. Result ID: 69d8aded47f34ce924c15122.

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

Recorded evaluation configuration: {"Query Model":"claude-3"}. This record does not assert independent reproduction.

### Pyright

OP: 0.61. Result ID: 69d8aded47f34ce924c1511e.

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

Recorded evaluation configuration: {"Query Model":"claude-3"}. This record does not assert independent reproduction.

### o3-mini

OP: 0.61. Result ID: 69d8aded47f34ce924c15123.

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

Recorded evaluation configuration: {"Query Model":"gpt-3.5"}. This record does not assert independent reproduction.

### Pyright

OP: 0.57. Result ID: 69d8aded47f34ce924c1511f.

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

Recorded evaluation configuration: {"Query Model":"gpt-3.5"}. This record does not assert independent reproduction.

### Grammar

OP: 0.57. Result ID: 69d8aded47f34ce924c15129.

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

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

Recorded evaluation configuration: {"Query Model":"Granite"}. This record does not assert independent reproduction.

### o3-mini

OP: 0.55. Result ID: 69d8aded47f34ce924c15124.

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

Recorded evaluation configuration: {"Query Model":"gpt-4"}. This record does not assert independent reproduction.

### Grammar

OP: 0.53. Result ID: 69d8aded47f34ce924c15128.

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

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

Recorded evaluation configuration: {"Query Model":"gpt-4"}. This record does not assert independent reproduction.

### Pyright

OP: 0.5. Result ID: 69d8aded47f34ce924c15120.

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

Recorded evaluation configuration: {"Query Model":"gpt-4"}. This record does not assert independent reproduction.

### Grammar

OP: 0.45. Result ID: 69d8aded47f34ce924c15127.

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

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

Recorded evaluation configuration: {"Query Model":"gpt-3.5"}. This record does not assert independent reproduction.

### Grammar

OP: 0.36. Result ID: 69d8aded47f34ce924c15126.

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

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

Recorded evaluation configuration: {"Query Model":"claude-3"}. This record does not assert independent reproduction.

### Mypy

OP: 0.26. Result ID: 69d8aded47f34ce924c1511b.

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

Recorded evaluation configuration: {"Query Model":"gpt-3.5"}. This record does not assert independent reproduction.

### Mypy

OP: 0.22. Result ID: 69d8aded47f34ce924c1511a.

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

Recorded evaluation configuration: {"Query Model":"claude-3"}. This record does not assert independent reproduction.

### Mypy

OP: 0.16. Result ID: 69d8aded47f34ce924c1511c.

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

Recorded evaluation configuration: {"Query Model":"gpt-4"}. This record does not assert independent reproduction.

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