diff_id stringlengths 15 35 | change_category stringclasses 7
values | language stringclasses 7
values | file_path stringlengths 9 38 | commit_message stringclasses 11
values | diff_text stringlengths 33 146 | sql_pattern stringclasses 7
values | is_destructive_ground_truth bool 2
classes |
|---|---|---|---|---|---|---|---|
DIFF00000000000 | raw_sql_safe | SQL | users_151.sql | add index / minor schema tweak | @@ -1,3 +1,3 @@
+UPDATE refunds SET score = %s WHERE category = %s; | NONE | false |
DIFF00000000001 | raw_sql_destructive | SQL | inventory_49.sql | update schema | @@ -1,3 +1,3 @@
+ALTER TABLE refunds DROP COLUMN price; | DROP_COLUMN | true |
DIFF00000000002 | general_code_change | JavaScript | shipments_418.js | refactor / feature work | @@ -1,3 +1,3 @@
+function formatDate(d) { return d.toISOString(); } | NONE | false |
DIFF00000000003 | general_code_change | Ruby | notifications_535.rb | refactor / feature work | @@ -1,3 +1,3 @@
+def full_name
"#{first_name} #{last_name}"
end | NONE | false |
DIFF00000000004 | mentioned_in_comment | Python | employees_766.py | add warning comment | @@ -1,3 +1,3 @@
+# NOTE: do not run 'DROP TABLE inventory;' manually, handled by migration tool | DROP_TABLE | false |
DIFF00000000005 | mentioned_in_comment | Python | users_489.py | add warning comment | @@ -1,3 +1,3 @@
+# NOTE: do not run 'ALTER TABLE events DROP COLUMN balance;' manually, handled by migration tool | DROP_COLUMN | false |
DIFF00000000006 | raw_sql_destructive | SQL | products_164.sql | update schema | @@ -1,3 +1,3 @@
+DELETE FROM reviews; | DELETE_UNQUALIFIED | true |
DIFF00000000007 | obfuscated_destructive | SQL | inventory_882.sql | schema cleanup | @@ -1,3 +1,3 @@
+DROP
TABLE
users; | DROP_TABLE | true |
DIFF00000000008 | raw_sql_safe | SQL | shipments_482.sql | add index / minor schema tweak | @@ -1,3 +1,3 @@
+UPDATE customers SET name = %s WHERE amount = %s; | NONE | false |
DIFF00000000009 | raw_sql_destructive | SQL | inventory_323.sql | update schema | @@ -1,3 +1,3 @@
+UPDATE logs SET priority = CONCAT(priority, role); | UPDATE_CONCAT | true |
DIFF00000000010 | general_code_change | Ruby | tickets_503.rb | refactor / feature work | @@ -1,3 +1,3 @@
+def full_name
"#{first_name} #{last_name}"
end | NONE | false |
DIFF00000000011 | raw_sql_destructive | SQL | events_890.sql | update schema | @@ -1,3 +1,3 @@
+ALTER TABLE payments RENAME COLUMN user_id TO amount_cents; | ALTER_RENAME | true |
DIFF00000000012 | general_code_change | TypeScript | notifications_390.ts | refactor / feature work | @@ -1,3 +1,3 @@
+export function toTitleCase(s: string): string { return s.replace(/\w\S*/g, t => t[0].toUpperCase() + t.slice(1)); } | NONE | false |
DIFF00000000013 | orm_schema_change | Ruby | transactions_245.rb | rails migration: drop unused field | @@ -1,3 +1,3 @@
+remove_column :tickets, :status | NONE | true |
DIFF00000000014 | obfuscated_destructive | SQL | transactions_390.sql | schema cleanup | @@ -1,3 +1,3 @@
+UPDATE refunds SET name = CONCAT(name, category); | UPDATE_CONCAT | true |
DIFF00000000015 | raw_sql_destructive | SQL | tickets_767.sql | update schema | @@ -1,3 +1,3 @@
+TRUNCATE TABLE logs; | TRUNCATE | true |
DIFF00000000016 | raw_sql_safe | SQL | notifications_173.sql | add index / minor schema tweak | @@ -1,3 +1,3 @@
+ALTER TABLE reviews ADD COLUMN state VARCHAR(255); | NONE | false |
DIFF00000000017 | orm_schema_change | JavaScript | transactions_832.js | knex migration: drop unused field | @@ -1,3 +1,3 @@
+knex.schema.table('inventory', table => table.dropColumn('created_at')) | NONE | true |
DIFF00000000018 | raw_sql_destructive | SQL | products_9.sql | update schema | @@ -1,3 +1,3 @@
+TRUNCATE TABLE subscriptions; | TRUNCATE | true |
DIFF00000000019 | general_code_change | Python | events_107.py | refactor / feature work | @@ -1,3 +1,3 @@
+def calculate_total(items):
return sum(i.price for i in items) | NONE | false |
DIFF00000000020 | raw_sql_safe | SQL | comments_773.sql | add index / minor schema tweak | @@ -1,3 +1,3 @@
+INSERT INTO products (price, role) VALUES (%s, %s); | NONE | false |
DIFF00000000021 | general_code_change | TypeScript | refunds_973.ts | refactor / feature work | @@ -1,3 +1,3 @@
+export function toTitleCase(s: string): string { return s.replace(/\w\S*/g, t => t[0].toUpperCase() + t.slice(1)); } | NONE | false |
DIFF00000000022 | general_code_change | Python | products_773.py | refactor / feature work | @@ -1,3 +1,3 @@
+def calculate_total(items):
return sum(i.price for i in items) | NONE | false |
DIFF00000000023 | raw_sql_destructive | SQL | logs_87.sql | update schema | @@ -1,3 +1,3 @@
+ALTER TABLE events RENAME COLUMN role TO state; | ALTER_RENAME | true |
DIFF00000000024 | test_suite_cleanup | SQL | spec/shipments_847.sql | test cleanup fixture | @@ -1,3 +1,3 @@
+DROP TABLE notifications; | DROP_TABLE | false |
DIFF00000000025 | test_suite_cleanup | SQL | tests/accounts_105.sql | test cleanup fixture | @@ -1,3 +1,3 @@
+ALTER TABLE inventory RENAME COLUMN user_id TO state; | ALTER_RENAME | false |
DIFF00000000026 | mentioned_in_comment | Python | comments_262.py | add warning comment | @@ -1,3 +1,3 @@
+logger.warning("Skipping legacy query: TRUNCATE TABLE products;") | TRUNCATE | false |
DIFF00000000027 | general_code_change | JavaScript | events_257.js | refactor / feature work | @@ -1,3 +1,3 @@
+const debounce = (fn, ms) => { let t; return (...a) => { clearTimeout(t); t = setTimeout(() => fn(...a), ms); }; }; | NONE | false |
DIFF00000000028 | mentioned_in_comment | Python | products_653.py | add warning comment | @@ -1,3 +1,3 @@
+logger.warning("Skipping legacy query: DROP TABLE shipments;") | DROP_TABLE | false |
DIFF00000000029 | raw_sql_destructive | SQL | invoices_729.sql | update schema | @@ -1,3 +1,3 @@
+DROP TABLE transactions; | DROP_TABLE | true |
DIFF00000000030 | orm_schema_change | Python | events_3.py | django migration: drop unused field | @@ -1,3 +1,3 @@
+migrations.RemoveField(model_name='notifications', name='priority') | NONE | true |
DIFF00000000031 | raw_sql_destructive | SQL | customers_811.sql | update schema | @@ -1,3 +1,3 @@
+DELETE FROM payments; | DELETE_UNQUALIFIED | true |
DIFF00000000032 | mentioned_in_comment | Python | comments_647.py | add warning comment | @@ -1,3 +1,3 @@
+# NOTE: do not run 'ALTER TABLE subscriptions RENAME COLUMN score TO full_name;' manually, handled by migration tool | ALTER_RENAME | false |
DIFF00000000033 | orm_schema_change | TypeScript | employees_56.ts | prisma migration: drop unused field | @@ -1,3 +1,3 @@
+model Orders { // removed field: name } | NONE | true |
DIFF00000000034 | orm_schema_change | Python | logs_287.py | django migration: drop unused field | @@ -1,3 +1,3 @@
+migrations.RemoveField(model_name='sessions', name='price') | NONE | true |
DIFF00000000035 | raw_sql_destructive | SQL | sessions_747.sql | update schema | @@ -1,3 +1,3 @@
+TRUNCATE TABLE shipments; | TRUNCATE | true |
DIFF00000000036 | general_code_change | JavaScript | payments_141.js | refactor / feature work | @@ -1,3 +1,3 @@
+function formatDate(d) { return d.toISOString(); } | NONE | false |
DIFF00000000037 | general_code_change | Java | orders_307.java | refactor / feature work | @@ -1,3 +1,3 @@
+public class UserService { public User findById(Long id) { return repo.find(id); } } | NONE | false |
DIFF00000000038 | general_code_change | JavaScript | notifications_831.js | refactor / feature work | @@ -1,3 +1,3 @@
+const debounce = (fn, ms) => { let t; return (...a) => { clearTimeout(t); t = setTimeout(() => fn(...a), ms); }; }; | NONE | false |
DIFF00000000039 | orm_schema_change | JavaScript | shipments_35.js | knex migration: drop unused field | @@ -1,3 +1,3 @@
+knex.schema.table('accounts', table => table.dropColumn('balance')) | NONE | true |
DIFF00000000040 | general_code_change | JavaScript | payments_725.js | refactor / feature work | @@ -1,3 +1,3 @@
+function formatDate(d) { return d.toISOString(); } | NONE | false |
DIFF00000000041 | mentioned_in_comment | Python | transactions_233.py | add warning comment | @@ -1,3 +1,3 @@
+"""This function used to run: DROP TABLE products; -- now deprecated""" | DROP_TABLE | false |
DIFF00000000042 | mentioned_in_comment | Python | orders_210.py | add warning comment | @@ -1,3 +1,3 @@
+# NOTE: do not run 'DROP TABLE inventory;' manually, handled by migration tool | DROP_TABLE | false |
DIFF00000000043 | raw_sql_destructive | SQL | invoices_509.sql | update schema | @@ -1,3 +1,3 @@
+ALTER TABLE accounts DROP COLUMN priority; | DROP_COLUMN | true |
DIFF00000000044 | orm_schema_change | JavaScript | accounts_276.js | sequelize migration: drop unused field | @@ -1,3 +1,3 @@
+queryInterface.removeColumn('transactions', 'name') | NONE | true |
DIFF00000000045 | general_code_change | Ruby | events_34.rb | refactor / feature work | @@ -1,3 +1,3 @@
+def full_name
"#{first_name} #{last_name}"
end | NONE | false |
DIFF00000000046 | mentioned_in_comment | Python | sessions_38.py | add warning comment | @@ -1,3 +1,3 @@
+"""This function used to run: ALTER TABLE accounts RENAME COLUMN priority TO user_role; -- now deprecated""" | ALTER_RENAME | false |
DIFF00000000047 | test_suite_cleanup | SQL | mysql-test/suite/comments_813.sql | test cleanup fixture | @@ -1,3 +1,3 @@
+DROP TABLE products; | DROP_TABLE | false |
DIFF00000000048 | raw_sql_destructive | SQL | products_378.sql | update schema | @@ -1,3 +1,3 @@
+UPDATE employees SET email = CONCAT(email, category); | UPDATE_CONCAT | true |
DIFF00000000049 | orm_schema_change | JavaScript | orders_371.js | sequelize migration: drop unused field | @@ -1,3 +1,3 @@
+queryInterface.removeColumn('events', 'user_id') | NONE | true |
DIFF00000000050 | raw_sql_safe | SQL | logs_95.sql | add index / minor schema tweak | @@ -1,3 +1,3 @@
+INSERT INTO events (category, priority) VALUES (%s, %s); | NONE | false |
DIFF00000000051 | mentioned_in_comment | Python | users_823.py | add warning comment | @@ -1,3 +1,3 @@
+# NOTE: do not run 'ALTER TABLE tickets RENAME COLUMN address TO full_name;' manually, handled by migration tool | ALTER_RENAME | false |
DIFF00000000052 | obfuscated_destructive | SQL | inventory_304.sql | schema cleanup | @@ -1,3 +1,3 @@
+ALTER
TABLE
inventory
RENAME
COLUMN
balance
TO
contact_email; | ALTER_RENAME | true |
DIFF00000000053 | general_code_change | Java | users_837.java | refactor / feature work | @@ -1,3 +1,3 @@
+public class UserService { public User findById(Long id) { return repo.find(id); } } | NONE | false |
DIFF00000000054 | raw_sql_destructive | SQL | users_69.sql | update schema | @@ -1,3 +1,3 @@
+UPDATE shipments SET price = CONCAT(price, balance); | UPDATE_CONCAT | true |
DIFF00000000055 | general_code_change | TypeScript | events_650.ts | refactor / feature work | @@ -1,3 +1,3 @@
+export function toTitleCase(s: string): string { return s.replace(/\w\S*/g, t => t[0].toUpperCase() + t.slice(1)); } | NONE | false |
DIFF00000000056 | test_suite_cleanup | SQL | test/invoices_175.sql | test cleanup fixture | @@ -1,3 +1,3 @@
+UPDATE employees SET phone = CONCAT(phone, name); | UPDATE_CONCAT | false |
DIFF00000000057 | raw_sql_destructive | SQL | subscriptions_565.sql | update schema | @@ -1,3 +1,3 @@
+ALTER TABLE tickets RENAME COLUMN amount TO state; | ALTER_RENAME | true |
DIFF00000000058 | orm_schema_change | Python | subscriptions_389.py | django migration: drop unused field | @@ -1,3 +1,3 @@
+migrations.RemoveField(model_name='reviews', name='name') | NONE | true |
DIFF00000000059 | obfuscated_destructive | SQL | products_552.sql | schema cleanup | @@ -1,3 +1,3 @@
+truncate table sessions; | TRUNCATE | true |
DIFF00000000060 | raw_sql_safe | SQL | inventory_515.sql | add index / minor schema tweak | @@ -1,3 +1,3 @@
+UPDATE shipments SET price = %s WHERE email = %s; | NONE | false |
DIFF00000000061 | general_code_change | JavaScript | events_62.js | refactor / feature work | @@ -1,3 +1,3 @@
+function formatDate(d) { return d.toISOString(); } | NONE | false |
DIFF00000000062 | raw_sql_destructive | SQL | refunds_345.sql | update schema | @@ -1,3 +1,3 @@
+DROP TABLE tickets; | DROP_TABLE | true |
DIFF00000000063 | test_suite_cleanup | SQL | spec/logs_790.sql | test cleanup fixture | @@ -1,3 +1,3 @@
+DELETE FROM inventory; | DELETE_UNQUALIFIED | false |
DIFF00000000064 | mentioned_in_comment | Python | comments_992.py | add warning comment | @@ -1,3 +1,3 @@
+"""This function used to run: DROP TABLE orders; -- now deprecated""" | DROP_TABLE | false |
DIFF00000000065 | general_code_change | TypeScript | subscriptions_21.ts | refactor / feature work | @@ -1,3 +1,3 @@
+export function toTitleCase(s: string): string { return s.replace(/\w\S*/g, t => t[0].toUpperCase() + t.slice(1)); } | NONE | false |
DIFF00000000066 | raw_sql_destructive | SQL | notifications_103.sql | update schema | @@ -1,3 +1,3 @@
+UPDATE tickets SET email = CONCAT(email, phone); | UPDATE_CONCAT | true |
DIFF00000000067 | obfuscated_destructive | SQL | events_644.sql | schema cleanup | @@ -1,3 +1,3 @@
+TrUnCAte tABle eVEntS; | TRUNCATE | true |
DIFF00000000068 | raw_sql_destructive | SQL | shipments_291.sql | update schema | @@ -1,3 +1,3 @@
+UPDATE subscriptions SET score = CONCAT(score, price); | UPDATE_CONCAT | true |
DIFF00000000069 | obfuscated_destructive | SQL | tickets_161.sql | schema cleanup | @@ -1,3 +1,3 @@
+UPDATE notifications SET name = CONCAT(name, role); | UPDATE_CONCAT | true |
DIFF00000000070 | general_code_change | Python | comments_786.py | refactor / feature work | @@ -1,3 +1,3 @@
+class Cache:
def __init__(self):
self._store = {} | NONE | false |
DIFF00000000071 | raw_sql_destructive | SQL | payments_138.sql | update schema | @@ -1,3 +1,3 @@
+ALTER TABLE subscriptions RENAME COLUMN phone TO contact_email; | ALTER_RENAME | true |
DIFF00000000072 | raw_sql_destructive | SQL | accounts_983.sql | update schema | @@ -1,3 +1,3 @@
+ALTER TABLE reviews RENAME COLUMN category TO full_name; | ALTER_RENAME | true |
DIFF00000000073 | raw_sql_destructive | SQL | logs_628.sql | update schema | @@ -1,3 +1,3 @@
+UPDATE transactions SET user_id = CONCAT(user_id, description); | UPDATE_CONCAT | true |
DIFF00000000074 | raw_sql_destructive | SQL | refunds_335.sql | update schema | @@ -1,3 +1,3 @@
+ALTER TABLE products RENAME COLUMN quantity TO contact_email; | ALTER_RENAME | true |
DIFF00000000075 | orm_schema_change | JavaScript | subscriptions_946.js | knex migration: drop unused field | @@ -1,3 +1,3 @@
+knex.schema.table('reviews', table => table.dropColumn('priority')) | NONE | true |
DIFF00000000076 | orm_schema_change | TypeScript | logs_526.ts | prisma migration: drop unused field | @@ -1,3 +1,3 @@
+model Refunds { // removed field: metadata } | NONE | true |
DIFF00000000077 | raw_sql_safe | SQL | products_373.sql | add index / minor schema tweak | @@ -1,3 +1,3 @@
+CREATE INDEX idx_reviews_updated_at ON reviews (description); | NONE | false |
DIFF00000000078 | orm_schema_change | TypeScript | orders_89.ts | prisma migration: drop unused field | @@ -1,3 +1,3 @@
+model Logs { // removed field: category } | NONE | true |
DIFF00000000079 | general_code_change | Python | users_119.py | refactor / feature work | @@ -1,3 +1,3 @@
+class Cache:
def __init__(self):
self._store = {} | NONE | false |
DIFF00000000080 | general_code_change | JavaScript | accounts_255.js | refactor / feature work | @@ -1,3 +1,3 @@
+const debounce = (fn, ms) => { let t; return (...a) => { clearTimeout(t); t = setTimeout(() => fn(...a), ms); }; }; | NONE | false |
DIFF00000000081 | raw_sql_destructive | SQL | refunds_99.sql | update schema | @@ -1,3 +1,3 @@
+UPDATE users SET amount = CONCAT(amount, order_id); | UPDATE_CONCAT | true |
DIFF00000000082 | obfuscated_destructive | SQL | accounts_857.sql | schema cleanup | @@ -1,3 +1,3 @@
+DroP TablE ACcOUntS; | DROP_TABLE | true |
DIFF00000000083 | raw_sql_destructive | SQL | transactions_410.sql | update schema | @@ -1,3 +1,3 @@
+DELETE FROM comments; | DELETE_UNQUALIFIED | true |
DIFF00000000084 | raw_sql_destructive | SQL | sessions_265.sql | update schema | @@ -1,3 +1,3 @@
+TRUNCATE TABLE orders; | TRUNCATE | true |
DIFF00000000085 | mentioned_in_comment | Python | payments_334.py | add warning comment | @@ -1,3 +1,3 @@
+# NOTE: do not run 'ALTER TABLE tickets DROP COLUMN status;' manually, handled by migration tool | DROP_COLUMN | false |
DIFF00000000086 | raw_sql_safe | SQL | inventory_636.sql | add index / minor schema tweak | @@ -1,3 +1,3 @@
+CREATE INDEX idx_customers_score ON customers (price); | NONE | false |
DIFF00000000087 | general_code_change | JavaScript | comments_93.js | refactor / feature work | @@ -1,3 +1,3 @@
+const debounce = (fn, ms) => { let t; return (...a) => { clearTimeout(t); t = setTimeout(() => fn(...a), ms); }; }; | NONE | false |
DIFF00000000088 | general_code_change | Python | transactions_783.py | refactor / feature work | @@ -1,3 +1,3 @@
+def calculate_total(items):
return sum(i.price for i in items) | NONE | false |
DIFF00000000089 | raw_sql_safe | SQL | events_74.sql | add index / minor schema tweak | @@ -1,3 +1,3 @@
+CREATE INDEX idx_shipments_name ON shipments (address); | NONE | false |
DIFF00000000090 | raw_sql_safe | SQL | products_9.sql | add index / minor schema tweak | @@ -1,3 +1,3 @@
+INSERT INTO refunds (is_active, amount) VALUES (%s, %s); | NONE | false |
DIFF00000000091 | raw_sql_destructive | SQL | events_251.sql | update schema | @@ -1,3 +1,3 @@
+TRUNCATE TABLE employees; | TRUNCATE | true |
DIFF00000000092 | general_code_change | JavaScript | shipments_908.js | refactor / feature work | @@ -1,3 +1,3 @@
+function formatDate(d) { return d.toISOString(); } | NONE | false |
DIFF00000000093 | general_code_change | JavaScript | sessions_265.js | refactor / feature work | @@ -1,3 +1,3 @@
+function formatDate(d) { return d.toISOString(); } | NONE | false |
DIFF00000000094 | general_code_change | Ruby | users_682.rb | refactor / feature work | @@ -1,3 +1,3 @@
+def full_name
"#{first_name} #{last_name}"
end | NONE | false |
DIFF00000000095 | general_code_change | JavaScript | refunds_177.js | refactor / feature work | @@ -1,3 +1,3 @@
+function formatDate(d) { return d.toISOString(); } | NONE | false |
DIFF00000000096 | raw_sql_destructive | SQL | events_811.sql | update schema | @@ -1,3 +1,3 @@
+TRUNCATE TABLE payments; | TRUNCATE | true |
DIFF00000000097 | orm_schema_change | TypeScript | notifications_540.ts | prisma migration: drop unused field | @@ -1,3 +1,3 @@
+model Shipments { // removed field: order_id } | NONE | true |
DIFF00000000098 | orm_schema_change | JavaScript | users_393.js | sequelize migration: drop unused field | @@ -1,3 +1,3 @@
+queryInterface.removeColumn('sessions', 'updated_at') | NONE | true |
DIFF00000000099 | test_suite_cleanup | SQL | spec/orders_684.sql | test cleanup fixture | @@ -1,3 +1,3 @@
+UPDATE reviews SET updated_at = CONCAT(updated_at, phone); | UPDATE_CONCAT | false |
Free Synthetic Code Diffs (100M)
A 100-million-row synthetic dataset of code diffs labeled for destructive-change detection — the kind of change that silently drops data, tables, or columns in a migration or deploy. Every diff in this dataset is fabricated; none of it comes from real repositories, so there's no copyright or licensing entanglement.
Detecting a truly destructive change is harder than it looks. A plain regex for DROP TABLE or DELETE FROM catches the obvious cases and misses (or wrongly flags) a long tail of edge cases: destructive intent expressed through an ORM instead of raw SQL, casing or whitespace tricks that dodge a literal pattern match, a dangerous string sitting harmlessly inside a comment or log line, or a DROP that's actually just test-suite cleanup. This dataset is built specifically to stress-test detectors against that edge-case distribution, not just reward pattern recall.
Schema
| Column | Type | Description |
|---|---|---|
| diff_id | string | Unique identifier for the diff |
| change_category | string | One of 7 categories (see below) |
| language | string | Source language of the changed file |
| file_path | string | Fabricated file path for the change |
| commit_message | string | Synthetic commit message |
| diff_text | string | The unified diff text |
| sql_pattern | string | SQL pattern present in the diff, if any |
| is_destructive_ground_truth | bool | Ground-truth label — whether the change is actually destructive |
Change categories
raw_sql_destructive(15%) — literal destructive SQL (DROP/DELETE/TRUNCATE)raw_sql_safe(15%) — literal SQL that looks risky but isn't destructiveorm_schema_change(15%) — destructive change made through an ORM migration, no raw SQL to match onobfuscated_destructive(10%) — destructive SQL disguised via casing/whitespace/newline variationmentioned_in_comment(10%) — destructive-looking SQL sitting in a comment, docstring, or log string — not executedtest_suite_cleanup(10%) — a DROP/DELETE inside test setup/teardown — not a production riskgeneral_code_change(25%) — unrelated code changes, for class balance
is_destructive_ground_truth is set independently of whether a literal SQL keyword is present, so the dataset actually tests classification quality rather than keyword matching.
Format
Single Parquet file, Snappy compression, ~2.9 GB, 100,000,000 rows.
Quick start
import pandas as pd
df = pd.read_parquet("synthetic_code_diffs_100M.parquet")
from datasets import load_dataset
ds = load_dataset("ziadatalabs/FreeSyntheticCodeDiffs100M")
import duckdb
con = duckdb.connect()
con.sql("SELECT * FROM 'synthetic_code_diffs_100M.parquet' LIMIT 10").show()
Notes
- All diffs, file paths, and commit messages are fabricated — no real repository content.
- Categories are stratified as listed above; use
change_categoryto filter or rebalance for your task. is_destructive_ground_truthis the label to train/evaluate against — don't infer it purely fromsql_pattern.
License & Usage
Released under CC BY-NC 4.0 — free for personal, research, and educational use, with attribution. Not licensed for commercial use.
No real people, repositories, or organizations are represented in this data. It is entirely synthetic.
Created by Zia Data Labs. Questions or feedback: zia.data.team@protonmail.com
- Downloads last month
- 43