mistyyyyyyyyy commited on
Commit
04eb3f1
·
verified ·
1 Parent(s): d5df2fb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +130 -0
README.md CHANGED
@@ -1,3 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
  tags:
 
1
+ # PR_Review-Benchmark-Dataset
2
+ A High-Signal Dataset for Evaluating AI Code Review & Test Generation Systems
3
+
4
+ ## Overview
5
+ PR_Review-Benchmark-Dataset is a curated dataset of merged GitHub Pull Requests, code patches, and human review comments, designed for benchmarking:
6
+
7
+ 1. AI Code Review Systems
8
+ 2. Test Case Generation Models
9
+ 3. Software Engineering LLMs
10
+
11
+ All data is derived from publicly available open-source repositories under permissive licenses and processed using a privacy-preserving pipeline.
12
+ This dataset is suitable for academic research, open benchmarking, and commercial evaluation.
13
+
14
+ ## Dataset Contents
15
+ Each entry contains:
16
+ 1. Pull request metadata
17
+ 2. Code patches
18
+ 3. Human review comments
19
+ 4. Anonymized contributor identifiers
20
+ 5. Repository license information
21
+ 6. Derived evaluation metadata
22
+
23
+ ### Example:
24
+ ```md
25
+ ```json
26
+ {
27
+ "_id": "...",
28
+ "repo": "psf/requests",
29
+ "license_spdx": "Apache-2.0",
30
+ "title": "...",
31
+ "files": [...],
32
+ "reviews": [...],
33
+ "review_comments": [...],
34
+ "meta": {...}
35
+ }
36
+ ```
37
+
38
+
39
+ ### Schema Overview
40
+ | Field | Description |
41
+ | ------------------------------- | ----------------------------- |
42
+ | `_id` | Unique salted hash identifier |
43
+ | `_schema_version` | Dataset schema version |
44
+ | `_cleaned_at` | Processing timestamp |
45
+ | `repo` | Repository name |
46
+ | `license_spdx` | SPDX license identifier |
47
+ | `files` | Modified files with patches |
48
+ | `reviews` | Pull request reviews |
49
+ | `review_comments` | Inline reviewer comments |
50
+ | `meta.touches_tests` | Test-modifying PR flag |
51
+ | `meta.meaningful_comment_count` | Review signal strength |
52
+ | `meta.review_state_summary` | Review status summary |
53
+
54
+ ## Legal & Privacy Compliance
55
+ This dataset follows a Privacy by Design approach and complies with applicable data protection regulations.
56
+ 🇮🇳 India: Digital Personal Data Protection Act (DPDP), 2023
57
+ Data is processed under Section 3(c)(ii) exemption:
58
+ Publicly available personal data made available by the data principal.
59
+
60
+ #### Privacy Measures
61
+ | Measure | Description |
62
+ | ----------------- | ------------------------------------------------- |
63
+ | Anonymization | Usernames are replaced with salted SHA-256 hashes |
64
+ | Redaction | Names, emails, URLs, and PII are removed |
65
+ | Content Filtering | Private/non-public repos excluded |
66
+ | License Filtering | Only permissive licenses allowed |
67
+
68
+ #### Data Processing Pipeline
69
+ 1. Multi-pass regex filtering
70
+ 2. NLP-based name detection
71
+ 3. Stable pseudonym mapping
72
+ 4. Patch-level sanitization
73
+ 5. Deduplication
74
+ No original personal identifiers are retained.
75
+
76
+ ## Attribution & Provenance
77
+
78
+ ### Dataset Attribution Manifest
79
+
80
+ Generated on: 2026-02-12
81
+ This dataset contains code snippets, pull request metadata, and human review comments derived from the following public open-source repositories.
82
+ All data was collected from repositories explicitly using permissive licenses.
83
+
84
+ #### Repositories Included
85
+ | # | Repository | License | URL |
86
+ | - | ------------------------- | ------------ | -------------------------------------------------------------------------------------------- |
87
+ | 1 | psf/requests | Apache-2.0 | [https://github.com/psf/requests](https://github.com/psf/requests) |
88
+ | 2 | django/django | BSD-3-Clause | [https://github.com/django/django](https://github.com/django/django) |
89
+ | 3 | tiangolo/fastapi | MIT | [https://github.com/tiangolo/fastapi](https://github.com/tiangolo/fastapi) |
90
+ | 4 | numpy/numpy | BSD-3-Clause | [https://github.com/numpy/numpy](https://github.com/numpy/numpy) |
91
+ | 5 | pandas-dev/pandas | BSD-3-Clause | [https://github.com/pandas-dev/pandas](https://github.com/pandas-dev/pandas) |
92
+ | 6 | scikit-learn/scikit-learn | BSD-3-Clause | [https://github.com/scikit-learn/scikit-learn](https://github.com/scikit-learn/scikit-learn) |
93
+ | 7 | pytorch/pytorch | BSD-3-Clause | [https://github.com/pytorch/pytorch](https://github.com/pytorch/pytorch) |
94
+ | 8 | tensorflow/tensorflow | Apache-2.0 | [https://github.com/tensorflow/tensorflow](https://github.com/tensorflow/tensorflow) |
95
+ | 9 | python/cpython | PSF License | [https://github.com/python/cpython](https://github.com/python/cpython) |
96
+ ### Legal Notice
97
+ All original code is copyright (c) its respective contributors.
98
+ This dataset is a derived work for machine learning research and benchmarking.
99
+ No ownership of original content is claimed.
100
+
101
+ ## Limitations & Biases
102
+
103
+ 1. Focuses on large, mature OSS projects
104
+ 2. Underrepresents small/private repos
105
+ 3. English-centric discussions
106
+ 4. Limited to merged PRs
107
+
108
+ This dataset reflects real-world OSS workflows, not all software development contexts.
109
+
110
+ ## Recommended Citation
111
+ * PR Review Benchmark Dataset (2026).
112
+ * Curated for Code-LLM Evaluation.
113
+
114
+ ## Responsible Use
115
+ #### This dataset is intended for:
116
+ * Improving developer tools
117
+ * Advancing ML research
118
+ * Supporting open-source ecosystems
119
+ #### Users must not:
120
+ * Attempt deanonymization
121
+ * Extract personal identities
122
+ * Misrepresent authorship
123
+ * Violate upstream licenses
124
+
125
+ ## Contact & Maintenance
126
+ For issues, improvements, or corrections:
127
+ * Open a GitHub Issue
128
+ * Submit a Pull Request
129
+
130
+
131
  ---
132
  license: mit
133
  tags: