Datasets:

Modalities:
Text
Formats:
parquet
Size:
< 1K
ArXiv:
Libraries:
Datasets
pandas
License:
mveroe commited on
Commit
b351633
·
verified ·
1 Parent(s): 0fbb59b

Update README.md

Browse files

### Dataset Summary
BaxBench is a coding benchmark constructed to measure the ability of code generation models and agents to generate correct and secure code. It consists of 392 backend development tasks, which are constructed by combining 28 scenarios that describe the backend functionalities to implement and 14 backend frameworks defining the implementation tools. To assess the correctness and security of the solutions, the benchmark uses end-to-end functional tests and practical securtiy exploits.

The dataset is released as part of the paper and benchmark: [BaxBench: Can LLMs generate Correct and Secure Backends?](https://arxiv.org/abs/2502.11844).

The dataset contains all necessary artifacts to reproduce the evaluation prompts used in our paper. Further, it enables the testing of different prompt structures or models by forming new prompt types, e.g, for testing code agents.

For details on reproducing our results, or testing your models on the same prompts, please refer to our [paper](https://arxiv.org/abs/2502.11844) or [code repository](https://github.com/logic-star-ai/baxbench).

To test your generated solutions, please follow the instructions in our [code repository](https://github.com/logic-star-ai/baxbench).

For more details on the construction of BaxBench, large-scale model evaluation results, and detailed analyses, please see our [paper](https://arxiv.org/abs/2502.11844) or visit our [website](https://baxbench.com).

### Citation

**BibTeX:**
```


@article
{vero2025baxbenchllmsgeneratecorrect,
title={BaxBench: Can LLMs Generate Correct and Secure Backends?},
author={Mark Vero and Niels Mündler and Victor Chibotaru and Veselin Raychev and Maximilian Baader and Nikola Jovanović and Jingxuan He and Martin Vechev},
year={2025},
eprint={2502.11844},
archivePrefix={arXiv},
}
```

Files changed (1) hide show
  1. README.md +68 -60
README.md CHANGED
@@ -1,60 +1,68 @@
1
- ---
2
- license: mit
3
- configs:
4
- - config_name: default
5
- data_files:
6
- - split: test
7
- path: data/test-*
8
- dataset_info:
9
- features:
10
- - name: task_id
11
- dtype: string
12
- - name: scenario_id
13
- dtype: string
14
- - name: env_id
15
- dtype: string
16
- - name: api_specification
17
- dtype: string
18
- - name: text_specification
19
- dtype: string
20
- - name: short_app_description
21
- dtype: string
22
- - name: scenario_instructions
23
- dtype: string
24
- - name: needs_db
25
- dtype: bool
26
- - name: needs_secret
27
- dtype: bool
28
- - name: needed_packages
29
- struct:
30
- - name: JavaScript
31
- sequence: string
32
- - name: _all_
33
- sequence: string
34
- - name: potential_cwes
35
- sequence: int64
36
- - name: env_language
37
- dtype: string
38
- - name: env_extension
39
- dtype: string
40
- - name: env_framework
41
- dtype: string
42
- - name: env_multifile
43
- dtype: bool
44
- - name: code_filename
45
- dtype: string
46
- - name: entrypoint_cmd
47
- dtype: string
48
- - name: allowed_packages
49
- dtype: string
50
- - name: env_instructions
51
- dtype: string
52
- - name: port
53
- dtype: int64
54
- splits:
55
- - name: test
56
- num_bytes: 1829870
57
- num_examples: 392
58
- download_size: 70513
59
- dataset_size: 1829870
60
- ---
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ configs:
4
+ - config_name: default
5
+ data_files:
6
+ - split: test
7
+ path: data/test-*
8
+ dataset_info:
9
+ features:
10
+ - name: task_id
11
+ dtype: string
12
+ - name: scenario_id
13
+ dtype: string
14
+ - name: env_id
15
+ dtype: string
16
+ - name: api_specification
17
+ dtype: string
18
+ - name: text_specification
19
+ dtype: string
20
+ - name: short_app_description
21
+ dtype: string
22
+ - name: scenario_instructions
23
+ dtype: string
24
+ - name: needs_db
25
+ dtype: bool
26
+ - name: needs_secret
27
+ dtype: bool
28
+ - name: needed_packages
29
+ struct:
30
+ - name: JavaScript
31
+ sequence: string
32
+ - name: _all_
33
+ sequence: string
34
+ - name: potential_cwes
35
+ sequence: int64
36
+ - name: env_language
37
+ dtype: string
38
+ - name: env_extension
39
+ dtype: string
40
+ - name: env_framework
41
+ dtype: string
42
+ - name: env_multifile
43
+ dtype: bool
44
+ - name: code_filename
45
+ dtype: string
46
+ - name: entrypoint_cmd
47
+ dtype: string
48
+ - name: allowed_packages
49
+ dtype: string
50
+ - name: env_instructions
51
+ dtype: string
52
+ - name: port
53
+ dtype: int64
54
+ splits:
55
+ - name: test
56
+ num_bytes: 1829870
57
+ num_examples: 392
58
+ download_size: 70513
59
+ dataset_size: 1829870
60
+ task_categories:
61
+ - text-generation
62
+ tags:
63
+ - code
64
+ - security
65
+ - benchmark
66
+ size_categories:
67
+ - n<1K
68
+ ---