Dataset Viewer
Auto-converted to Parquet Duplicate
pr_id
stringlengths
17
23
repo
stringclasses
6 values
pr_number
int64
14
316k
title
stringlengths
6
289
body
stringlengths
0
8k
author_login
stringclasses
344 values
author_is_bot
bool
2 classes
merged_at
stringdate
2013-05-30 11:42:50
2026-05-11 01:34:40
lines_added
int64
0
65.2k
lines_deleted
int64
0
68k
files_changed
int64
0
401
n_human_comments
int64
0
92
n_bot_comments
int64
0
29
n_reviews_human
int64
0
7
change_focus
float64
0
1
human_reviewer_engagement
float64
0
1
bot_reviewer_engagement
float64
0
1
test_inclusion
float64
0.3
1
ai_authored_probability
float64
0.05
0.95
ai_authored_signals
stringlengths
23
265
comment_hygiene
float64
0
1
license_spdx
stringclasses
3 values
composite_score
float64
0.18
0.93
diff_text
stringlengths
0
50k
quality_quartile
int8
1
4
BurntSushi/ripgrep#3165
BurntSushi/ripgrep
3,165
Add RISC-V (riscv64gc-unknown-linux-gnu) CI and release artifacts
**This PR adds official riscv64 Linux release artifacts so RISC-V developers can run ripgrep natively without cross-compiling.** ## Context & Purpose **Why**: ripgrep ships binaries for many platforms but not riscv64. Adding a riscv64 GNU artifact gives day-zero parity for RISC-V dev boards and CI and avoids fragment...
mariano-m13
false
2025-10-11T00:50:28Z
18
0
4
10
0
2
0.847458
0.98761
0
1
0.15
["Human voice present (context discussion, value proposition), specific technical rationale (cross-compilation, hardware bring-up), deliberate scope philosophy statement"]
1
Unlicense
0.929021
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -95,6 +95,10 @@ jobs: os: ubuntu-latest rust: stable target: s390x-unknown-linux-gnu + - build: stable-riscv64 + os: ubuntu-latest + rust: stable + target: riscv64gc-unknown-linux-gnu ...
1
django/django#16757
django/django
16,757
Fixed #34481 -- Added system check for reverse related fields in ModelAdmin.list_display.
Fixed [ticket #34481](https://code.djangoproject.com/ticket/34481) Add reverse related fields checking in admin module.
Bakdolot
false
2023-04-24T11:14:35Z
21
5
3
17
0
4
0.793651
1
0
1
0.15
["Human voice: specific ticket reference, focused description, minimal commits"]
1
BSD-3-Clause
0.924048
diff --git a/django/contrib/admin/checks.py b/django/contrib/admin/checks.py @@ -916,10 +916,13 @@ def _check_list_display_item(self, obj, item, label): id="admin.E108", ) ] - if isinstance(field, models.ManyToManyField): + if isinstance(field...
1
django/django#21227
django/django
21,227
Refs #36439 -- Added sync_to_async() to dummy password hasher path.
#### Trac ticket number ticket-36439 Follow-up to 748ca0a146175c4868ece87f5e845a75416c30e3. #### Branch description Since the existing user path eventually calls `sync_to_async()` in acheck_password, aim for parity with the nonexistent/inactive user branch by adding `sync_to_async()`. #### AI Assistance Disc...
jacobtylerwalls
false
2026-05-06T16:00:28Z
19
1
2
5
0
2
0.833333
0.788519
0
1
0.05
["Author explicitly states no AI tools used, specific Django ticket reference, coherent technical rationale"]
1
BSD-3-Clause
0.90713
diff --git a/django/contrib/auth/__init__.py b/django/contrib/auth/__init__.py @@ -1,5 +1,7 @@ import re +from asgiref.sync import sync_to_async + from django.apps import apps as django_apps from django.conf import settings from django.core.exceptions import ImproperlyConfigured, PermissionDenied @@ -407,6 +409,6...
1
django/django#20959
django/django
20,959
Fixed #36542 -- Marked authenticate() with @sensitive_variables() decorator.
#### Trac ticket number <!-- Replace XXXXX with the corresponding Trac ticket number. --> <!-- Or delete the line and write "N/A" if this is a trivial PR. --> [ticket-36542](https://code.djangoproject.com/ticket/36542) #### Branch description There are still sensitive information exposure at POST parameters in...
kanin-kearpimy
false
2026-04-24T18:19:16Z
53
0
3
30
4
5
0.653595
1
0.4
1
0.05
["Human-authored: explicit AI disclosure checkbox marked 'No', specific ticket reference, author voice in commit message with named reviewers"]
0.875
BSD-3-Clause
0.900539
diff --git a/django/contrib/auth/backends.py b/django/contrib/auth/backends.py @@ -3,6 +3,7 @@ from django.contrib.auth import get_user_model from django.contrib.auth.models import Permission from django.db.models import Exists, OuterRef, Q +from django.views.decorators.debug import sensitive_variables UserModel ...
1
django/django#21051
django/django
21,051
Fixed #37021 -- Added user_perm_str helper property to the Permission model.
#### Trac ticket number ticket-37021 #### Branch description Added `user_perm_str` helper function that can be used when checking user permission using has_perm(). Added docs and changelog entry. Added test. #### AI Assistance Disclosure (REQUIRED) <!-- Please select exactly ONE of the following: --> - [x...
Mariatta
false
2026-04-07T19:38:35Z
31
0
5
8
0
3
0.763359
0.921698
0
1
0.15
["Explicit 'No AI tools were used' disclosure, human co-author listed, specific ticket reference, and natural commit message"]
1
BSD-3-Clause
0.899928
diff --git a/django/contrib/auth/models.py b/django/contrib/auth/models.py @@ -79,6 +79,11 @@ class Meta: def __str__(self): return "%s | %s" % (self.content_type, self.name) + @property + def user_perm_str(self): + """String representation for the user permission check.""" + return ...
1
django/django#21110
django/django
21,110
Fixed #37036 -- Fixed TypeError when using defer() with FETCH_PEERS on FK fields.
#### Trac ticket number ticket-37036 #### Branch description `DeferredAttribute.fetch_many()` used `.values_list(attname).in_bulk()` to batch-load deferred field values for peer instances. Without `flat=True`, `in_bulk()` returns values as single-element tuples (e.g., `(None,)`) rather than scalar values (e.g....
garybadwal
false
2026-04-18T13:39:50Z
29
1
4
12
3
3
0.769231
1
0.3
1
0.05
["Author explicitly discloses no AI tools used; specific technical explanation with error details and root cause analysis; single focused commit with clear intent"]
0.636364
BSD-3-Clause
0.899021
diff --git a/AUTHORS b/AUTHORS @@ -422,6 +422,7 @@ answer newbie questions, and generally made Django that much better: Grzegorz Ślusarek <grzegorz.slusarek@gmail.com> Guilherme Mesquita Gondim <semente@taurinus.org> Guillaume Pannatier <guillaume.pannatier@gmail.com> + Gurpreet Singh <https://www.gar...
1
django/django#21145
django/django
21,145
Fixed #37053 -- Added validate=True to base64.b64decode() calls.
#### Trac ticket number <!-- Replace XXXXX with the corresponding Trac ticket number. --> <!-- Or delete the line and write "N/A - typo" for typo fixes. --> ticket-37053 #### Branch description Provide a concise overview of the issue or rationale behind the proposed changes. #### AI Assistance Disclosure (R...
sarahboyce
false
2026-05-06T00:13:40Z
58
15
8
10
0
4
0.578035
0.98761
0
1
0.15
["Human-authored Django contribution with explicit AI disclosure limited to release notes only"]
1
BSD-3-Clause
0.888608
diff --git a/django/contrib/auth/hashers.py b/django/contrib/auth/hashers.py @@ -422,7 +422,7 @@ def decode(self, encoded): variety, *_, b64salt, hash = rest.split("$") # Add padding. b64salt += "=" * (-len(b64salt) % 4) - salt = base64.b64decode(b64salt).decode("latin1") + salt...
1
django/django#20027
django/django
20,027
Fixed #20024 -- Fixed handling of __in lookups with None in exclude().
#### Trac ticket number <!-- Replace XXXXX with the corresponding Trac ticket number, or delete the line and write "N/A" if this is a trivial PR. --> ticket-20024 #### Branch description **Problem** The SQL generated by an exclude queryset is not semantically aligned with the queryset when using `__in` lookups...
Eddy-123
false
2026-04-02T15:24:26Z
39
8
3
25
1
4
0.680272
1
0.1
1
0.15
["Human voice evident in commit message credits and problem/solution format; specific technical issue with SQL semantics; Trac ticket reference typical of Django project"]
0.8
BSD-3-Clause
0.882041
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py @@ -13,7 +13,7 @@ import sys import warnings from collections import Counter, namedtuple -from collections.abc import Iterator, Mapping +from collections.abc import Iterable, Iterator, Mapping from itertools import chain, count, product fro...
1
django/django#21239
django/django
21,239
Fixed #37085 -- Added support for object-based form media stylesheet assets.
#### Trac ticket number <!-- Replace XXXXX with the corresponding Trac ticket number. --> <!-- Or delete the line and write "N/A - typo" for typo fixes. --> ticket-37085 #### Branch description Extracted from https://github.com/django/django/pull/21010. #### AI Assistance Disclosure (REQUIRED) <!-- Please ...
nessita
false
2026-05-07T14:49:12Z
98
32
4
20
0
4
0.434783
1
0
1
0.05
["Explicit disclosure: No AI tools were used; human-authored with specific co-authors and acknowledgments"]
0.777778
BSD-3-Clause
0.877995
diff --git a/django/forms/widgets.py b/django/forms/widgets.py @@ -24,6 +24,7 @@ __all__ = ( "Script", + "Stylesheet", "Media", "MediaDefiningClass", "Widget", @@ -123,6 +124,13 @@ def __init__(self, src, **attributes): super().__init__(src, **attributes) +class Stylesheet(MediaAs...
1
django/django#20730
django/django
20,730
Fixed #36919 -- Allowed Task and TaskResult to be pickled.
#### Trac ticket number <!-- Replace XXXXX with the corresponding Trac ticket number. --> <!-- Or delete the line and write "N/A" if this is a trivial PR. --> ticket-36919 #### Branch description Task instances couldn’t be pickled earlier. The change serializes the function as a dotted import path and rec...
varunkasyap
false
2026-04-30T12:12:09Z
47
1
3
20
1
5
0.675676
1
0.1
1
0.15
["Author explicitly disclosed AI assistance only for tests, not main code; specific technical approach described; single focused commit"]
0.75
BSD-3-Clause
0.876351
diff --git a/django/tasks/base.py b/django/tasks/base.py @@ -1,5 +1,5 @@ from collections.abc import Callable -from dataclasses import dataclass, field, replace +from dataclasses import dataclass, field, fields, replace from datetime import datetime from inspect import isclass, iscoroutinefunction from typing impor...
1
pandas-dev/pandas#65332
pandas-dev/pandas
65,332
BUG: fix empty groupby(..., as_index=False).apply(...) index name inconsistency
Closes #48135 ### What happened `DataFrame.groupby(..., as_index=False).apply(...)` behaved differently for empty vs non-empty input: - non-empty input -> `result.index.names == [None]` - empty input -> `result.index.names == ['A']` (group key name) ### What this PR changes In the empty-values path of `Data...
Ashish-ml-eng
false
2026-05-05T21:34:23Z
28
1
3
9
1
2
0.775194
0.956304
0.1
1
0.15
["Human voice present: explicit issue reference, technical explanation of inconsistency, specific code paths mentioned"]
0.666667
BSD-3-Clause
0.872022
diff --git a/doc/source/whatsnew/v3.1.0.rst b/doc/source/whatsnew/v3.1.0.rst @@ -324,6 +324,7 @@ Groupby/resample/rolling ^^^^^^^^^^^^^^^^^^^^^^^^ - Bug in :meth:`.DataFrameGroupBy.agg` when there are no groups, multiple keys, and ``group_keys=False`` (:issue:`51445`) - Bug in :meth:`.DataFrameGroupBy.agg` would ope...
1
pandas-dev/pandas#63915
pandas-dev/pandas
63,915
BUG:to_datetime with origin
When pass in parameter origin to to_datetime will truncate time in origin. This fix preserves time in origin. Closes https://github.com/pandas-dev/pandas/issues/63419 - [x] closes #xxxx (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/developmen...
Sharl0tteIsTaken
false
2026-05-08T19:11:55Z
80
28
3
92
0
2
0.480769
1
0
1
0.15
["Natural commit messages with typos/informal tone, specific issue reference, author followed contribution checklist"]
0.941176
BSD-3-Clause
0.871233
diff --git a/doc/source/whatsnew/v3.1.0.rst b/doc/source/whatsnew/v3.1.0.rst @@ -224,6 +224,7 @@ Datetimelike - Bug in :func:`date_range` where calendar-based offsets (e.g. ``MS``, ``ME``, ``QS``, ``YS``) could exclude the last offset boundary when ``end``'s time-of-day was earlier than ``start``'s (:issue:`35342`) -...
1
pandas-dev/pandas#65413
pandas-dev/pandas
65,413
BUG: Categorical.map with defaultdict replaces NA with NaN
closes #62710 ## Problem `Series.map()` on a categorical column with a `defaultdict` and `na_action=None` incorrectly replaces `NA` values with `float("NaN")` instead of mapping them through the defaultdict's default factory. **Reproducer (before fix):** <img width="940" height="493" alt="image" src="http...
Mahajan-Sachin
false
2026-05-06T00:46:18Z
28
1
3
9
0
2
0.775194
0.956304
0
1
0.15
["Human authorship evident: specific issue reference, detailed root cause analysis with technical explanation, author voice in problem statement"]
0.6
BSD-3-Clause
0.870355
diff --git a/doc/source/whatsnew/v3.1.0.rst b/doc/source/whatsnew/v3.1.0.rst @@ -209,6 +209,7 @@ Bug fixes Categorical ^^^^^^^^^^^ - Bug in :meth:`Categorical.__repr__` where the values and categories lines could exceed ``display.width`` (:issue:`12066`) +- Bug in :meth:`Categorical.map` where mapping with a ``defau...
1
django/django#20456
django/django
20,456
Fixed #36816 -- Allowed **kwargs in @task decorator to support custom Task subclasses
#### Trac ticket number ticket-36816 #### Branch description The `task` decorator was updated to accept `**kwargs` and forward them to task_class, allowing additional parameters to be passed to custom Task subclasses. #### Checklist - [x] This PR targets the `main` branch. <!-- Backports will be evaluated an...
nileshpahari
false
2026-04-07T18:06:12Z
106
11
5
13
1
2
0.460829
1
0.1
1
0.15
["Human-authored: specific ticket reference, checklist completion, author following Django conventions"]
1
BSD-3-Clause
0.869124
diff --git a/django/tasks/base.py b/django/tasks/base.py @@ -43,11 +43,11 @@ class TaskResultStatus(TextChoices): @dataclass(frozen=True, slots=True, kw_only=True) class Task: - priority: int func: Callable[..., Any] # The Task function. - backend: str - queue_name: str - run_after: datetime | Non...
1
django/django#20327
django/django
20,327
Fixed #27150 -- Made base File objects truthy by default.
#### Trac ticket number ticket-27150 #### Branch description Originally, this PR proposed a documentation update. However, following the consensus reached [here](https://code.djangoproject.com/ticket/27150#comment:11). The base File class previously fell back to ``__len__ for boolean`` evaluation because it l...
VIZZARD-X
false
2026-04-14T11:32:08Z
18
5
5
7
0
4
0.813008
0.883011
0
1
0.15
["Human voice in description, specific technical details, references to consensus discussion"]
0.666667
BSD-3-Clause
0.864371
diff --git a/django/core/files/base.py b/django/core/files/base.py @@ -20,10 +20,10 @@ def __str__(self): return self.name or "" def __repr__(self): - return "<%s: %s>" % (self.__class__.__name__, self or "None") + return "<%s: %s>" % (self.__class__.__name__, self.name or "None") d...
1
django/django#20385
django/django
20,385
Fixed #35951 -- Updated timezone diff note on time inputs in admin panel.
#### Trac ticket number [ticket-35951](https://code.djangoproject.com/ticket/35951) #### Branch description The existing note that is shown to the users when entering a time value from a different timezone than the server's timezone was not descriptive enough and led to confusion. This commit updates the note to e...
vkaracic
false
2026-04-29T15:28:14Z
34
9
3
8
1
1
0.699301
0.821698
0.1
1
0.15
["Human voice present with internal process details, specific ticket reference, and natural incomplete thought at PR body end"]
1
BSD-3-Clause
0.86032
diff --git a/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js b/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js @@ -82,22 +82,32 @@ return; } + const serverTimezone = + document.body.dataset.adminServerTimezone || gettext("server")...
1
django/django#19743
django/django
19,743
Fixed `#15759` - Excluded formset fields by per-object permissions
ticket-15759 Fixed handling of list_editable fields in the Django admin for objects with per-object permissions. Updated changelist formset logic to remove editable fields for objects the user cannot change, ensuring that form submissions only update permitted objects and preventing permission-related crashes. ##...
artirix1927
false
2026-04-22T14:13:58Z
104
26
3
23
2
3
0.434783
1
0.2
1
0.15
["Human voice present (incomplete thought), specific ticket references, ad-hoc commit messages"]
1
BSD-3-Clause
0.860217
diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py @@ -2022,6 +2022,47 @@ def _get_list_editable_queryset(self, request, prefix): return queryset return queryset.filter(pk__in=object_pks) + def _get_formset_with_permissions(self, request, queryset): + """ + ...
1
django/django#20273
django/django
20,273
Fixed #36767 -- Allowed max redirect URL length to be set on HttpResponseRedirect.
#### Trac ticket number <!-- Replace XXXXX with the corresponding Trac ticket number, or delete the line and write "N/A" if this is a trivial PR. --> ticket-36767 #### Branch description Currently, Django blocks very long redirect URLs due to a hardcoded length limit. This PR adds an optional max_length p...
varunkasyap
false
2026-05-04T21:09:21Z
92
16
7
16
0
1
0.480769
1
0
1
0.15
["Human voice evident in PR structure, specific ticket reference, and natural description of feature work"]
0.8
BSD-3-Clause
0.857115
diff --git a/django/http/response.py b/django/http/response.py @@ -632,13 +632,20 @@ def set_headers(self, filelike): class HttpResponseRedirectBase(HttpResponse): allowed_schemes = ["http", "https", "ftp"] - def __init__(self, redirect_to, preserve_request=False, *args, **kwargs): + def __init__( + ...
1
microsoft/vscode#306955
microsoft/vscode
306,955
guarantee that return of TreeDataProvider.getChildren() is not mutated by vscode
@alexr00, this is corrected version of #306081 Sorry, I didn’t take into account that implementations may call `getChildren` themselves. This makes it impossible to accept `readonly T[]` in the public API without breaking changes. However, some work had already been done, so I converted this from a restriction in...
n-gist
false
2026-05-07T10:42:47Z
26
24
8
6
3
3
0.666667
0.839151
0.3
1
0.15
["Human voice present ('I didn't take into account'), references previous PR context, specific technical reasoning about breaking changes"]
1
MIT
0.849788
diff --git a/src/vs/workbench/api/browser/mainThreadTreeViews.ts b/src/vs/workbench/api/browser/mainThreadTreeViews.ts @@ -292,12 +292,12 @@ class TreeViewDataProvider implements ITreeViewDataProvider { this.hasResolve = this._proxy.$hasResolve(this.treeViewId); } - async getChildren(treeItem?: ITreeItem): Promi...
1
django/django#21206
django/django
21,206
Fixed #37074 -- Synced admin calendar today highlight with server time.
#### Trac ticket number ticket-37074 #### Branch description This PR resolves a timezone discrepancy in the admin datetime widget where the highlighted "today" on the calendar popup did not match the date inserted by the "Today" shortcut button. Previously, the "Today" shortcut used the server's timezone, but the ...
SnippyCodes
false
2026-05-08T17:04:26Z
46
13
3
13
1
1
0.628931
0.966821
0.1
1
0.25
["Explicit AI disclosure with verification claim, but natural author voice and specific technical problem description"]
0.9
BSD-3-Clause
0.846045
diff --git a/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js b/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js @@ -52,17 +52,7 @@ }, // Return the current time while accounting for the server timezone. now: function () { - const serverOffset = docume...
1
django/django#20889
django/django
20,889
Fixed #36973 -- Made fields.E348 detect accessor and manager name clashes for relationships across different models.
ticket-36973 ticket-22977 Previously the check only identified the clash if it happened in a self-referential relationship. Trying to make it work across different models made it easier to identify the issue reported in ticket-36973. #### AI Assistance Disclosure (REQUIRED) <!-- Please select exactly ONE of the ...
cliffordgama
false
2026-04-02T19:54:23Z
52
25
3
11
0
3
0.564972
1
0
1
0.25
["Author explicitly disclosed Claude use for 'initial review' only, with human verification stated; commit messages are specific and natural; no bulk of auto-generated code apparent"]
0.857143
BSD-3-Clause
0.84546
diff --git a/django/db/models/fields/related.py b/django/db/models/fields/related.py @@ -348,6 +348,24 @@ def _check_clashes(self): ) ) + # Check clash between reverse accessor and manager names on + # the target model. + if not rel_is_hidden: + ma...
1
django/django#21035
django/django
21,035
Fixed #36949 -- Improved RelatedFieldWidgetWrapper <labels>.
#### Trac ticket number <!-- Replace XXXXX with the corresponding Trac ticket number. --> <!-- Or delete the line and write "N/A - typo" for typo fixes. --> ticket-36949 #### Branch description Improved rendering of `RelatedFieldWidgetWrapper`. Previously it rendered all fields in a `<fieldset>` with legend. T...
smithdc1
false
2026-04-02T15:09:37Z
68
2
4
5
0
2
0.588235
0.688519
0
1
0.05
["Author explicitly checked 'No AI tools were used' with specific disclosure checkbox, has concrete ticket reference and technical detail about regression"]
1
BSD-3-Clause
0.845365
diff --git a/django/contrib/admin/widgets.py b/django/contrib/admin/widgets.py @@ -28,6 +28,8 @@ class FilteredSelectMultiple(forms.SelectMultiple): catalog has been loaded in the page """ + use_fieldset = True + class Media: js = [ "admin/js/core.js", @@ -300,7 +302,7 @@ def _...
1
microsoft/vscode#298040
microsoft/vscode
298,040
MCP Gateway: avoid blocking list calls on startup
Fixes #297780 ## Summary - Avoid blocking MCP gateway list calls (tools/list, resources/list, resources/templates/list) on slow server startup - Refresh servers in the background when cache state is Unknown/Outdated ## Rationale These list endpoints were awaiting server startup, causing large TTFT when the gateway is...
RajeshKumar11
false
2026-03-04T00:13:12Z
134
21
2
9
2
2
0.392157
0.956304
0.2
1
0.15
["Human voice present ('Fixes #297780', specific technical rationale); ad-hoc merge commits; specific implementation details (5s grace period)"]
1
MIT
0.8429
diff --git a/src/vs/workbench/contrib/mcp/common/mcpGatewayToolBrokerChannel.ts b/src/vs/workbench/contrib/mcp/common/mcpGatewayToolBrokerChannel.ts @@ -30,8 +30,16 @@ export class McpGatewayToolBrokerChannel extends Disposable implements IServerCh private readonly _serverIdMap = new Map<string, number>(); private ...
1
django/django#21208
django/django
21,208
Fixed #37079 -- Fixed specialization of header lookups in RemoteUserMiddleware.
#### Trac ticket number ticket-37079 #### Branch description We need to switch on whether the request is a WSGI or ASGI request to know whether to prepend `HTTP_`: we cannot assume sync exceution means we are running under WSGI, as there could be other sync middleware forcing sync execution under ASGI. Thanks @...
jacobtylerwalls
false
2026-05-04T17:58:50Z
38
2
2
5
0
3
0.714286
0.788519
0
1
0.05
["Author explicitly disclosed no AI tools used, specific technical reasoning about WSGI/ASGI request detection, references to reporter and ticket numbers"]
0.5
BSD-3-Clause
0.839273
diff --git a/django/contrib/auth/middleware.py b/django/contrib/auth/middleware.py @@ -8,6 +8,7 @@ from django.contrib.auth.backends import RemoteUserBackend from django.contrib.auth.views import redirect_to_login from django.core.exceptions import ImproperlyConfigured +from django.core.handlers.asgi import ASGIRequ...
1
django/django#21156
django/django
21,156
Fixed #37060 -- Propagated AlterField through attname-based to_field …
#### Trac ticket number <!-- Replace XXXXX with the corresponding Trac ticket number. --> <!-- Or delete the line and write "N/A - typo" for typo fixes. --> ticket-37060 #### Branch description `AlterField` propagated type changes correctly when a transitive relation used `to_field` with the remote field name,...
sipa-echo-zaoa
false
2026-05-07T12:02:51Z
122
12
3
11
6
2
0.42735
1
0.6
1
0.15
["Human voice in technical explanation, specific ticket reference, detailed problem description"]
1
BSD-3-Clause
0.839103
diff --git a/django/db/backends/base/schema.py b/django/db/backends/base/schema.py @@ -36,7 +36,10 @@ def _is_relevant_relation(relation, altered_field): # Foreign key constraint on the primary key, which is being altered. return True # Is the constraint targeting the field being altered? - re...
1
End of preview. Expand in Data Studio

PRcurator v1

A quality-graded dataset of 3,491 merged GitHub Pull Requests, scored across seven quality dimensions designed for training and evaluating code agents.

What this is

Frontier coding models are now bottlenecked on data quality, not quantity. PR threads are uniquely valuable training material because they carry the human-review signal — someone wrote code, someone else pointed out problems, the author fixed them. PRcurator scores that signal explicitly so downstream training can weight, filter, or partition by quality.

The seven dimensions

# Dimension Direction Composite weight
1 change_focus (smaller, more focused diffs score higher) + 0.15
2 human_reviewer_engagement (log-scaled comment count + thread depth) + 0.25
3 bot_reviewer_engagement (CI / Copilot-reviewer noise) 0.05
4 test_inclusion (1.0 if any test file modified, 0.3 floor) + 0.15
5 ai_authored_probability (heuristic + Haiku 4.5 judge) 0.30
6 comment_hygiene (per-comment off-topic detection, Haiku 4.5) + 0.10
7 license_compatibility gate hard filter

The composite is a weighted blend with two inverted dimensions (bot_reviewer_engagement and ai_authored_probability enter as 1 − score). License-incompatible rows are dropped before scoring is reported.

Composition

Repositories pulled (all permissively licensed):

Role Repo License PRs
anchor microsoft/vscode MIT ~3,000
slice django/django BSD-3-Clause 100
slice pandas-dev/pandas BSD-3-Clause 100
slice facebook/react MIT 100
slice evanw/esbuild MIT 100
slice BurntSushi/ripgrep MIT 100

All PRs are the most recent merged-and-non-revert PRs at pull time.

Headline findings

  • 3,491 scored PRs across 6 repositories.
  • 29% of recent merged microsoft/vscode PRs are AI-authored (probability ≥ 0.5 from the heuristic-plus-judge ensemble). The biggest single signal is Co-Authored-By: Copilot in commit metadata.

Downstream validation

We tested the relationship between PRcurator quality grading and a frontier LLM's ability to predict the merged diff. 100 top-quartile and 100 bottom-quartile PRs were sampled (seed 42), the pre-change file excerpts were extracted from each unified diff, and Claude Sonnet 4.6 was asked to predict the resulting unified diff. Normalized Levenshtein distance between predicted and actual diff was measured.

Statistic Value
Median edit distance — top quartile 0.5993 (n = 100)
Median edit distance — bottom quartile 0.5661 (n = 100)
OLS coefficient on log(diff size) +0.1000 (p = < 0.001) ← dominant predictor
Spearman partial ρ (composite vs edit_distance, controlling for diff size + file count) +0.165 (p = 0.0208)

Top-quartile PRs are less predictable to Claude Sonnet 4.6 after controlling for diff size, with a small but statistically significant effect. The initial hypothesis — that high-quality PRs would be more predictable — was wrong, and the failure was diagnostic. Diff completion fidelity is dominated by diff size (p < 1e-14 in the regression), and bottom-quartile PRs are dominated by AI-authored mechanical changes that frontier LLMs already produce well. Top-quartile PRs are the substantive engineering work models can't yet replicate from a title and pre-image. This is the residual signal that's worth the training-cost: bottom-quartile PRs validate what models can already do, top-quartile PRs surface what they still need to learn.

Methodological caveat. Diff completion fidelity is a proxy for training usefulness, not a direct test of it. A direct test would require fine-tuning two models on the top vs bottom quartile and comparing downstream performance — this is scoped to a future version. The Spearman partial ρ above is the strongest external claim v1 makes.

Schema

The single split is train. Columns:

Column Type Notes
pr_id string <owner>/<repo>#<number>
repo string <owner>/<repo>
pr_number int64 numeric PR number
title, body string PR text
author_login, author_is_bot string, bool
merged_at string ISO-8601
lines_added, lines_deleted, files_changed int32
n_human_comments, n_bot_comments, n_reviews_human int32
change_focus, human_reviewer_engagement, bot_reviewer_engagement float32 dim scores [0, 1]
test_inclusion, ai_authored_probability, comment_hygiene float32 dim scores [0, 1]
ai_authored_signals string JSON-encoded list of triggered heuristic signals or LLM reason
license_spdx string MIT, Apache-2.0, ...
composite_score float32 weighted blend, range [0, 1]
quality_quartile int8 1 (top) — 4 (bottom)
diff_text string unified diff, truncated to 50K chars

Loading

from datasets import load_dataset
ds = load_dataset("nitinmurali21/prcurator-v1")
df = ds["train"].to_pandas()
top_quality = df[df["quality_quartile"] == 1]

Methodology, code, reproducibility

Full pipeline, scorers, and validation script live at https://github.com/nitinm21/prcurator. The data was pulled via the GitHub REST API; scoring uses Anthropic Claude Haiku 4.5 for the two LLM-judged dimensions; validation uses Claude Sonnet 4.6.

Limitations

  • Single anchor repo (microsoft/vscode) provides the majority of rows. Slice repos extend coverage across languages and review cultures but are small at 100 PRs each.
  • AI-authored detection is heuristic-first; LLM judge handles ~5% of ambiguous cases. May undercount AI-authored PRs that hide their origin.
  • Diff completion fidelity is a proxy for "training usefulness," not a direct test. A model that perfectly memorizes vscode PRs would score arbitrarily well — Sonnet 4.6 did not train on these particular PRs at publication time, but the proxy is imperfect.
  • English-only LLM judge prompts.

License

Creative Commons Attribution 4.0 International (CC-BY 4.0) on the data. Code is MIT.

Citation

@misc{prcurator2026,
  author = {Nitin Murali},
  title  = {PRcurator: A Quality-Graded Dataset of GitHub Pull Requests for Code-Agent Training},
  year   = {2026},
  url    = {https://huggingface.co/datasets/nitinmurali21/prcurator-v1}
}
Downloads last month
18