Benchmark of Benchmarks: Unpacking Influence and Code Repository Quality in LLM Safety Benchmarks
Organizations: CISPA Helmholtz Center for Information Security · University of Waterloo · Flexera
Abstract
The rapid expansion of research in LLM safety presents challenges in tracking advancements, making benchmarks important evaluation infrastructures for identifying key trends and facilitating systematic comparisons. Yet no systematic assessment exists of their code quality and runnability, nor of what factors are associated with the community's adoption of certain benchmarks over others. To address this gap, we conduct a systematic measurement study of 31 LLM safety benchmarks (covering prompt injection, jailbreak, and hallucination) with 382 non-benchmark papers as a control group, combining automated static analysis, human runnability testing (220+ person-hours), and bibliometric analysis. We find that only 39% of benchmark repositories can run without modification, only 16% provide flawless installation guides, and a mere 6% include ethical considerations despite containing potentially harmful content. These deficiencies persist across the study period with no significant improvement. Analyzing adoption factors, we find that benchmark adoption correlates with author prominence and code runnability, but not with code quality standards such as Pylint score and maintainability, suggesting that the community's benchmark selection does not reward higher coding standards. Based on these results, we identify potential safety and reliability concerns. Some safety benchmark repositories openly expose harmful content, such as successful jailbreak responses, without any ethical warning or access control, effectively serving as unguarded attack resources. Furthermore, when benchmarks require ad-hoc modifications to run, downstream safety evaluations across different papers may not be comparable. We present case studies illustrating these concrete consequences and propose a targeted checklist to help benchmark contributors improve code quality, documentation, and ethical practices.
Figures & tables
| Benchmark | Non-Benchmark | |
| Collection Period | [November 30, 2022 – November 1, 2024] | |
| # Papers | 31 | 382 |
| # Repositories | 27 | 168 |
| # Jailbreak | 12 | 246 |
| # Hallucination | 13 | 103 |
| # Prompt Injection | 6 | 33 |
| Aspect | Description |
| Code Quality | Is the necessary dataset available in the repository? |
| Are the provided example scripts runnable? | |
| Are there any extra modifications required (such as fixing bugs) besides those mentioned in the guides when trying to run the example scripts? | |
| Supplementary Material Quality | Does the repository provide good install guides? |
| Does the repository provide useful data guides? | |
| Does the repository contain essential ethical considerations? |
| Dimension | Cohen’s | Gwet’s AC1 | PABAK |
| Runnable Demo | 0.704 | 0.885 | 0.833 |
| Install Guide | 0.467 | 0.902 | 0.833 |
| Ethical Consideration | 1.000 | 1.000 | 1.000 |
| Data Available | 1.000 | 1.000 | 1.000 |
| Data Guidance | 1.000 | 1.000 | 1.000 |
| Metric | -value | Cliff’s | 95% CI | Effect Size |
| Pylint Score | 0.031 | 0.276 | [ 0.525, 0.014] | Small |
| Cyclomatic Complexity | 0.649 | 0.055 | [ 0.296, 0.195] | Negligible |
| Maintainability Index | 0.244 | 0.140 | [ 0.388, 0.113] | Negligible |
| Number of Static Errors | 0.783 | 0.014 | [ 0.132, 0.078] | Negligible |
| Reply Time (Hours) | 0.044 | 0.239 | [ 0.426, 0.040] | Small |
| Last Commit Time (Days) | 0.491 | 0.083 | [ 0.138, 0.299] | Negligible |
| Metric | -value | Power | |
| Pylint Score* | 0.276 | 0.031 | 0.774 |
| Cyclomatic Complexity | 0.055 | 0.649 | 0.822 |
| Maintainability Index | 0.140 | 0.244 | 0.822 |
| Number of Static Errors | 0.014 | 0.783 | 0.822 |
| Reply Time (Hours)* | 0.239 | 0.044 | 0.822 |
| Last Commit Time (Days) | 0.083 | 0.491 | 0.822 |
| Period | Pylint | Runnable | Ethical | Install Guide | |
| 2023H1 | 2 | 4.91 | 100% | 0% | 50% |
| 2023H2 | 9 | 6.28 | 87.5% | 0% | 100% |
| 2024H1 | 16 | 5.91 | 83.3% | 13.3% | 100% |
| 2024H2 | 3 | 4.06 | 100% | 0% | 100% |
| K-W -value | 0.828 | 0.819 | 0.499 | 0.007 | |
| Aspect | Factor | Description | Type |
| Author | Author Number | The number of the authors of a paper. | Quantitative |
| Author Citation Count (Top-1) | The top-1 (highest) citation count among all authors in a paper. | Quantitative | |
| Author H-Index (Top-1) | The top-1 (highest) h-index among all authors in a paper. | Quantitative | |
| Institution | Institution Number | The number of institutions a paper is affiliated with. | Quantitative |
| Industry Involvement Status | Whether organizations from industry participate in a paper. | Qualitative | |
| Institution CSRankings (Top-1) | The top-1 (highest) ranking in CSRankings among all institutions a paper is affiliated with. | Quantitative |
| Metric | -value | Cliff’s | 95% CI | Effect Size |
| GitHub Star Density | 0.012 | 0.301 | [ 0.501, 0.091] | Small |
| GitHub Star Count | 0.004 | 0.347 | [ 0.536, 0.151] | Medium |
| Citation Density | 0.309 | 0.112 | [ 0.310, 0.090] | Negligible |
| Citation Count | 0.237 | 0.130 | [ 0.320, 0.068] | Negligible |
| Scientific Field Count | 0.632 | 0.052 | [ 0.247, 0.143] | Negligible |
| Metric | -value | Power | |
| GitHub Star Density* | 0.301 | 0.012 | 0.822 |
| GitHub Star Count* | 0.347 | 0.004 | 0.822 |
| Citation Density | 0.112 | 0.309 | 0.881 |
| Citation Count | 0.130 | 0.237 | 0.882 |
| Scientific Field Count | 0.052 | 0.632 | 0.882 |
Appendix figures & tables18 assets
Supplementary material from the paper’s appendix.
Appendix
| Predictor | Coef. | Std. Err. | t-value | p-value |
| Intercept | -2.97e-17 | 0.143 | -0.0002 | 1.000 |
| Author Number | -0.0802 | 0.172 | -0.466 | 0.646 |
| Institution Number | 0.5197 | 0.178 | 2.919 | 0.008 |
| Area Number | -0.3347 | 0.182 | -1.839 | 0.079 |
| Author H-Index (Top-1) | 0.9827 | 0.285 | 3.452 | 0.002 |
| Author Citation Count (Top-1) | -0.7993 | 0.284 | -2.815 | 0.010 |
| Predictor | Coef. | Std. Err. | t-value | p-value |
| Intercept | -2.97e-17 | 0.159 | -0.0002 | 1.000 |
| Pylint Score | -0.1897 | 0.182 | -1.040 | 0.310 |
| Cyclomatic Complexity | 0.3465 | 0.257 | 1.350 | 0.191 |
| Maintainability Index | -0.0240 | 0.178 | -0.135 | 0.894 |
| Number of Static Errors | 0.4453 | 0.165 | 2.699 | 0.013 |
| Server Reply Time (Hours) | 0.1809 | 0.167 | 1.081 | 0.291 |
| Dimension | Metric |
| Academic Community | Citation Count |
| Citation Density | |
| Open-Source Community | GitHub Star Count |
| GitHub Star Density | |
| Cross-Disciplinary | Scientific Field Count |