Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
13
28
messages
listlengths
3
3
kind
stringclasses
2 values
labeled_by
stringclasses
1 value
hunk_id
stringlengths
16
16
repo
stringclasses
9 values
source_url
stringclasses
9 values
commit
stringlengths
12
12
path
stringlengths
8
102
license
stringclasses
5 values
mutation
stringclasses
16 values
p013c-train-0
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
80c79e6a736db4d0
linux
https://github.com/torvalds/linux
86cb2f65aab3
drivers/pmdomain/mediatek/mtk-pm-domains.c
GPL-2.0-only
null
p013c-train-1
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
91afe357491ce6c3
rails
https://github.com/rails/rails
bf952e133ecc
railties/lib/rails/application/routes_reloader.rb
MIT
null
p013c-train-2
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
8f861aa25ac178e9
django
https://github.com/django/django
8096b5251090
django/forms/widgets.py
BSD-3-Clause
null
p013c-train-3
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
39d2545a6c876ebb
requests
https://github.com/psf/requests
e18879932287
src/requests/adapters.py
Apache-2.0
null
p013c-train-4
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
cd791ec2c9f2c007
ovs
https://github.com/openvswitch/ovs
ef762327f6d3
lib/dp-packet-gso.c
Apache-2.0
null
p013c-train-5
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
2541bf357c23e78e
rails
https://github.com/rails/rails
a6b2abf05e36
activesupport/lib/active_support/ractors.rb
MIT
null
p013c-train-6
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
0814b1fe7ad681b3
ovs
https://github.com/openvswitch/ovs
c766f57d4dcb
lib/dpif-offload-provider.h
Apache-2.0
null
p013c-train-7
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
d6fb4bb67f3cdc3d
django
https://github.com/django/django
e14d08cd894e
django/db/models/query_utils.py
BSD-3-Clause
null
p013c-train-8
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
321718f7215be6c2
django
https://github.com/django/django
be6cf8322937
django/db/models/sql/compiler.py
BSD-3-Clause
null
p013c-train-9
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
9aed8fea15cdaca8
ovs
https://github.com/openvswitch/ovs
332ca1dad732
ofproto/ofproto-dpif.c
Apache-2.0
null
p013c-train-10
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
139a2b5b1472feb2
rails
https://github.com/rails/rails
1c84ce0f0e79
activejob/lib/active_job/exceptions.rb
MIT
null
p013c-train-11
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
6b65322168b67af6
rails
https://github.com/rails/rails
2cb3daba96de
activerecord/lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
MIT
null
p013c-train-12
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
cd8b269d7810318f
requests
https://github.com/psf/requests
5855dd711f0a
requests/utils.py
Apache-2.0
null
p013c-train-13
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
24d6b854970dc3cd
flask
https://github.com/pallets/flask
6a64969009bf
src/flask/app.py
BSD-3-Clause
null
p013c-train-14
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
0e9c8fd00fde9bb3
linux
https://github.com/torvalds/linux
4311fd6f4290
net/bluetooth/iso.c
GPL-2.0-only
null
p013c-train-15
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
85b62ac9a13360b9
frr
https://github.com/FRRouting/frr
2adc26d64cdf
zebra/rt_netlink.c
GPL-2.0-or-later
null
p013c-train-16
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
bb22d18a5ed94ba7
fastapi
https://github.com/fastapi/fastapi
65e42bd5eca6
fastapi/_compat/shared.py
MIT
null
p013c-train-17
[ { "role": "system", "content": "# Rubrica: SKILL\n\n---\nname: mas-review\ndescription: Review code for correctness, security, regressions, maintainability, and missing tests through the active MAS harness. Use for code review, audits, PR or MR assessment, and delivery gates.\n---\n\n# mas-review\n\nReview ...
teacher-label
Qwen/Qwen3-Coder-30B-A3B-Instruct
25167d2ba046f469
linux
https://github.com/torvalds/linux
5608386899d9
drivers/mmc/host/bcm2835.c
GPL-2.0-only
null
End of preview. Expand in Data Studio

review-v3d-clean-data

The data that trained and evaluated reinaldosaraiva/review-v3d-clean: single diff hunks from nine open-source projects (C, Python, Ruby), each labelled with a JSON list of concrete defects or an empty list.

Files

File Rows Content
data/train.jsonl 2681 chat-format training rows: 749 teacher-labelled hunks + 1932 seeded contrastive rows (boolean family replicated, ids with ~rN)
data/valid.jsonl 254 validation rows, same composition, no replicas
data/gold.jsonl 530 evaluation gold: 319 clean and 211 defective hunks (by label)
data/gate_pairs.jsonl 20 seeded bug / un-mutated twin pairs used by the A3 and paired gates
data/gate_test.jsonl 20 ids of the gate pairs (no code; provenance is in gate_pairs.jsonl)
NOTICE — per-repository attribution and licenses

Every row that contains code carries repo, source_url, commit, path and license. Chat rows also carry kind: teacher-label (label from Qwen/Qwen3-Coder-30B-A3B-Instruct, then filtered and capped at 8.4 % positives) or sown-pair (a deterministic mutation such as &&→||, <→<=, removed !, with the finding written by the generator; the un-mutated twin is labelled {"findings":[]}).

Gold set

  • gold_by: manual — Django security-fix hunks (diff reversed) and clean hunks from the same commits; an AI agent drafted each label on a review sheet and the owner approved the sheet in one batch. sown — seeded defects with a known line, from the mutation generator. prelabel-model — clean hunks pre-labelled by an unrecorded model in an earlier round, confirmed clean by an AI agent and approved by the owner in one batch. harness-review — clean hunks from commits without a fix, pre-labelled by Qwen3.8-Flash-Next, read by an AI agent harness and kept only when it saw no plausible defect. At dataset construction, no row was confirmed by a person reading it hunk by hunk, and no gold label comes from the teacher that labelled the training data. A later 100-item human audit was completed on 2026-10-14: agreement with the original labels was 88/100 (Wilson 95%: 80.19–93.00%), with Cohen's kappa 0.67123. Human authorship was declared by the owner; there was no second independent human review. Twelve disagreements remain without final human adjudication and the dataset labels are unchanged. This is a stratified sample; the unweighted agreement is not a dataset-wide accuracy estimate. See the published audit record.
  • A separate AI-assisted technical follow-up proposes quarantine of four textual logic mutants and two label changes, retains the test-coverage category, and records scoped counterevidence for the other disputes. Windows performance and full Rails/database integration remain unverified locally. The accompanying metric scenarios are post hoc sensitivity analyses on existing predictions, not improved model performance or a replacement for this frozen dataset.
  • Split: held-out = int(sha256(id), 16) % 2 == 1 (276 rows); the rest (254) is dev, the only part used for checkpoint selection.
  • One known mislabelled clean row from the earlier gold (b1bb25079e285f11, a real bug fixed upstream in requests commit 83eff32e) was removed.

Sources

Django, Flask, requests, FastAPI, Linux, FRR, Open vSwitch, OVN and Rails at pinned snapshots (see NOTICE). Vendored third-party directories were excluded, four hunks flagged by gitleaks were excluded, and every row was checked against a private corpus (by id, commit and whitespace-normalized diff) so that no private code is included.

License

Labels and annotations: CC BY 4.0. The code inside each row keeps the license of its origin, recorded per row — this includes GPL-2.0 code (Linux, FRR, the OVS datapath), BSD-3-Clause, MIT and Apache-2.0. If you redistribute rows, follow the license in the row's license field.

Downloads last month
130

Models trained or fine-tuned on reinaldosaraiva/review-v3d-clean-data