Datasets:
instance_id string | judged_user string | judged_entry_id int64 | hint_text string | repo string | language string | pull_request dict | resolved_issues list | problem_domain string | code_review list | source string | trustworthy bool | perturbation_kind string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
ManimCommunity__manim-3876@d34c6a3 | JasonGrace2282 | 2,190,120,552 | ManimCommunity/manim | Python | {
"pull_number": 3876,
"title": "feat: set_default for Animation class",
"created_at": "2024-07-20T16:18:14",
"base_commit": "c8fe4d9e4f9ce1788dfeb3c1f2c3aaa8f99060a4",
"body": "<!-- Thank you for contributing to Manim! Learn more about the process in our contributing guidelines: https://docs.manim.community/... | [
{
"number": 3142,
"title": "Animation.set_default",
"body": "## Description of proposed feature\r\nOne of the useful things in ManimCE for me is set_default method, that can be applied to any subclass of Mobject. Code without duplicates of **mob_kwargs is always nice to look at. What about Animations? I... | New Feature Additions | [
{
"type": "commit",
"sha": "a68f19fb3ae350af9075c8751f3d44f6f416abdb",
"user": "christopher-hampson",
"created_at": "2024-07-19T13:48:08Z",
"message": "feat: Animation.set_default\n\nAdds set_default class method to Animation class based on existing implementation for Mobject class.\n\nAddresses... | crawled_swebench | true | null | |
pandas-dev__pandas-16486@6c67a4a#perturb-symbol | TomAugspurger | 304,300,486 | pandas-dev/pandas | Python | {
"pull_number": 16486,
"title": "return empty MultiIndex for symmetrical difference on equal MultiIndexes",
"created_at": "2017-05-24T20:40:41",
"base_commit": "92d07992e826808cd56f0bd8fec083b510ca402d",
"body": " - [X] closes #13490\r\n - [X] tests added / passed\r\n - [X] passes ``git diff upstream/master ... | [
{
"number": 13490,
"title": "Symmetric difference on equal MultiIndexes raises TypeError",
"body": "Calling `symmetric_difference` on two equal multiindices results in a TypeError rather than an empty MultiIndex. This is surprising since calling `difference` on the same multiindices results in the expec... | Bug Fixes | [
{
"type": "commit",
"sha": "4903b20bc385ac335a8da0fdfd33a5a79ed69c25",
"user": "Christian Stade-Schuldt",
"created_at": "2017-05-24T20:35:49Z",
"message": "return empty MultiIndex for symmetrical difference on equal MultiIndexes"
},
{
"type": "inline",
"id": 118370389,
"user": "T... | perturbation | false | symbol | |
ManimCommunity__manim-1140@ee924b8#perturb-negation | behackl | 803,661,957 | ManimCommunity/manim | Python | {
"pull_number": 1140,
"title": "Flake8 Compat & Code Cleanup",
"created_at": "2021-03-21T19:45:11",
"base_commit": "196045b471acb8ad2a9bffaa9bca078624526174",
"body": "<!--\r\nThanks for your contribution to ManimCommunity!\r\n\r\nBefore filling in the details, ensure:\r\n- Your local changes are up-to-date ... | [
{
"number": 1132,
"title": "Flake8 Support",
"body": "I suggest that manim start using the flake8 linter. It would allow for cleaner code. It could be integrated with the pre-commit function. The only issue I see with this is that it needs a special config to work with black, but that issue is a small o... | General | [
{
"type": "commit",
"sha": "fd12b337d2cfcc12fa3abdacbc5500e6af22a0b4",
"user": "GameDungeon",
"created_at": "2021-03-21T19:40:56Z",
"message": "Flake8 Compat & Code Cleanup"
},
{
"type": "inline",
"id": 598328294,
"user": "naveen521kk",
"created_at": "2021-03-21T19:48:33Z",
... | perturbation | false | negation | |
pandas-dev__pandas-16509@027a2b2 | jreback | 131,882,003 | pandas-dev/pandas | Python | {
"pull_number": 16509,
"title": "PERF: optimized median func when bottleneck not present",
"created_at": "2017-05-25T22:10:38",
"base_commit": "6ba65ca8a69560d526762bdbded64b3139f66d7a",
"body": "closes #16468\r\n \r\nUses np.nanmedian to compute median instead of internal algos.median when bottleneck is not... | [
{
"number": 16468,
"title": "PERF: .median(axis=1) perf issues",
"body": "```\r\nIn [2]: df = pd.DataFrame(np.random.randn(10000, 2), columns=list('AB'))\r\n\r\nIn [3]: result1 = df.median(1)\r\n\r\nIn [4]: result2 = pd.Series(np.nanmedian(df.values, axis=1), index=df.index)\r\n\r\nIn [5]: result1.equal... | Performance Improvements | [
{
"type": "inline",
"id": 118596916,
"user": "jreback",
"created_at": "2017-05-25T22:11:19Z",
"body": "and this will break in numpy < 1.9, you need to do this conditionally.",
"review_path": "pandas/core/nanops.py",
"diff_hunk": "@@ -325,15 +326,8 @@ def nanmean(values, axis=None, skipna... | crawled_swebench | true | null | |
pandas-dev__pandas-16486@6c67a4a#perturb-negation | TomAugspurger | 304,734,650 | pandas-dev/pandas | Python | {
"pull_number": 16486,
"title": "return empty MultiIndex for symmetrical difference on equal MultiIndexes",
"created_at": "2017-05-24T20:40:41",
"base_commit": "92d07992e826808cd56f0bd8fec083b510ca402d",
"body": " - [X] closes #13490\r\n - [X] tests added / passed\r\n - [X] passes ``git diff upstream/master ... | [
{
"number": 13490,
"title": "Symmetric difference on equal MultiIndexes raises TypeError",
"body": "Calling `symmetric_difference` on two equal multiindices results in a TypeError rather than an empty MultiIndex. This is surprising since calling `difference` on the same multiindices results in the expec... | Bug Fixes | [
{
"type": "commit",
"sha": "4903b20bc385ac335a8da0fdfd33a5a79ed69c25",
"user": "Christian Stade-Schuldt",
"created_at": "2017-05-24T20:35:49Z",
"message": "return empty MultiIndex for symmetrical difference on equal MultiIndexes"
},
{
"type": "inline",
"id": 118370389,
"user": "T... | perturbation | false | negation | |
ManimCommunity__manim-58@e138ee4 | eulertour | 429,187,625 | ManimCommunity/manim | Python | {"pull_number":58,"title":"constants.py overhaul","created_at":"2020-05-22T04:23:57","base_commit":"(...TRUNCATED) | [{"number":12,"title":"constants.py cleanup and improvement","body":"manimlib/media_dir.txt is depre(...TRUNCATED) | New Feature Additions | [{"type":"commit","sha":"92f6eb4ed92c00a92385223fe3273a5fa1caeb2d","user":"XorUnison","created_at":"(...TRUNCATED) | crawled_swebench | true | null | |
Significant-Gravitas__AutoGPT-7091@bac353e#perturb-negation | ntindle | 2,170,986,252 | Significant-Gravitas/AutoGPT | Python | {"pull_number":7091,"title":"feat(forge/llm): Add `LlamafileProvider`","created_at":"2024-04-19T16:2(...TRUNCATED) | [{"number":25,"title":"Support using other/local LLMs","body":"You can modify the code to accept a c(...TRUNCATED) | Documentation | [{"type":"commit","sha":"03d8e1e16929db0c076c0804261489d42240777f","user":"Kate Silverstein","create(...TRUNCATED) | perturbation | false | negation | |
ManimCommunity__manim-2332@035ae57 | hydrobeam | 775,201,116 | ManimCommunity/manim | Python | {"pull_number":2332,"title":"Changed ``color``, ``stroke_color`` and ``fill_color`` attributes to pr(...TRUNCATED) | [{"number":2324,"title":"Attribute not updated when animated with `.animate` ","body":"## Descriptio(...TRUNCATED) | New Feature Additions | [{"type":"commit","sha":"b2084ee68dc0beeaae26abad00eadf6c3212cab6","user":"Marcin Serwin","created_a(...TRUNCATED) | crawled_swebench | true | null | |
BerriAI__litellm-1200@203089e | ishaan-jaff | 1,796,789,197 | BerriAI/litellm | Python | {"pull_number":1200,"title":"feat: added explicit args to acomplete","created_at":"2023-12-20T18:57:(...TRUNCATED) | [{"number":1024,"title":"[Feature]: acomplete see explicit args instead of *args, **kwargs on acomp(...TRUNCATED) | General | [{"type":"commit","sha":"b72d372aa7c2732627abc1b123b7e04c2abc68e3","user":"Mateo Cámara","created_a(...TRUNCATED) | crawled_swebench | true | null | |
ManimCommunity__manim-499@829c655 | leotrs | 498,198,171 | ManimCommunity/manim | Python | {"pull_number":499,"title":"Make VGroup and VDict printable","created_at":"2020-10-01T11:13:13","bas(...TRUNCATED) | [{"number":497,"title":"VGroup and VDict must override __repr__ to display the mobjects contained","(...TRUNCATED) | General | [{"type":"commit","sha":"89e8808e93ba35389feb0916961c298a0e41d6ea","user":"nilaybhatia","created_at"(...TRUNCATED) | human_wrong | false | null |
CRJudgeBenchmark
CRJudgeBenchmark evaluates whether a model can judge the technical trustworthiness of a code-review comment in its pull-request context. It contains 1,199 labeled examples from 124 pull requests across 9 GitHub repositories, with fixed train, validation, and test splits.
Each example pairs a pull request with one target review comment. It includes the PR description, a base commit, a review patch, linked issues, and a PR activity timeline. The binary trustworthy label applies only to the comment identified by judged_entry_id.
The dataset supports training and evaluating code-review judges, including agents that inspect repository code before making a judgment. It contains examples and labels; agent trajectories, teacher guidance, and model weights are not included.
Task and labels
The task is to determine whether the target code-review comment is technically trustworthy in its pull-request and file context:
true: the target comment is technically trustworthy in the given context.false: the target comment is technically untrustworthy in the given context.- General PR comments without a file association are assessed for technical trustworthiness in the overall PR context.
The trustworthy label applies to the individual target comment. All released labels are JSON booleans; none are missing.
Dataset splits
| Split | Examples | true |
false |
|---|---|---|---|
| Train | 714 | 455 | 259 |
| Validation | 126 | 80 | 46 |
| Test | 359 | 229 | 130 |
| Total | 1,199 | 764 | 435 |
Splits are grouped by (repo, pull_request.pull_number). No PR appears in more than one split. Repository identities can recur across splits, so this is a PR-disjoint benchmark rather than an evaluation on entirely unseen repositories.
The original train/test split targeted 70%/30% of examples while preserving PR groups and approximately preserving each label's proportion. Validation was then drawn from 15% of the original training pool, leaving the test split unchanged. Both selections used seed 42 and a subset-sum procedure over shuffled PR groups to reach the label-count targets. The final proportions are approximately 59.55% train, 10.51% validation, and 29.94% test.
Data format
The release consists of three UTF-8 JSON Lines files: train.jsonl, validation.jsonl, and test.jsonl. Each line is one example.
| Field | Type | Description |
|---|---|---|
instance_id |
string | PR-derived identifier; perturbed variants have a #perturb-… suffix. Not unique by itself. |
judged_entry_id |
integer | ID of the target entry in code_review. |
judged_user |
string | GitHub login associated with the target comment; inherited from the original comment for perturbations. |
repo |
string | GitHub repository in owner/name form. |
language |
string | Recorded primary language of the repository. |
pull_request |
object | pull_number, title, body, created_at, base_commit, and patch_to_review. |
resolved_issues |
list of objects | Linked issues with number, title, and body. |
code_review |
list of objects | PR activity timeline, including comments, reviews, replies, and commits. |
problem_domain |
string | Recorded task category, such as Bug Fixes or New Feature Additions. |
hint_text |
string | Reserved context field; empty in every released example. |
trustworthy |
boolean | Gold label for the target comment. |
source |
string | Construction provenance; exclude from model inputs. |
perturbation_kind |
optional string | location, negation, or symbol; present only for perturbations in the raw JSONL. |
The pair (instance_id, judged_entry_id) uniquely identifies all 1,199 examples. Every example has exactly one matching target entry in its timeline.
Timeline entry types are inline, inline_reply, pr_comment, review, and commit. Comment entries contain id, body, user, and created_at; depending on type, they may also contain review_path, diff_hunk, in_reply_to_id, or review_state. Commit entries use sha and message. Optional fields may load as None through tabular dataset libraries.
Loading the dataset
from datasets import load_dataset
dataset = load_dataset("dcloud347/CRJudgeBenchmark")
print({split: len(rows) for split, rows in dataset.items()})
# {'train': 714, 'validation': 126, 'test': 359}
row = dataset["train"][0]
target = next(
entry for entry in row["code_review"]
if entry.get("id") == row["judged_entry_id"]
)
# Construct a focused input; keep the gold label outside the model prompt.
judge_input = {
"repo": row["repo"],
"pull_request": {
key: row["pull_request"][key]
for key in ("title", "body", "base_commit", "patch_to_review")
},
"target_comment": {
key: target.get(key)
for key in ("type", "body", "review_path", "diff_hunk")
},
}
gold_label = row["trustworthy"] # For supervision or scoring only.
Evaluation protocol
- Evaluate the target comment using the rubric above. A prediction can be represented as
{"prediction": true}or{"prediction": false}. - Keep
trustworthy,source,perturbation_kind, and originalinstance_idvalues outside model inputs and agent-accessible files. Perturbation suffixes and source tags reveal labels. Use opaque evaluation IDs if needed. - Specify the context policy. The raw timeline can contain later replies or reviews that reveal the answer. The focused input above omits other timeline entries, reviewer identities, and review states. Results using complete timelines should be reported separately.
- For repository inspection, use the recorded
base_commitand distinguish base-version evidence from evidence obtained after applyingpatch_to_review. Repository checkouts are not bundled with these files. - Use training examples for parameter updates and teacher-generated supervision, validation for model selection, and the fixed test set for final evaluation. Preserve PR groups in any derived data.
Treat true as the positive class. Report accuracy, macro-F1, per-class precision and recall, and invalid/missing prediction counts. Source-specific results help distinguish performance on naturally occurring untrustworthy comments from performance on perturbations; include sample counts for each slice.
License and attribution
No dataset-wide license is specified for this release. This card does not assign a new license to the collected code or discussions. Source repositories are identified in the repo field, and PR numbers are available in pull_request.pull_number.
When referencing the dataset, link to dcloud347/CRJudgeBenchmark and record the dataset revision used for the experiment.
- Downloads last month
- 38