| {"base_commit": "c64f8fd68c2e75cc65b88bc0d956547a5f77cab1", "candidate_corpus": {"base_commit": "c64f8fd68c2e75cc65b88bc0d956547a5f77cab1", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "de54d00dc87df9b4ede3f842c818d3eeb037c6f8", "given_files": ["cache/demux_test.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "cache/cache.go"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "implementation_context_for_reviewed_change"], "path": "cache/demux.go"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "implementation_context_for_reviewed_change"], "path": "tests/integration/cache_test.go"}], "negative_distractors": ["cache/cache.go", "cache/demux.go", "tests/integration/cache_test.go"], "related_tests": ["cache/demux_test.go", "tests/integration/cache_test.go"], "root_cause_files": ["cache/cache.go", "cache/demux.go", "tests/integration/cache_test.go"], "root_cause_symbols": [], "supporting_files": []}, "id": "0265037c6c534b98289fe815", "metadata": {"confidence": "weak", "created_at": "2026-03-29T10:32:55Z", "evidence": {"comment_commit_id": "a68894212b79eaab7d79102c0d67232c23993b25", "comment_created_at": "2026-03-29T14:41:36Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["fa8a5a2484d45f92ff107748aad7fa3e152e773c"], "review_comment_id": 3006299252}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-03T18:09:44Z", "pr": 21545, "pr_url": "https://github.com/etcd-io/etcd/pull/21545"}, "query": {"diff_hunk_context": "@@ -336,6 +337,106 @@ func TestSlowWatcherResync(t *testing.T) {\n \t}\n }\n ", "given_file": "cache/demux_test.go", "line": 428, "path": "cache/demux_test.go", "pr_title": "cache: Add on-demand progress notification from cache", "review_comment": "Don't special function per each type of event. Just have function to collect N responses and return them. Use the response to compare with expected response."}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "c64f8fd68c2e75cc65b88bc0d956547a5f77cab1", "candidate_corpus": {"base_commit": "c64f8fd68c2e75cc65b88bc0d956547a5f77cab1", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "de54d00dc87df9b4ede3f842c818d3eeb037c6f8", "given_files": ["cache/cache.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "behavior_test_for_reviewed_change"], "path": "cache/demux_test.go"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "tests/integration/cache_test.go"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "cache/demux.go"}], "negative_distractors": ["cache/demux.go", "cache/demux_test.go", "tests/integration/cache_test.go"], "related_tests": ["cache/demux_test.go", "tests/integration/cache_test.go"], "root_cause_files": ["cache/demux_test.go", "tests/integration/cache_test.go", "cache/demux.go"], "root_cause_symbols": [], "supporting_files": []}, "id": "191c9a48dcea15ffd9b74793", "metadata": {"confidence": "weak", "created_at": "2026-03-29T10:32:55Z", "evidence": {"comment_commit_id": "a68894212b79eaab7d79102c0d67232c23993b25", "comment_created_at": "2026-03-29T13:59:01Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["fa8a5a2484d45f92ff107748aad7fa3e152e773c"], "review_comment_id": 3006250600}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-03T18:09:44Z", "pr": 21545, "pr_url": "https://github.com/etcd-io/etcd/pull/21545"}, "query": {"diff_hunk_context": "@@ -101,6 +101,14 @@ func New(client *clientv3.Client, prefix string, opts ...Option) (*Cache, error)\n \treturn cache, nil\n }\n ", "given_file": "cache/cache.go", "line": 105, "path": "cache/cache.go", "pr_title": "cache: Add on-demand progress notification from cache", "review_comment": "> `RequestProgress` method can be shifted to a new `Watcher` interface which will be returned on `cache.Watch() ` call. Does that make sense?\n\nNo, I said that this is current interface, not that we want to fix it now.\n\n> `the revision returned is specific to watcher.` -> As far as I know, etcd sends progress notification to all the watchers on the single grpc stream when a ProgressRequest call is made and that's why I was broadcasting it to all the watchers irrespective of who asked for the revision.\n\nJust remove `cache's current revision to all active local watchers` as this is inaccurate."}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "5485c710674b5990f62e83984d180b4b552fa52c", "candidate_corpus": {"base_commit": "5485c710674b5990f62e83984d180b4b552fa52c", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "93a245aed6fd4619b463f63f5039cbecbdcb2320", "given_files": ["server/embed/config_test.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "same_module_context", "implementation_context_for_reviewed_change", "explicit_behavior_or_api_dependency"], "path": "server/embed/etcd.go"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change", "explicit_behavior_or_api_dependency"], "path": "server/etcdmain/help.go"}], "negative_distractors": ["server/embed/etcd.go", "server/etcdmain/help.go", "server/features/etcd_features.go"], "related_tests": ["server/embed/config_test.go"], "root_cause_files": ["server/embed/etcd.go", "server/etcdmain/help.go"], "root_cause_symbols": [], "supporting_files": ["server/features/etcd_features.go"]}, "id": "38c2a13af5bdc49dd7d75a2f", "metadata": {"confidence": "weak", "created_at": "2024-08-20T15:38:35Z", "evidence": {"comment_commit_id": "a966c07165e00c96f26d8e9797bb7d77c4f73e71", "comment_created_at": "2024-08-21T10:31:49Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["a966c07165e00c96f26d8e9797bb7d77c4f73e71"], "response_commit": "a966c07165e00c96f26d8e9797bb7d77c4f73e71", "review_comment_id": 1724826501}, "generated_at": "2026-04-29T11:57:32+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2024-08-23T07:09:10Z", "pr": 18478, "pr_url": "https://github.com/etcd-io/etcd/pull/18478"}, "query": {"diff_hunk_context": "@@ -152,6 +157,7 @@ func TestConfigFileFeatureGates(t *testing.T) {\n \t\t\texpectedFeatures: map[featuregate.Feature]bool{\n \t\t\t\tfeatures.StopGRPCServiceOnDefrag: false,\n \t\t\t\tfeatures.DistributedTracing: false,", "given_file": "server/embed/config_test.go", "line": 194, "path": "server/embed/config_test.go", "pr_title": "KEP-4578: migrate experimental-initial-corrupt-check flag to feature gate.", "review_comment": "Can we add a test for the enablement of the flag?"}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "8687c97fa5fc7814bf2deaf4b13e666a1b9a0dda", "candidate_corpus": {"base_commit": "8687c97fa5fc7814bf2deaf4b13e666a1b9a0dda", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "f3815932116c5d2edb91be9f0a63c7dc50127dc0", "given_files": ["server/proxy/grpcproxy/adapter/chan_stream_test.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "implementation_context_for_reviewed_change"], "path": "server/proxy/grpcproxy/adapter/chan_stream.go"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "implementation_context_for_reviewed_change"], "path": "tests/integration/clientv3/maintenance_test.go"}], "negative_distractors": ["server/proxy/grpcproxy/adapter/chan_stream.go", "tests/integration/clientv3/maintenance_test.go"], "related_tests": ["server/proxy/grpcproxy/adapter/chan_stream_test.go", "tests/integration/clientv3/maintenance_test.go"], "root_cause_files": ["server/proxy/grpcproxy/adapter/chan_stream.go", "tests/integration/clientv3/maintenance_test.go"], "root_cause_symbols": [], "supporting_files": []}, "id": "3fd987cc42a8a4550add3562", "metadata": {"confidence": "weak", "created_at": "2026-04-17T19:37:39Z", "evidence": {"comment_commit_id": "967feb0d6d779198dbb62443599116de54f8427b", "comment_created_at": "2026-04-18T14:34:38Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["10e8d50321a42c7d490cc00a75af022bae5cecb9", "b05c85872c379fdbaaa0772d1d436e706695f1f6"], "review_comment_id": 3105322790}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-21T13:01:49Z", "pr": 21633, "pr_url": "https://github.com/etcd-io/etcd/pull/21633"}, "query": {"diff_hunk_context": "@@ -0,0 +1,79 @@", "given_file": "server/proxy/grpcproxy/adapter/chan_stream_test.go", "line": 33, "path": "server/proxy/grpcproxy/adapter/chan_stream_test.go", "pr_title": "grpcproxy: return io.EOF at end of server-streaming RPCs", "review_comment": "This seems a little misleading. This callback is supposed to create a stream instead of sending or recving any messages. In this test, you don't have to create a real stream, but suggest to send msg in a separate goroutine."}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "c64f8fd68c2e75cc65b88bc0d956547a5f77cab1", "candidate_corpus": {"base_commit": "c64f8fd68c2e75cc65b88bc0d956547a5f77cab1", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "de54d00dc87df9b4ede3f842c818d3eeb037c6f8", "given_files": ["cache/cache.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "behavior_test_for_reviewed_change"], "path": "cache/demux_test.go"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "tests/integration/cache_test.go"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "cache/demux.go"}], "negative_distractors": ["cache/demux.go", "cache/demux_test.go", "tests/integration/cache_test.go"], "related_tests": ["cache/demux_test.go", "tests/integration/cache_test.go"], "root_cause_files": ["cache/demux_test.go", "tests/integration/cache_test.go", "cache/demux.go"], "root_cause_symbols": [], "supporting_files": []}, "id": "41deac7db89b57cead1c85e0", "metadata": {"confidence": "weak", "created_at": "2026-03-29T10:32:55Z", "evidence": {"comment_commit_id": "a68894212b79eaab7d79102c0d67232c23993b25", "comment_created_at": "2026-03-29T14:32:12Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["fa8a5a2484d45f92ff107748aad7fa3e152e773c"], "review_comment_id": 3006288381}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-03T18:09:44Z", "pr": 21545, "pr_url": "https://github.com/etcd-io/etcd/pull/21545"}, "query": {"diff_hunk_context": "@@ -101,6 +101,14 @@ func New(client *clientv3.Client, prefix string, opts ...Option) (*Cache, error)\n \treturn cache, nil\n }\n ", "given_file": "cache/cache.go", "line": 105, "path": "cache/cache.go", "pr_title": "cache: Add on-demand progress notification from cache", "review_comment": ">This is an implementation detail that can change and should not be documented.\n\nBut should the lagging watchers actually get the progress revision based on the lag? For example:\nA lagging watcher is still receiving events with revision 4 and the cache is at revision 6. Now, the progress notification sent to it should be 4 and not 6, correct?"}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "be3acf4ed017efb7008beb08585d890e5364ce93", "candidate_corpus": {"base_commit": "be3acf4ed017efb7008beb08585d890e5364ce93", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "b83b67e483936a94e59a61198934e88bf0ef95b1", "given_files": ["tests/integration/cache_test.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "same_module_context", "implementation_context_for_reviewed_change"], "path": "cache/cache.go"}], "negative_distractors": ["cache/README.md", "cache/cache.go", "cache/cache_test.go", "cache/clock.go", "cache/config.go", "cache/fake_clock_test.go", "cache/progress_requestor.go", "cache/progress_requestor_test.go"], "related_tests": ["cache/cache_test.go", "cache/fake_clock_test.go", "cache/progress_requestor_test.go", "tests/integration/cache_test.go"], "root_cause_files": ["cache/cache.go"], "root_cause_symbols": [], "supporting_files": ["cache/README.md", "cache/cache_test.go", "cache/config.go"]}, "id": "44eb66d77e310e55a71d007d", "metadata": {"confidence": "weak", "created_at": "2026-03-04T16:50:52Z", "evidence": {"comment_commit_id": "224013602bf766b647125a671d07f23dcecd04ce", "comment_created_at": "2026-03-22T21:42:21Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["a1cb0a2440493aa7a1bedec561840de17d8f692d"], "response_commit": "a1cb0a2440493aa7a1bedec561840de17d8f692d", "review_comment_id": 2972134565}, "generated_at": "2026-04-29T11:57:32+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-03-23T15:47:39Z", "pr": 21428, "pr_url": "https://github.com/etcd-io/etcd/pull/21428"}, "query": {"diff_hunk_context": "@@ -721,147 +746,223 @@ var (\n )\n \n type getTestCase struct {\n }\n \n var getTestCases = []getTestCase{\n \t{\n \t},\n \t{\n \t},\n \t{\n \t},\n \t{\n \t},\n \t{", "given_file": "tests/integration/cache_test.go", "line": 892, "path": "tests/integration/cache_test.go", "pr_title": "cache: Added consistent reads for cache", "review_comment": "Please add serializable read at rev=latest"}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "c64f8fd68c2e75cc65b88bc0d956547a5f77cab1", "candidate_corpus": {"base_commit": "c64f8fd68c2e75cc65b88bc0d956547a5f77cab1", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "de54d00dc87df9b4ede3f842c818d3eeb037c6f8", "given_files": ["cache/cache.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "behavior_test_for_reviewed_change"], "path": "cache/demux_test.go"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "tests/integration/cache_test.go"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "cache/demux.go"}], "negative_distractors": ["cache/demux.go", "cache/demux_test.go", "tests/integration/cache_test.go"], "related_tests": ["cache/demux_test.go", "tests/integration/cache_test.go"], "root_cause_files": ["cache/demux_test.go", "tests/integration/cache_test.go", "cache/demux.go"], "root_cause_symbols": [], "supporting_files": []}, "id": "7d5c2788e4c30bb773cb6643", "metadata": {"confidence": "weak", "created_at": "2026-03-29T10:32:55Z", "evidence": {"comment_commit_id": "a68894212b79eaab7d79102c0d67232c23993b25", "comment_created_at": "2026-03-29T13:52:52Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["fa8a5a2484d45f92ff107748aad7fa3e152e773c"], "review_comment_id": 3006243733}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-03T18:09:44Z", "pr": 21545, "pr_url": "https://github.com/etcd-io/etcd/pull/21545"}, "query": {"diff_hunk_context": "@@ -101,6 +101,14 @@ func New(client *clientv3.Client, prefix string, opts ...Option) (*Cache, error)\n \treturn cache, nil\n }\n ", "given_file": "cache/cache.go", "line": 105, "path": "cache/cache.go", "pr_title": "cache: Add on-demand progress notification from cache", "review_comment": "Also, I believe the expectation is not that the lagging watchers should receive progress revision based on their lag? That's why I am not sending them progress notification until they become active."}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "48d43ebae262f0067bafbae07c29d49b3d045c89", "candidate_corpus": {"base_commit": "48d43ebae262f0067bafbae07c29d49b3d045c89", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "54db7f053059c7406ca7d2f70339d2c9e5e20c54", "given_files": ["client/v3/config.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "same_module_context", "behavior_test_for_reviewed_change", "review_requests_tests", "explicit_behavior_or_api_dependency"], "path": "client/v3/config_test.go"}, {"evidence": ["modified_after_review_comment", "explicit_behavior_or_api_dependency"], "path": "etcdctl/ctlv3/command/ep_command.go"}], "negative_distractors": ["client/v3/config_test.go", "etcdctl/ctlv3/command/ep_command.go"], "related_tests": ["client/v3/config_test.go"], "root_cause_files": ["client/v3/config_test.go", "etcdctl/ctlv3/command/ep_command.go"], "root_cause_symbols": [], "supporting_files": []}, "id": "ac0571b1e94a8f064f02e864", "metadata": {"confidence": "weak", "created_at": "2024-10-14T16:20:17Z", "evidence": {"comment_commit_id": "4957e5670e81afb68eeecca07f937b3f977ae256", "comment_created_at": "2024-10-15T07:40:30Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["4957e5670e81afb68eeecca07f937b3f977ae256"], "response_commit": "4957e5670e81afb68eeecca07f937b3f977ae256", "review_comment_id": 1800620814}, "generated_at": "2026-04-29T11:57:32+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2024-10-15T12:56:29Z", "pr": 18723, "pr_url": "https://github.com/etcd-io/etcd/pull/18723"}, "query": {"diff_hunk_context": "@@ -130,6 +130,30 @@ type AuthConfig struct {\n \tPassword string `json:\"password\"`\n }\n ", "given_file": "client/v3/config.go", "line": 133, "path": "client/v3/config.go", "pr_title": "Update `epHealthCommandFunc` to reuse `clientConfigFromCmd`", "review_comment": "Maybe add a test that ensures that Clone doesn't get outdated if any new field is added?"}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "da66a4f234d55ee27f3259e4111a29bfb4e44900", "candidate_corpus": {"base_commit": "da66a4f234d55ee27f3259e4111a29bfb4e44900", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "cf3527b67ed7bac557ed023af91821792abeaaf7", "given_files": ["cache/cache.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "cache/cache_test.go"}, {"evidence": ["modified_after_review_comment", "behavior_test_for_reviewed_change"], "path": "cache/demux_test.go"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "tests/integration/cache_test.go"}], "negative_distractors": ["cache/cache_test.go", "cache/config.go", "cache/demux.go", "cache/demux_test.go", "tests/integration/cache_test.go"], "related_tests": ["cache/cache_test.go", "cache/demux_test.go", "tests/integration/cache_test.go"], "root_cause_files": ["cache/cache_test.go", "cache/demux_test.go", "tests/integration/cache_test.go"], "root_cause_symbols": [], "supporting_files": ["cache/config.go", "cache/demux.go"]}, "id": "ba3c1cd24f66bb46eb30d57d", "metadata": {"confidence": "weak", "created_at": "2026-04-06T14:51:03Z", "evidence": {"comment_commit_id": "1c9a661a81ec53f0f7d91b6dd8696b0829abf749", "comment_created_at": "2026-04-06T15:17:27Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["236179af0d6c678cfe4d7ece6b745838fbd1480b"], "review_comment_id": 3040162646}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-17T10:00:02Z", "pr": 21575, "pr_url": "https://github.com/etcd-io/etcd/pull/21575"}, "query": {"diff_hunk_context": "@@ -135,12 +135,23 @@ func (c *Cache) Watch(ctx context.Context, key string, opts ...clientv3.OpOption\n \t\tdefer c.waitGroup.Done()\n \t\tdefer close(responseChan)\n \t\tdefer c.demux.Unregister(w)\n \t\tfor {\n \t\t\tselect {\n \t\t\tcase <-ctx.Done():\n \t\t\t\treturn\n \t\t\tcase <-c.internalCtx.Done():\n \t\t\t\treturn", "given_file": "cache/cache.go", "line": 153, "path": "cache/cache.go", "pr_title": "cache: Support WithProgressNotify() for cache watch", "review_comment": "Progress should only be sent if there was no other response sent."}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "7f399ee50c4553f7e0c06c0e5c87fdeb9589754f", "candidate_corpus": {"base_commit": "7f399ee50c4553f7e0c06c0e5c87fdeb9589754f", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "2ed418c191bccc23d542b4081f96b694025fe031", "given_files": ["server/storage/wal/repair.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "server/storage/wal/repair_test.go"}], "negative_distractors": ["server/storage/wal/repair_test.go"], "related_tests": ["server/storage/wal/repair_test.go"], "root_cause_files": ["server/storage/wal/repair_test.go"], "root_cause_symbols": [], "supporting_files": []}, "id": "bb23acb59ca8f1acfed7fd4b", "metadata": {"confidence": "weak", "created_at": "2024-09-11T04:14:31Z", "evidence": {"comment_commit_id": "d12bb7e0fba2e4f9bca55942dcd96870c95bf06b", "comment_created_at": "2024-09-13T07:35:38Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["d12bb7e0fba2e4f9bca55942dcd96870c95bf06b"], "review_comment_id": 1758342100}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2024-09-17T07:54:59Z", "pr": 18574, "pr_url": "https://github.com/etcd-io/etcd/pull/18574"}, "query": {"diff_hunk_context": "@@ -67,7 +67,7 @@ func Repair(lg *zap.Logger, dirpath string) bool {\n \n \t\tcase errors.Is(err, io.ErrUnexpectedEOF):\n \t\t\tbrokenName := f.Name() + \".broken\"", "given_file": "server/storage/wal/repair.go", "line": 70, "path": "server/storage/wal/repair.go", "pr_title": "Ensure consistent file permissions on broken WAL files", "review_comment": "Don't think it's the same, the LockFile function not only creates file but takes a OS lock on it. Maybe what I proposed doesn't make sense here as we need a function that would would need different options for\n* Creating a normal file or a locked file (fileutil.LockFile vs os.OpenFile)\n* Create a new file or truncating existing file. (os.O_WRONLY|os.O_CREATE vs os.O_CREATE|os.O_WRONLY|os.O_TRUNC)\n\nIt might be useful to have a single function to create WAL files to show all the options, however I'm not sure that it would be beneficial. cc @ahrtr"}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "8687c97fa5fc7814bf2deaf4b13e666a1b9a0dda", "candidate_corpus": {"base_commit": "8687c97fa5fc7814bf2deaf4b13e666a1b9a0dda", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "f3815932116c5d2edb91be9f0a63c7dc50127dc0", "given_files": ["server/proxy/grpcproxy/adapter/chan_stream_test.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "implementation_context_for_reviewed_change"], "path": "tests/integration/clientv3/maintenance_test.go"}], "negative_distractors": ["server/proxy/grpcproxy/adapter/chan_stream.go", "tests/integration/clientv3/maintenance_test.go"], "related_tests": ["server/proxy/grpcproxy/adapter/chan_stream_test.go", "tests/integration/clientv3/maintenance_test.go"], "root_cause_files": ["tests/integration/clientv3/maintenance_test.go"], "root_cause_symbols": [], "supporting_files": []}, "id": "c9f5bf8f601c131878216f20", "metadata": {"confidence": "weak", "created_at": "2026-04-17T19:37:39Z", "evidence": {"comment_commit_id": "b05c85872c379fdbaaa0772d1d436e706695f1f6", "comment_created_at": "2026-04-20T23:29:03Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["b05c85872c379fdbaaa0772d1d436e706695f1f6"], "review_comment_id": 3114200999}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-21T13:01:49Z", "pr": 21633, "pr_url": "https://github.com/etcd-io/etcd/pull/21633"}, "query": {"diff_hunk_context": "@@ -0,0 +1,83 @@", "given_file": "server/proxy/grpcproxy/adapter/chan_stream_test.go", "line": 30, "path": "server/proxy/grpcproxy/adapter/chan_stream_test.go", "pr_title": "grpcproxy: return io.EOF at end of server-streaming RPCs", "review_comment": "the change looks good. could you please add this case as well?\n\nJust want to verify it in e2e. Thanks"}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "da66a4f234d55ee27f3259e4111a29bfb4e44900", "candidate_corpus": {"base_commit": "da66a4f234d55ee27f3259e4111a29bfb4e44900", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "05aff35f26dcdeda2e40df25ed6972f2042778de", "given_files": ["server/storage/mvcc/kv.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "behavior_test_for_reviewed_change"], "path": "server/etcdserver/txn/txn_test.go"}, {"evidence": ["modified_after_review_comment", "behavior_test_for_reviewed_change"], "path": "server/storage/mvcc/index_test.go"}, {"evidence": ["modified_after_review_comment", "behavior_test_for_reviewed_change"], "path": "server/storage/mvcc/kv_test.go"}], "negative_distractors": ["server/etcdserver/apply/backend.go", "server/etcdserver/txn/range.go", "server/etcdserver/txn/range_bench_test.go", "server/etcdserver/txn/txn.go", "server/etcdserver/txn/txn_test.go", "server/etcdserver/v3_server.go", "server/storage/mvcc/index.go", "server/storage/mvcc/index_test.go"], "related_tests": ["server/etcdserver/txn/range_bench_test.go", "server/etcdserver/txn/txn_test.go", "server/storage/mvcc/index_test.go", "server/storage/mvcc/kv_test.go", "server/storage/mvcc/kvstore_test.go"], "root_cause_files": ["server/etcdserver/txn/txn_test.go", "server/storage/mvcc/index_test.go", "server/storage/mvcc/kv_test.go"], "root_cause_symbols": [], "supporting_files": ["server/etcdserver/apply/backend.go", "server/etcdserver/txn/range.go", "server/etcdserver/txn/txn.go", "server/etcdserver/v3_server.go", "server/storage/mvcc/index.go", "server/storage/mvcc/kvstore_test.go", "server/storage/mvcc/kvstore_txn.go", "server/etcdserver/txn/range_bench_test.go"]}, "id": "d5f1198f6fb5e19244fd4ac7", "metadata": {"confidence": "weak", "created_at": "2026-04-15T14:20:29Z", "evidence": {"comment_commit_id": "641098e4a7bf853fbe7792b71f3b3ff102883b1f", "comment_created_at": "2026-04-15T14:38:20Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["2f5dfcb1760aca3209af3156532d1d32046701c5", "d17f227ffd524d2a39d009a7c9e2fbf418f11c9c", "c2d1aece754948e02d5a8a7c4f4b357e95fdd80a", "05e4e4b4f5499973cd48ddb7451fd4695e8c9f20"], "review_comment_id": 3087277658}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-17T11:31:09Z", "pr": 21618, "pr_url": "https://github.com/etcd-io/etcd/pull/21618"}, "query": {"diff_hunk_context": "@@ -26,7 +26,13 @@ import (\n type RangeOptions struct {\n \tLimit int64\n \tRev int64\n \tCount bool", "given_file": "server/storage/mvcc/kv.go", "line": 31, "path": "server/storage/mvcc/kv.go", "pr_title": "mvcc: add WithTotalCount optimization for Range", "review_comment": "`Count` is not the best name here, adding comment doesn't help a lot. Better name would be `CountOnly` like we have in etcd client options.\n\nBefore making your change, can you send a PR that will align the `RangeOptions` field names with client?"}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "da66a4f234d55ee27f3259e4111a29bfb4e44900", "candidate_corpus": {"base_commit": "da66a4f234d55ee27f3259e4111a29bfb4e44900", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "cf3527b67ed7bac557ed023af91821792abeaaf7", "given_files": ["cache/cache.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "cache/cache_test.go"}, {"evidence": ["modified_after_review_comment", "behavior_test_for_reviewed_change"], "path": "cache/demux_test.go"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "tests/integration/cache_test.go"}], "negative_distractors": ["cache/cache_test.go", "cache/config.go", "cache/demux.go", "cache/demux_test.go", "tests/integration/cache_test.go"], "related_tests": ["cache/cache_test.go", "cache/demux_test.go", "tests/integration/cache_test.go"], "root_cause_files": ["cache/cache_test.go", "cache/demux_test.go", "tests/integration/cache_test.go"], "root_cause_symbols": [], "supporting_files": ["cache/config.go", "cache/demux.go"]}, "id": "e1280404f66f39671f1939e5", "metadata": {"confidence": "weak", "created_at": "2026-04-06T14:51:03Z", "evidence": {"comment_commit_id": "1c9a661a81ec53f0f7d91b6dd8696b0829abf749", "comment_created_at": "2026-04-06T15:17:00Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["236179af0d6c678cfe4d7ece6b745838fbd1480b"], "review_comment_id": 3040160858}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-17T10:00:02Z", "pr": 21575, "pr_url": "https://github.com/etcd-io/etcd/pull/21575"}, "query": {"diff_hunk_context": "@@ -135,12 +135,23 @@ func (c *Cache) Watch(ctx context.Context, key string, opts ...clientv3.OpOption\n \t\tdefer c.waitGroup.Done()\n \t\tdefer close(responseChan)\n \t\tdefer c.demux.Unregister(w)", "given_file": "cache/cache.go", "line": 142, "path": "cache/cache.go", "pr_title": "cache: Support WithProgressNotify() for cache watch", "review_comment": "Ticker doesn't work as you think. Please read https://pkg.go.dev/time#NewTicker `The ticker will adjust the time interval or drop ticks to make up for slow receivers`"}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "da66a4f234d55ee27f3259e4111a29bfb4e44900", "candidate_corpus": {"base_commit": "da66a4f234d55ee27f3259e4111a29bfb4e44900", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "cf3527b67ed7bac557ed023af91821792abeaaf7", "given_files": ["cache/cache.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "cache/cache_test.go"}, {"evidence": ["modified_after_review_comment", "behavior_test_for_reviewed_change"], "path": "cache/demux_test.go"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "tests/integration/cache_test.go"}], "negative_distractors": ["cache/cache_test.go", "cache/config.go", "cache/demux.go", "cache/demux_test.go", "tests/integration/cache_test.go"], "related_tests": ["cache/cache_test.go", "cache/demux_test.go", "tests/integration/cache_test.go"], "root_cause_files": ["cache/cache_test.go", "cache/demux_test.go", "tests/integration/cache_test.go"], "root_cause_symbols": [], "supporting_files": ["cache/config.go", "cache/demux.go"]}, "id": "e45d17f09b4ecbc9c61e2aff", "metadata": {"confidence": "weak", "created_at": "2026-04-06T14:51:03Z", "evidence": {"comment_commit_id": "4d28badcd08d94270d8a78ff7baafb7be674ba8b", "comment_created_at": "2026-04-08T07:31:52Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["236179af0d6c678cfe4d7ece6b745838fbd1480b"], "review_comment_id": 3049811754}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-17T10:00:02Z", "pr": 21575, "pr_url": "https://github.com/etcd-io/etcd/pull/21575"}, "query": {"diff_hunk_context": "@@ -135,12 +135,29 @@ func (c *Cache) Watch(ctx context.Context, key string, opts ...clientv3.OpOption\n \t\tdefer c.waitGroup.Done()\n \t\tdefer close(responseChan)\n \t\tdefer c.demux.Unregister(w)\n \t\tfor {\n \t\t\tselect {\n \t\t\tcase <-ctx.Done():\n \t\t\t\treturn\n \t\t\tcase <-c.internalCtx.Done():\n \t\t\t\treturn", "given_file": "cache/cache.go", "line": 156, "path": "cache/cache.go", "pr_title": "cache: Support WithProgressNotify() for cache watch", "review_comment": "Do we need to check it? I think we can just depend on reseting timer.\n\nMy understanding of the flow:\n\nT0 Watch is created, let's say a watch event returned reseting timer and setting `needsProgress = false`\nT1 timer sends event to `progressChan` , no event is send as `needsProgress` is set to false. Timer is reset and `needsProgress = true`\nT2 timer sends event to `progressChan`. Event is sent. Timer is reset and `needsProgress = true`\nT3 repeat previous step.\n\nSo basically first progress notify is delayed to 2*`ProgressNotifyInterval`, while all following are sent with `ProgressNotifyInterval`. \n\nThe only question is whether we can depend on just timer, basically what happens if we call \"Reset\" on timer that already emitted a value. Based on Go documentation we should be good as of Go 1.23 https://pkg.go.dev/time#NewTimer:\n\n```\nBefore Go 1.23, the channel associated with a Timer was asynchronous (buffered, capacity 1), which meant that stale time values could be received even after [Timer.Stop](https://pkg.go.dev/time#Timer.Stop) or [Timer.Reset](https://pkg.go.dev/time#Timer.Reset) returned. As of Go 1.23, the channel is synchronous (unbuffered, capacity 0), eliminating the possibility of those stale values.\n```\n\nPlease note this flows should be tested with fake timer like progressNotifier to ensure this behavior doesn't change."}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "6779a89a825b05911b05b2b21999c0d63c9cc688", "candidate_corpus": {"base_commit": "6779a89a825b05911b05b2b21999c0d63c9cc688", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "ac3d5d77ea5fdbc12ef07a6f6fe1722f06d75b24", "given_files": ["pkg/expect/expect.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "same_module_context", "behavior_test_for_reviewed_change", "review_requests_tests", "explicit_behavior_or_api_dependency"], "path": "pkg/expect/expect_test.go"}, {"evidence": ["modified_after_review_comment", "behavior_test_for_reviewed_change", "review_requests_tests", "explicit_behavior_or_api_dependency"], "path": "tests/framework/testutils/log_observer_test.go"}], "negative_distractors": ["pkg/expect/expect_test.go", "tests/framework/testutils/log_observer_test.go", "tools/.golangci.yaml"], "related_tests": ["pkg/expect/expect_test.go", "tests/framework/testutils/log_observer_test.go"], "root_cause_files": ["pkg/expect/expect_test.go", "tests/framework/testutils/log_observer_test.go"], "root_cause_symbols": [], "supporting_files": ["tools/.golangci.yaml"]}, "id": "f2ed9144242438cac8f3706b", "metadata": {"confidence": "weak", "created_at": "2024-10-15T12:02:54Z", "evidence": {"comment_commit_id": "499196dfb07cf441eae59d4647540981fcb9f883", "comment_created_at": "2024-10-15T12:05:40Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["499196dfb07cf441eae59d4647540981fcb9f883"], "response_commit": "499196dfb07cf441eae59d4647540981fcb9f883", "review_comment_id": 1801038060}, "generated_at": "2026-04-29T11:57:32+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2024-10-16T17:14:14Z", "pr": 18740, "pr_url": "https://github.com/etcd-io/etcd/pull/18740"}, "query": {"diff_hunk_context": "@@ -193,7 +193,7 @@ func (ep *ExpectProcess) ExpectFunc(ctx context.Context, f func(string) bool) (s\n \n \t\tselect {\n \t\tcase <-ctx.Done():", "given_file": "pkg/expect/expect.go", "line": 196, "path": "pkg/expect/expect.go", "pr_title": "fix: enable error-is-as rule from testifylint", "review_comment": "I'm not entirely sure if this change is ok. Previously the `context.DeadlineExceeded` error was \"swallowed\" here. \n\nThis was not discovered until now because the test for this wrongly used `require.ErrorAs`, which is not appropriate for a sentinel error value like `context.DeadlineExceeded`. Instead `require.ErrorIs` must be used to test for the appropriate error but that didn't work because the error was swallowed."}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "c64f8fd68c2e75cc65b88bc0d956547a5f77cab1", "candidate_corpus": {"base_commit": "c64f8fd68c2e75cc65b88bc0d956547a5f77cab1", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "de54d00dc87df9b4ede3f842c818d3eeb037c6f8", "given_files": ["tests/integration/cache_test.go"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "implementation_context_for_reviewed_change"], "path": "cache/cache.go"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "cache/demux.go"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "implementation_context_for_reviewed_change"], "path": "cache/demux_test.go"}], "negative_distractors": ["cache/cache.go", "cache/demux.go", "cache/demux_test.go"], "related_tests": ["cache/demux_test.go", "tests/integration/cache_test.go"], "root_cause_files": ["cache/cache.go", "cache/demux.go", "cache/demux_test.go"], "root_cause_symbols": [], "supporting_files": []}, "id": "fa3c694a355ce304193a46e8", "metadata": {"confidence": "weak", "created_at": "2026-03-29T10:32:55Z", "evidence": {"comment_commit_id": "fa8a5a2484d45f92ff107748aad7fa3e152e773c", "comment_created_at": "2026-04-02T11:49:02Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["fa8a5a2484d45f92ff107748aad7fa3e152e773c"], "review_comment_id": 3027576815}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-03T18:09:44Z", "pr": 21545, "pr_url": "https://github.com/etcd-io/etcd/pull/21545"}, "query": {"diff_hunk_context": "@@ -546,6 +546,71 @@ func TestCacheWatchPrefixProgressNotify(t *testing.T) {\n \t}\n }\n ", "given_file": "tests/integration/cache_test.go", "line": 557, "path": "tests/integration/cache_test.go", "pr_title": "cache: Add on-demand progress notification from cache", "review_comment": "Makes sense. This would require sending progress request to the etcd server. Should we just implement that instead of this? But this would also mean that each progress request will now make a network call."}, "repo": "etcd-io/etcd", "task_type": "comment2context", "version": 2} |
| {"base_commit": "c8c84018e0d8704e44d68ff18b634f1f61a717f6", "candidate_corpus": {"base_commit": "c8c84018e0d8704e44d68ff18b634f1f61a717f6", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "a37f6f8394ac2a7ee8360c3abea811efe54512b1", "given_files": ["tests/pipelines/test_pipelines.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "src/diffusers/utils/dynamic_modules_utils.py"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "setup.py"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "src/diffusers/dependency_versions_table.py"}], "negative_distractors": ["src/diffusers/models/auto_model.py", "src/diffusers/modular_pipelines/modular_pipeline.py", "src/diffusers/pipelines/pipeline_loading_utils.py", "src/diffusers/pipelines/pipeline_utils.py", "src/diffusers/utils/dynamic_modules_utils.py", "tests/models/test_models_auto.py"], "related_tests": ["tests/models/test_models_auto.py", "tests/pipelines/test_pipelines.py"], "root_cause_files": ["src/diffusers/utils/dynamic_modules_utils.py", "setup.py", "src/diffusers/dependency_versions_table.py"], "root_cause_symbols": [], "supporting_files": ["src/diffusers/models/attention_dispatch.py", "src/diffusers/models/modeling_utils.py", "src/diffusers/pipelines/pipeline_loading_utils.py", "src/diffusers/pipelines/pipeline_utils.py", "src/diffusers/utils/__init__.py", "src/diffusers/utils/constants.py", "src/diffusers/utils/import_utils.py", "tests/others/test_flashpack.py"]}, "id": "154523e8d0af9b78d3138dd4", "metadata": {"confidence": "weak", "created_at": "2026-04-12T15:05:10Z", "evidence": {"comment_commit_id": "d5fdfc4d9ddae2dd5841bf838935c8b59024c73d", "comment_created_at": "2026-04-13T02:58:12Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["c0e073159dc545d368c0a9d7dee3a7b5960157a9", "78a5028562be615d2bb9100cb3d1f214880133f6", "8ec3f26b65780fef699b085919b7002466b541a5", "5eb5aaf842bde5f07bd459ef4ef19e07d94b0f93", "d5fdfc4d9ddae2dd5841bf838935c8b59024c73d", "ba37013b683cf60006b25036add5bc801a6e5c71", "9170ddaf68001518ebab4dbf4216a7c2a10f3ccd", "ebfc268ba679f70284450622b100b458ecb1dba7"], "review_comment_id": 3070670922}, "generated_at": "2026-04-29T09:03:14+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-23T05:37:43Z", "pr": 13448, "pr_url": "https://github.com/huggingface/diffusers/pull/13448"}, "query": {"diff_hunk_context": "@@ -1011,8 +1011,15 @@ def test_get_pipeline_class_from_flax(self):\n \n class CustomPipelineTests(unittest.TestCase):\n def test_load_custom_pipeline(self):", "given_file": "tests/pipelines/test_pipelines.py", "line": 1014, "path": "tests/pipelines/test_pipelines.py", "pr_title": "Improve `trust_remote_code`", "review_comment": "Should we investigate the `ValueError` messaging as well (it should have something related to the use of `trust_remote_code` or not something else)?"}, "repo": "huggingface/diffusers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "a58d0b9bec320722aaf193f269bf5c2ffd51d0d4", "candidate_corpus": {"base_commit": "a58d0b9bec320722aaf193f269bf5c2ffd51d0d4", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "a2ea45a5da7f9d4b197ee5da7481768bf865f7d1", "given_files": ["scripts/convert_ltx2_to_diffusers.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "same_module_context", "explicit_behavior_or_api_dependency"], "path": "src/diffusers/pipelines/ltx2/pipeline_ltx2_image2video.py"}], "negative_distractors": ["docs/source/en/api/pipelines/ltx2.md", "src/diffusers/models/autoencoders/autoencoder_kl_ltx2_audio.py", "src/diffusers/pipelines/ltx2/pipeline_ltx2.py", "src/diffusers/pipelines/ltx2/pipeline_ltx2_image2video.py", "src/diffusers/pipelines/ltx2/pipeline_ltx2_latent_upsample.py", "src/diffusers/pipelines/ltx2/utils.py", "tests/pipelines/ltx2/test_ltx2.py", "tests/pipelines/ltx2/test_ltx2_image2video.py"], "related_tests": ["tests/pipelines/ltx2/test_ltx2.py", "tests/pipelines/ltx2/test_ltx2_image2video.py"], "root_cause_files": ["src/diffusers/pipelines/ltx2/pipeline_ltx2_image2video.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "4859c611ffd0c874827b2e28", "metadata": {"confidence": "weak", "created_at": "2026-01-09T12:47:11Z", "evidence": {"comment_commit_id": "c45bd6d701c5d632c475a1b8c2b715d151ea2a3f", "comment_created_at": "2026-01-12T03:44:28Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["d988fc34f1e65820d2ef926b3a621ccf14cb1afc", "837fd85c76148b1703636a8c321ce3ff163d8ab9", "96fbcd8301a81deea58773a74ca620f12d70cebc", "faeccc557af796a3f7ef2ac56cf349c5f71bdbf9", "9575e0632afb5f02833b33e4d4f1da37274779e7", "ce5a51430b3622e9ee910e899221532c37edb783", "18f1603d120cb25c4a93ed8d2790563981e0408c", "eb01780ada0f9c2f9aa3c2a6b9c48329295985c3"], "response_commit": "837fd85c76148b1703636a8c321ce3ff163d8ab9", "review_comment_id": 2680775630}, "generated_at": "2026-04-29T11:57:33+00:00", "hardmine_source": "data/derived_v0_2_round3_more/comment2context.jsonl", "merged_at": "2026-01-29T03:35:44Z", "pr": 12934, "pr_url": "https://github.com/huggingface/diffusers/pull/12934"}, "query": {"diff_hunk_context": "@@ -433,7 +437,7 @@ def get_ltx2_video_vae_config(version: str) -> Tuple[Dict[str, Any], Dict[str, A\n \"downsample_type\": (\"spatial\", \"temporal\", \"spatiotemporal\", \"spatiotemporal\"),\n \"upsample_residual\": (True, True, True),\n \"upsample_factor\": (2, 2, 2),", "given_file": "scripts/convert_ltx2_to_diffusers.py", "line": 440, "path": "scripts/convert_ltx2_to_diffusers.py", "pr_title": "LTX2 distilled checkpoint support", "review_comment": "Where is `timestep_conditioning` used in the corresponding Video VAE class?"}, "repo": "huggingface/diffusers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "c8c84018e0d8704e44d68ff18b634f1f61a717f6", "candidate_corpus": {"base_commit": "c8c84018e0d8704e44d68ff18b634f1f61a717f6", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "a37f6f8394ac2a7ee8360c3abea811efe54512b1", "given_files": ["tests/pipelines/test_pipelines.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "src/diffusers/utils/dynamic_modules_utils.py"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "examples/advanced_diffusion_training/train_dreambooth_lora_flux_advanced.py"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py"}], "negative_distractors": ["src/diffusers/models/auto_model.py", "src/diffusers/modular_pipelines/modular_pipeline.py", "src/diffusers/pipelines/pipeline_loading_utils.py", "src/diffusers/pipelines/pipeline_utils.py", "src/diffusers/utils/dynamic_modules_utils.py", "tests/models/test_models_auto.py"], "related_tests": ["tests/models/test_models_auto.py", "tests/pipelines/test_pipelines.py"], "root_cause_files": ["src/diffusers/utils/dynamic_modules_utils.py", "examples/advanced_diffusion_training/train_dreambooth_lora_flux_advanced.py", "examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py"], "root_cause_symbols": [], "supporting_files": [".ai/AGENTS.md", ".ai/models.md", ".ai/review-rules.md", ".ai/skills/model-integration/SKILL.md", ".github/workflows/claude_review.yml", ".github/workflows/upload_pr_documentation.yml", "docs/source/en/_toctree.yml", "docs/source/en/api/pipelines/longcat_audio_dit.md"]}, "id": "7d661ed7231eb85fa0e44073", "metadata": {"confidence": "weak", "created_at": "2026-04-12T15:05:10Z", "evidence": {"comment_commit_id": "d5fdfc4d9ddae2dd5841bf838935c8b59024c73d", "comment_created_at": "2026-04-20T11:54:48Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["d5fdfc4d9ddae2dd5841bf838935c8b59024c73d", "ba37013b683cf60006b25036add5bc801a6e5c71", "9170ddaf68001518ebab4dbf4216a7c2a10f3ccd", "ebfc268ba679f70284450622b100b458ecb1dba7"], "review_comment_id": 3110413866}, "generated_at": "2026-04-29T09:03:14+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-23T05:37:43Z", "pr": 13448, "pr_url": "https://github.com/huggingface/diffusers/pull/13448"}, "query": {"diff_hunk_context": "@@ -1045,8 +1058,15 @@ def test_load_custom_github(self):\n assert pipeline.__class__.__name__ == \"UnetSchedulerOneForwardPipeline\"\n \n def test_run_custom_pipeline(self):", "given_file": "tests/pipelines/test_pipelines.py", "line": 1061, "path": "tests/pipelines/test_pipelines.py", "pr_title": "Improve `trust_remote_code`", "review_comment": "Could we add a check for the error message content\n\ne.g.\n\n```py\n with self.assertRaises(ValueError) as cm:\n DiffusionPipeline.from_pretrained(\n \"google/ddpm-cifar10-32\", custom_pipeline=\"hf-internal-testing/diffusers-dummy-pipeline\"\n )\n self.assertIn(\n \"Please pass the argument `trust_remote_code=True` to allow custom code to be run.\",\n str(cm.exception),\n )\n```"}, "repo": "huggingface/diffusers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "3a4421c89b9ecd8959741c70c6696cb3c844e40f", "candidate_corpus": {"base_commit": "3a4421c89b9ecd8959741c70c6696cb3c844e40f", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "8d30d05de12bce1a51f66632e0c473cd092dc8ee", "given_files": ["src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet_inpaint.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "tests/pipelines/qwenimage/test_qwenimage.py"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "tests/pipelines/qwenimage/test_qwenimage_controlnet.py"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "tests/pipelines/qwenimage/test_qwenimage_edit.py"}], "negative_distractors": ["src/diffusers/modular_pipelines/qwenimage/encoders.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_inpaint.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_plus.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_img2img.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_inpaint.py"], "related_tests": ["tests/pipelines/qwenimage/test_qwenimage.py", "tests/pipelines/qwenimage/test_qwenimage_controlnet.py", "tests/pipelines/qwenimage/test_qwenimage_edit.py", "tests/pipelines/qwenimage/test_qwenimage_edit_plus.py", "tests/pipelines/qwenimage/test_qwenimage_img2img.py", "tests/pipelines/qwenimage/test_qwenimage_inpaint.py"], "root_cause_files": ["tests/pipelines/qwenimage/test_qwenimage.py", "tests/pipelines/qwenimage/test_qwenimage_controlnet.py", "tests/pipelines/qwenimage/test_qwenimage_edit.py"], "root_cause_symbols": [], "supporting_files": [".github/workflows/claude_review.yml", "docs/source/en/api/pipelines/longcat_audio_dit.md", "src/diffusers/models/autoencoders/autoencoder_kl_qwenimage.py", "src/diffusers/pipelines/longcat_audio_dit/pipeline_longcat_audio_dit.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_inpaint.py"]}, "id": "8c8c2eb1ece3b9098d999ec6", "metadata": {"confidence": "weak", "created_at": "2026-04-01T13:12:53Z", "evidence": {"comment_commit_id": "4f736f7e5c336d0e3c320a8f164cbbc294ab3029", "comment_created_at": "2026-04-16T02:36:29Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["908c304a19904aed56e817b5cbcfe4983b446509", "eb86a2e5490c550cf07e87fe92f107d864876db3", "42587ae2a8c3fabb705c84961af3bdb09bf3c88d", "7fa33ee95dc304f8d27904ba0aae2767b62c0ac1", "17938f5b55db9999fbb156eec999620f050767a7", "30e10dde4ecb4935b4aafb7dd1e986872ed0759e", "4f736f7e5c336d0e3c320a8f164cbbc294ab3029"], "review_comment_id": 3090504773}, "generated_at": "2026-04-29T09:03:14+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-17T08:03:58Z", "pr": 13379, "pr_url": "https://github.com/huggingface/diffusers/pull/13379"}, "query": {"diff_hunk_context": "@@ -353,15 +355,6 @@ def check_inputs(\n f\" {negative_prompt_embeds}. Please make sure to only forward one of the two.\"\n )\n ", "given_file": "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet_inpaint.py", "line": 356, "path": "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet_inpaint.py", "pr_title": "fix(qwen): fix CFG failing when passing neg prompt embeds with none mask", "review_comment": "What is the reasoning behind this?\n\nWhat happens when users pass the embeds and not the masks? Maybe we should warn them?"}, "repo": "huggingface/diffusers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "c8c84018e0d8704e44d68ff18b634f1f61a717f6", "candidate_corpus": {"base_commit": "c8c84018e0d8704e44d68ff18b634f1f61a717f6", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "a37f6f8394ac2a7ee8360c3abea811efe54512b1", "given_files": ["src/diffusers/pipelines/pipeline_utils.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "behavior_test_for_reviewed_change"], "path": "tests/others/test_flashpack.py"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "tests/testing_utils.py"}, {"evidence": ["modified_after_review_comment", "behavior_test_for_reviewed_change"], "path": "tests/models/test_models_auto.py"}], "negative_distractors": ["src/diffusers/models/auto_model.py", "src/diffusers/modular_pipelines/modular_pipeline.py", "src/diffusers/pipelines/pipeline_loading_utils.py", "src/diffusers/utils/dynamic_modules_utils.py", "tests/models/test_models_auto.py", "tests/pipelines/test_pipelines.py"], "related_tests": ["tests/models/test_models_auto.py", "tests/pipelines/test_pipelines.py"], "root_cause_files": ["tests/others/test_flashpack.py", "tests/testing_utils.py", "tests/models/test_models_auto.py"], "root_cause_symbols": [], "supporting_files": ["src/diffusers/utils/dynamic_modules_utils.py", "setup.py", "src/diffusers/dependency_versions_table.py", "src/diffusers/models/attention_dispatch.py", "src/diffusers/models/modeling_utils.py", "src/diffusers/pipelines/pipeline_loading_utils.py", "src/diffusers/utils/__init__.py", "src/diffusers/utils/constants.py"]}, "id": "8d19ca90da7a3f1ce81d3654", "metadata": {"confidence": "weak", "created_at": "2026-04-12T15:05:10Z", "evidence": {"comment_commit_id": "ebfc268ba679f70284450622b100b458ecb1dba7", "comment_created_at": "2026-04-13T07:35:09Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["78a5028562be615d2bb9100cb3d1f214880133f6", "8ec3f26b65780fef699b085919b7002466b541a5", "5eb5aaf842bde5f07bd459ef4ef19e07d94b0f93", "d5fdfc4d9ddae2dd5841bf838935c8b59024c73d", "ba37013b683cf60006b25036add5bc801a6e5c71", "9170ddaf68001518ebab4dbf4216a7c2a10f3ccd", "ebfc268ba679f70284450622b100b458ecb1dba7"], "review_comment_id": 3071482872}, "generated_at": "2026-04-29T09:03:14+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-23T05:37:43Z", "pr": 13448, "pr_url": "https://github.com/huggingface/diffusers/pull/13448"}, "query": {"diff_hunk_context": "@@ -1674,21 +1678,6 @@ def download(cls, pretrained_model_name, **kwargs) -> str | os.PathLike:\n custom_class_name = config_dict[\"_class_name\"][1]\n \n load_pipe_from_hub = custom_pipeline is not None and f\"{custom_pipeline}.py\" in filenames", "given_file": "src/diffusers/pipelines/pipeline_utils.py", "line": 1687, "path": "src/diffusers/pipelines/pipeline_utils.py", "pr_title": "Improve `trust_remote_code`", "review_comment": "Well just to be clear, using the same local-dir as Hub repo is a possible trick to hide the attack as anyone who didn't pre-download wouldn't be affected but any local directory is affected, and the local directory could be from other sources like `snapshot_download` or `git clone`."}, "repo": "huggingface/diffusers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "3a4421c89b9ecd8959741c70c6696cb3c844e40f", "candidate_corpus": {"base_commit": "3a4421c89b9ecd8959741c70c6696cb3c844e40f", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "8d30d05de12bce1a51f66632e0c473cd092dc8ee", "given_files": ["src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "tests/pipelines/qwenimage/test_qwenimage.py"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "tests/pipelines/qwenimage/test_qwenimage_controlnet.py"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "behavior_test_for_reviewed_change"], "path": "tests/pipelines/qwenimage/test_qwenimage_edit.py"}], "negative_distractors": ["src/diffusers/modular_pipelines/qwenimage/encoders.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet_inpaint.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_inpaint.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_plus.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_img2img.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_inpaint.py"], "related_tests": ["tests/pipelines/qwenimage/test_qwenimage.py", "tests/pipelines/qwenimage/test_qwenimage_controlnet.py", "tests/pipelines/qwenimage/test_qwenimage_edit.py", "tests/pipelines/qwenimage/test_qwenimage_edit_plus.py", "tests/pipelines/qwenimage/test_qwenimage_img2img.py", "tests/pipelines/qwenimage/test_qwenimage_inpaint.py"], "root_cause_files": ["tests/pipelines/qwenimage/test_qwenimage.py", "tests/pipelines/qwenimage/test_qwenimage_controlnet.py", "tests/pipelines/qwenimage/test_qwenimage_edit.py"], "root_cause_symbols": [], "supporting_files": [".github/workflows/claude_review.yml", "docs/source/en/api/pipelines/longcat_audio_dit.md", "src/diffusers/models/autoencoders/autoencoder_kl_qwenimage.py", "src/diffusers/pipelines/longcat_audio_dit/pipeline_longcat_audio_dit.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet_inpaint.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_inpaint.py"]}, "id": "a17b0c140c1465ce72d6380f", "metadata": {"confidence": "weak", "created_at": "2026-04-01T13:12:53Z", "evidence": {"comment_commit_id": "4f736f7e5c336d0e3c320a8f164cbbc294ab3029", "comment_created_at": "2026-04-16T02:33:39Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["908c304a19904aed56e817b5cbcfe4983b446509", "eb86a2e5490c550cf07e87fe92f107d864876db3", "42587ae2a8c3fabb705c84961af3bdb09bf3c88d", "7fa33ee95dc304f8d27904ba0aae2767b62c0ac1", "17938f5b55db9999fbb156eec999620f050767a7", "30e10dde4ecb4935b4aafb7dd1e986872ed0759e", "4f736f7e5c336d0e3c320a8f164cbbc294ab3029"], "review_comment_id": 3090494828}, "generated_at": "2026-04-29T09:03:14+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-17T08:03:58Z", "pr": 13379, "pr_url": "https://github.com/huggingface/diffusers/pull/13379"}, "query": {"diff_hunk_context": "@@ -584,9 +584,7 @@ def __call__(\n \n device = self._execution_device\n ", "given_file": "src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py", "line": 603, "path": "src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py", "pr_title": "fix(qwen): fix CFG failing when passing neg prompt embeds with none mask", "review_comment": "How do we handle `negative_prompt_embeds_mask`? 👀 Is this block affected?\n\nhttps://github.com/huggingface/diffusers/blob/71a6fd9f0df04d3764dfa999268a05d87903a85a/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L261-L267"}, "repo": "huggingface/diffusers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "357b6818903f0990a5e4815f31d1655555a035a7", "candidate_corpus": {"base_commit": "357b6818903f0990a5e4815f31d1655555a035a7", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "10ba0be9912d77937bf395959bc0e45f27a5ba9f", "given_files": ["src/diffusers/pipelines/hunyuan_video/pipeline_hunyuan_video_image2video.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "same_module_context", "behavior_test_for_reviewed_change", "explicit_behavior_or_api_dependency"], "path": "tests/pipelines/hunyuan_video/test_hunyuan_image2video.py"}], "negative_distractors": ["tests/pipelines/hunyuan_video/test_hunyuan_image2video.py"], "related_tests": ["tests/pipelines/hunyuan_video/test_hunyuan_image2video.py"], "root_cause_files": ["tests/pipelines/hunyuan_video/test_hunyuan_image2video.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "bc87006be1901ac68dd4fb27", "metadata": {"confidence": "weak", "created_at": "2026-03-10T10:35:35Z", "evidence": {"comment_commit_id": "27dc734d1cf46d9754f4313bcd7aa3472aef5312", "comment_created_at": "2026-03-31T00:27:41Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["4e33e2c7bc17a2b86b7affa8cc8923081f99171f", "bc78bd816a4748f199dc9d89f370749b39a7cfdf", "79e1f8a7c63c9a4c82ae7cdf372f3635ee8b859b"], "response_commit": "4e33e2c7bc17a2b86b7affa8cc8923081f99171f", "review_comment_id": 3012830780}, "generated_at": "2026-04-29T11:57:33+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-04-06T20:33:34Z", "pr": 13244, "pr_url": "https://github.com/huggingface/diffusers/pull/13244"}, "query": {"diff_hunk_context": "@@ -353,6 +353,15 @@ def _get_llama_prompt_embeds(\n text_crop_start = crop_start - 1 + image_emb_len\n batch_indices, last_double_return_token_indices = torch.where(text_input_ids == double_return_token_id)\n ", "given_file": "src/diffusers/pipelines/hunyuan_video/pipeline_hunyuan_video_image2video.py", "line": 358, "path": "src/diffusers/pipelines/hunyuan_video/pipeline_hunyuan_video_image2video.py", "pr_title": "Fix IndexError in HunyuanVideo I2V pipeline", "review_comment": "should we just replace the hard coded numbers with this logic instead? regardless the transformer version?"}, "repo": "huggingface/diffusers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "3a4421c89b9ecd8959741c70c6696cb3c844e40f", "candidate_corpus": {"base_commit": "3a4421c89b9ecd8959741c70c6696cb3c844e40f", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "8d30d05de12bce1a51f66632e0c473cd092dc8ee", "given_files": ["tests/pipelines/qwenimage/test_qwenimage.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "implementation_context_for_reviewed_change"], "path": "src/diffusers/models/autoencoders/autoencoder_kl_qwenimage.py"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "src/diffusers/pipelines/longcat_audio_dit/pipeline_longcat_audio_dit.py"}, {"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "implementation_context_for_reviewed_change"], "path": "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet.py"}], "negative_distractors": ["src/diffusers/modular_pipelines/qwenimage/encoders.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet_inpaint.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_inpaint.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_plus.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_img2img.py"], "related_tests": ["tests/pipelines/qwenimage/test_qwenimage.py", "tests/pipelines/qwenimage/test_qwenimage_controlnet.py", "tests/pipelines/qwenimage/test_qwenimage_edit.py", "tests/pipelines/qwenimage/test_qwenimage_edit_plus.py", "tests/pipelines/qwenimage/test_qwenimage_img2img.py", "tests/pipelines/qwenimage/test_qwenimage_inpaint.py"], "root_cause_files": ["src/diffusers/models/autoencoders/autoencoder_kl_qwenimage.py", "src/diffusers/pipelines/longcat_audio_dit/pipeline_longcat_audio_dit.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet.py"], "root_cause_symbols": [], "supporting_files": [".github/workflows/claude_review.yml", "docs/source/en/api/pipelines/longcat_audio_dit.md", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet_inpaint.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_inpaint.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_plus.py", "src/diffusers/pipelines/qwenimage/pipeline_qwenimage_img2img.py"]}, "id": "c7f3b6917b991258d6cd1ba3", "metadata": {"confidence": "weak", "created_at": "2026-04-01T13:12:53Z", "evidence": {"comment_commit_id": "42587ae2a8c3fabb705c84961af3bdb09bf3c88d", "comment_created_at": "2026-04-16T02:38:29Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["908c304a19904aed56e817b5cbcfe4983b446509", "eb86a2e5490c550cf07e87fe92f107d864876db3", "42587ae2a8c3fabb705c84961af3bdb09bf3c88d", "7fa33ee95dc304f8d27904ba0aae2767b62c0ac1", "17938f5b55db9999fbb156eec999620f050767a7", "30e10dde4ecb4935b4aafb7dd1e986872ed0759e", "4f736f7e5c336d0e3c320a8f164cbbc294ab3029"], "review_comment_id": 3090509459}, "generated_at": "2026-04-29T09:03:14+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-17T08:03:58Z", "pr": 13379, "pr_url": "https://github.com/huggingface/diffusers/pull/13379"}, "query": {"diff_hunk_context": "@@ -234,3 +234,29 @@ def test_vae_tiling(self, expected_diff_max: float = 0.2):\n expected_diff_max,\n \"VAE tiling should not affect the inference results\",\n )", "given_file": "tests/pipelines/qwenimage/test_qwenimage.py", "line": 258, "path": "tests/pipelines/qwenimage/test_qwenimage.py", "pr_title": "fix(qwen): fix CFG failing when passing neg prompt embeds with none mask", "review_comment": "Should we not be using it because it's the core thing that we're fixing here?"}, "repo": "huggingface/diffusers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "bbbcdd87bd9d960fa372663a50b9edbdcb1391c6", "candidate_corpus": {"base_commit": "bbbcdd87bd9d960fa372663a50b9edbdcb1391c6", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "1fe688a651bc078326082b8927f8fbdd6cefeef0", "given_files": ["src/diffusers/modular_pipelines/modular_pipeline.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "same_module_context", "behavior_test_for_reviewed_change", "explicit_behavior_or_api_dependency"], "path": "tests/modular_pipelines/test_modular_pipelines_common.py"}], "negative_distractors": ["tests/modular_pipelines/test_modular_pipelines_common.py", "tests/modular_pipelines/test_modular_pipelines_custom_blocks.py"], "related_tests": ["tests/modular_pipelines/test_modular_pipelines_common.py", "tests/modular_pipelines/test_modular_pipelines_custom_blocks.py"], "root_cause_files": ["tests/modular_pipelines/test_modular_pipelines_common.py"], "root_cause_symbols": [], "supporting_files": ["src/diffusers/modular_pipelines/modular_pipeline_utils.py", "src/diffusers/utils/hub_utils.py"]}, "id": "d837c1ef083893fbc9f88e61", "metadata": {"confidence": "weak", "created_at": "2026-03-02T23:03:06Z", "evidence": {"comment_commit_id": "301fac1d57efb56749160f4e2d6ca65866359857", "comment_created_at": "2026-03-03T06:10:26Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["301fac1d57efb56749160f4e2d6ca65866359857", "a605b2a887946f6882be07fbbacd03a208ca8d52", "81162568dccd706b5e9635cdc79253d3ee4c4d32", "fa5141500e47027c9f2b2f4c9fa74938c0885923", "acd21875363d7600bb7827592090e6e2f7395336", "8be13458479de1f06dafda7cae691fdae880e557"], "response_commit": "301fac1d57efb56749160f4e2d6ca65866359857", "review_comment_id": 2876289719}, "generated_at": "2026-04-29T11:57:33+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-03-03T12:36:36Z", "pr": 13204, "pr_url": "https://github.com/huggingface/diffusers/pull/13204"}, "query": {"diff_hunk_context": "@@ -2323,17 +2325,45 @@ def load_components(self, names: list[str] | str | None = None, **kwargs):\n elif \"default\" in value:\n # check if the default is specified\n component_load_kwargs[key] = value[\"default\"]\n try:\n components_to_register[name] = spec.load(**component_load_kwargs)\n except Exception:\n f\"\\nFailed to create component {name}:\\n\"\n f\"- Component spec: {spec}\\n\"\n f\"- load() called with kwargs: {component_load_kwargs}\\n\"\n \"If this component is not required for your workflow you can safely ignore this message.\\n\\n\"\n \"Traceback:\\n\"\n )", "given_file": "src/diffusers/modular_pipelines/modular_pipeline.py", "line": 2366, "path": "src/diffusers/modular_pipelines/modular_pipeline.py", "pr_title": "[modular] not pass trust_remote_code to external repos", "review_comment": "Of course, we cannot generalize to all possible combinations but what if the underlying component is a scheduler or a non-modeling component?\n\nFor schedulers, we could have `AutoScheduler` or something so that users won't have to remember a specific class name. For others (such as tokenizers, image processors), we already have \"auto\" classes.\n\nI guess it's not that big a use case yet, but just wanted to flag."}, "repo": "huggingface/diffusers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "9f4f217153d1d289d17f267eaed65980aa0b1a9d", "candidate_corpus": {"base_commit": "9f4f217153d1d289d17f267eaed65980aa0b1a9d", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "ad0c0f9a83e32ea3a029a154b3afbf66ed776f75", "given_files": ["src/transformers/core_model_loading.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "same_module_context", "explicit_behavior_or_api_dependency"], "path": "src/transformers/conversion_mapping.py"}], "negative_distractors": ["src/transformers/conversion_mapping.py", "tests/models/altclip/test_modeling_altclip.py", "tests/test_modeling_common.py", "tests/utils/test_core_model_loading.py"], "related_tests": ["tests/models/altclip/test_modeling_altclip.py", "tests/test_modeling_common.py", "tests/utils/test_core_model_loading.py"], "root_cause_files": ["src/transformers/conversion_mapping.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "051a22c7b9ec33a412400b9b", "metadata": {"confidence": "weak", "created_at": "2026-04-15T08:06:53Z", "evidence": {"comment_commit_id": "94eaeb043a5b1c85fd3e30471edccf86483a77db", "comment_created_at": "2026-04-16T08:57:09Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["f8d2dffce657fe996363e7e50a2622538ffe6c58", "c2a1b6d3e59bdcb264422a541f9c64939f5cdcd5", "fd1d8e74ba8f9a610a3fafd4e47c801570893d9b", "a19ad84d58e0f7cec20c5218659b13a8af75334e", "f168035b1f00a46411bc8f7368ac98cc021536ca"], "response_commit": "f8d2dffce657fe996363e7e50a2622538ffe6c58", "review_comment_id": 3091970876}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-04-20T07:17:25Z", "pr": 45448, "pr_url": "https://github.com/huggingface/transformers/pull/45448"}, "query": {"diff_hunk_context": "@@ -1342,8 +1429,11 @@ def convert_and_load_state_dict_in_model(\n # `cancel_futures=True` in case the program was interrupted, to avoid wasting time on exit\n thread_pool.shutdown(wait=False, cancel_futures=True)\n ", "given_file": "src/transformers/core_model_loading.py", "line": 1427, "path": "src/transformers/core_model_loading.py", "pr_title": "[loading] Clean way to add/remove full parts in checkpoint names", "review_comment": "Does it not create another loophole if some conversions aren't used by model? But prob if the test checks full list of conversions, we can consciously decide to add task-specific patterns like `lm_head`"}, "repo": "huggingface/transformers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "57f9936a2619d2f2d4af89bde34d5eb611c2b728", "candidate_corpus": {"base_commit": "57f9936a2619d2f2d4af89bde34d5eb611c2b728", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "91904ac328ca00f10cf3b118582100ef2b78d519", "given_files": ["src/transformers/integrations/finegrained_fp8.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "src/transformers/conversion_mapping.py"}], "negative_distractors": ["src/transformers/conversion_mapping.py"], "related_tests": [], "root_cause_files": ["src/transformers/conversion_mapping.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "0a166358bf317488838726c8", "metadata": {"confidence": "weak", "created_at": "2026-04-23T17:18:27Z", "evidence": {"comment_commit_id": "a18eb334fe419efccceda86e11d6333c3dd05edf", "comment_created_at": "2026-04-23T17:48:28Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["6f87f60245ec66615a6b287daa73520f58e2eb1d", "a18eb334fe419efccceda86e11d6333c3dd05edf"], "review_comment_id": 3132717456}, "generated_at": "2026-04-29T09:03:13+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-23T18:17:13Z", "pr": 45610, "pr_url": "https://github.com/huggingface/transformers/pull/45610"}, "query": {"diff_hunk_context": "@@ -600,9 +617,9 @@ def __init__(\n self.block_size = block_size\n self.hidden_dim = config.hidden_size\n self.activation_scheme = activation_scheme", "given_file": "src/transformers/integrations/finegrained_fp8.py", "line": 612, "path": "src/transformers/integrations/finegrained_fp8.py", "pr_title": "Fix configuration reading and error handling for kernels", "review_comment": "We could use `hasarttr` but it's not very nice to read. \n\nvLLM has a very similar utility called `getattr_iter` for checking multiple names in configs."}, "repo": "huggingface/transformers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "a553395766001116a719c82870171f8d6b458c98", "candidate_corpus": {"base_commit": "a553395766001116a719c82870171f8d6b458c98", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "7afee8682d1ecfc1fb3e7fcbe09be6593a0f648f", "given_files": ["src/transformers/integrations/integration_utils.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "same_module_context", "explicit_behavior_or_api_dependency"], "path": "src/transformers/training_args.py"}], "negative_distractors": ["src/transformers/training_args.py"], "related_tests": [], "root_cause_files": ["src/transformers/training_args.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "2f529c8b32595d33260201df", "metadata": {"confidence": "weak", "created_at": "2026-04-08T22:36:08Z", "evidence": {"comment_commit_id": "24e6ebc15d5d6353f5838c04d5e6938bf28356ab", "comment_created_at": "2026-04-09T12:23:39Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["737f9e2da069e2123cf40e4a8896608a2f581be7", "734113222cecc9872abcbda8f9351caa8d52db6b", "acec351275c36dae1d9f59556055a267b3d6eb47", "7904a3f15e71b19e72d471a5ce266e17ad5fb577", "dcca3820a44f39ab178fb58f30dcb424ff302a8c", "442efd0e847c415251a6df1d0808eb4925242126", "b6caba643dbf04d8b3048a2b34c50f83f1c7d141", "48a04e3bb77d878548a1db260e5afe272f7eb4c8"], "response_commit": "737f9e2da069e2123cf40e4a8896608a2f581be7", "review_comment_id": 3057761335}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-04-13T14:30:25Z", "pr": 45329, "pr_url": "https://github.com/huggingface/transformers/pull/45329"}, "query": {"diff_hunk_context": "@@ -989,13 +1016,86 @@ def setup(self, args, state, model, **kwargs):\n logger.info(\"Could not log the number of model parameters in Trackio due to an AttributeError.\")\n self._initialized = True\n \n def on_train_begin(self, args, state, control, model=None, **kwargs):\n if not self._initialized:\n self.setup(args, state, model, **kwargs)\n \n def on_train_end(self, args: TrainingArguments, state, control, model=None, processing_class=None, **kwargs):", "given_file": "src/transformers/integrations/integration_utils.py", "line": 1084, "path": "src/transformers/integrations/integration_utils.py", "pr_title": "Update `trackio` integration to use Buckets and \"freeze\" Space after training", "review_comment": "from the code in _resolve_trackio_space_id, it feels like gradio_space_id is never None no or `SQLiteStorage.get_space_id(args.project) can return None` ? Also maybe we can rename a bit the method to call it `get_trackio_space_id` maybe ?"}, "repo": "huggingface/transformers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "7028c30b6df3369f984469a089d26037e4ce3c1b", "candidate_corpus": {"base_commit": "7028c30b6df3369f984469a089d26037e4ce3c1b", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "4d6e51b325c20300aef719541c5a554fc5eebfdd", "given_files": ["src/transformers/tokenization_utils_tokenizers.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "same_module_context", "behavior_test_for_reviewed_change", "explicit_behavior_or_api_dependency"], "path": "tests/models/auto/test_tokenization_auto.py"}], "negative_distractors": ["tests/models/auto/test_tokenization_auto.py"], "related_tests": ["tests/models/auto/test_tokenization_auto.py"], "root_cause_files": ["tests/models/auto/test_tokenization_auto.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "335597eedde48b67ef1eace6", "metadata": {"confidence": "weak", "created_at": "2026-04-14T19:28:34Z", "evidence": {"comment_commit_id": "19674aeb226fdab4338334f832cddb2d904c702d", "comment_created_at": "2026-04-15T10:00:13Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["63cb6d97babffbe956137d3806113ed6cf182c3b", "1799d1cfdec6f0da09e4a0d2ff56d5c33c7177ac", "7ba03b6df2d73399666e89d0f776626f3c2a0c05"], "response_commit": "63cb6d97babffbe956137d3806113ed6cf182c3b", "review_comment_id": 3085603841}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-04-16T12:19:44Z", "pr": 45444, "pr_url": "https://github.com/huggingface/transformers/pull/45444"}, "query": {"diff_hunk_context": "@@ -1324,21 +1324,15 @@ def is_base_mistral(model_id: str) -> bool:\n # Detect if we can skip the mistral fix by\n # a) having a non-mistral tokenizer\n # b) fixed version of transformers", "given_file": "src/transformers/tokenization_utils_tokenizers.py", "line": 1335, "path": "src/transformers/tokenization_utils_tokenizers.py", "pr_title": "[`fix`] Always early return for non-Mistral models in _patch_mistral_regex", "review_comment": "Can repro now, but isn't this a case where the versioning boundaries were wrong? Version `4.57.3` was missing in between; the last comparison should be `version.parse(transformers_version) > version.parse(\"4.57.2\")` instead.\n\nThis current version assumes model type to exist which can also fail (None). And honestly, I don't want to accept a case where the version is None - that should indicate that we should still check --> maybe add a warning in that case for more user information."}, "repo": "huggingface/transformers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "9f4f217153d1d289d17f267eaed65980aa0b1a9d", "candidate_corpus": {"base_commit": "9f4f217153d1d289d17f267eaed65980aa0b1a9d", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "ad0c0f9a83e32ea3a029a154b3afbf66ed776f75", "given_files": ["tests/test_modeling_common.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change", "explicit_behavior_or_api_dependency"], "path": "src/transformers/conversion_mapping.py"}], "negative_distractors": ["src/transformers/conversion_mapping.py", "src/transformers/core_model_loading.py", "tests/models/altclip/test_modeling_altclip.py", "tests/utils/test_core_model_loading.py"], "related_tests": ["tests/models/altclip/test_modeling_altclip.py", "tests/test_modeling_common.py", "tests/utils/test_core_model_loading.py"], "root_cause_files": ["src/transformers/conversion_mapping.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "3e57030fb6c9956e0c83cd5f", "metadata": {"confidence": "weak", "created_at": "2026-04-15T08:06:53Z", "evidence": {"comment_commit_id": "94eaeb043a5b1c85fd3e30471edccf86483a77db", "comment_created_at": "2026-04-16T09:07:04Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["f8d2dffce657fe996363e7e50a2622538ffe6c58", "c2a1b6d3e59bdcb264422a541f9c64939f5cdcd5", "fd1d8e74ba8f9a610a3fafd4e47c801570893d9b", "a19ad84d58e0f7cec20c5218659b13a8af75334e", "f168035b1f00a46411bc8f7368ac98cc021536ca"], "response_commit": "f8d2dffce657fe996363e7e50a2622538ffe6c58", "review_comment_id": 3092027234}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-04-20T07:17:25Z", "pr": 45448, "pr_url": "https://github.com/huggingface/transformers/pull/45448"}, "query": {"diff_hunk_context": "@@ -4783,6 +4783,11 @@ def test_reverse_loading_mapping(self, check_keys_were_modified=True, skip_base_\n conversions = get_model_conversion_mapping(model, add_legacy=False)\n if len(conversions) == 0:\n self.skipTest(f\"No conversion found for {model_class}\")", "given_file": "tests/test_modeling_common.py", "line": 4779, "path": "tests/test_modeling_common.py", "pr_title": "[loading] Clean way to add/remove full parts in checkpoint names", "review_comment": "same q as in `save dummy model test`, are we sure this works when model without prefix is saved and loaded back?"}, "repo": "huggingface/transformers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "a553395766001116a719c82870171f8d6b458c98", "candidate_corpus": {"base_commit": "a553395766001116a719c82870171f8d6b458c98", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "20b6f538c18ba72be61140e1377c3fca1a3cddca", "given_files": ["src/transformers/trainer.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "same_module_context", "behavior_test_for_reviewed_change"], "path": "tests/trainer/test_trainer.py"}], "negative_distractors": ["tests/trainer/test_trainer.py"], "related_tests": ["tests/trainer/test_trainer.py"], "root_cause_files": ["tests/trainer/test_trainer.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "70637f29f6cbc720fd50d434", "metadata": {"confidence": "weak", "created_at": "2026-04-09T17:24:39Z", "evidence": {"comment_commit_id": "ad1e1b4ff723f5dce6019f354640e54bac92e0b8", "comment_created_at": "2026-04-10T13:07:18Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["ad1e1b4ff723f5dce6019f354640e54bac92e0b8", "57c20035b4db057d0d774eefcfd02a3aa6b7c1dd", "c78191cce30fac81302dc019da3301b080b8afa5", "ae4398b7b139e582317e2e1b01de57b53af62f1a", "6e149e45c717496b5d0b0c81232ca111fe2fcd0f", "7888c50c5e56fa18cd1fc763a5f798f515469594"], "response_commit": "ad1e1b4ff723f5dce6019f354640e54bac92e0b8", "review_comment_id": 3064436869}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-04-13T14:32:24Z", "pr": 45349, "pr_url": "https://github.com/huggingface/transformers/pull/45349"}, "query": {"diff_hunk_context": "@@ -765,7 +765,8 @@ def create_accelerator_and_postprocess(self) -> None:\n else:\n self.args.gradient_accumulation_steps = grad_acc_kwargs[\"num_steps\"]\n else:", "given_file": "src/transformers/trainer.py", "line": 769, "path": "src/transformers/trainer.py", "pr_title": "Fix #45305 + add regression test GAS", "review_comment": "I meant in the issue that this should always be the case. We don't even need the else here."}, "repo": "huggingface/transformers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "57f9936a2619d2f2d4af89bde34d5eb611c2b728", "candidate_corpus": {"base_commit": "57f9936a2619d2f2d4af89bde34d5eb611c2b728", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "91904ac328ca00f10cf3b118582100ef2b78d519", "given_files": ["src/transformers/integrations/finegrained_fp8.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "same_pr_post_comment_patch", "implementation_context_for_reviewed_change"], "path": "src/transformers/conversion_mapping.py"}], "negative_distractors": ["src/transformers/conversion_mapping.py"], "related_tests": [], "root_cause_files": ["src/transformers/conversion_mapping.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "9aa10bc61432e4ebe7b7a30f", "metadata": {"confidence": "weak", "created_at": "2026-04-23T17:18:27Z", "evidence": {"comment_commit_id": "4f0d12f960b44451d7489caf9267bfe70226466a", "comment_created_at": "2026-04-23T17:35:51Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["6f87f60245ec66615a6b287daa73520f58e2eb1d", "a18eb334fe419efccceda86e11d6333c3dd05edf"], "review_comment_id": 3132638052}, "generated_at": "2026-04-29T07:54:14+00:00", "hardmine_source": "data/derived_v0_2/comment2context.jsonl", "merged_at": "2026-04-23T18:17:13Z", "pr": 45610, "pr_url": "https://github.com/huggingface/transformers/pull/45610"}, "query": {"diff_hunk_context": "@@ -73,6 +80,11 @@ def _load_triton_kernel():\n _triton_available = False # mark attempted before any early exit\n \n kernel = lazy_load_kernel(\"finegrained-fp8\")", "given_file": "src/transformers/integrations/finegrained_fp8.py", "line": 87, "path": "src/transformers/integrations/finegrained_fp8.py", "pr_title": "Fix configuration reading and error handling for kernels", "review_comment": "We never get to that error because if kernels is not installed then `kernel` is `None` and `getattr(None, some_kernel)` fails with an unhelpful error"}, "repo": "huggingface/transformers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "a553395766001116a719c82870171f8d6b458c98", "candidate_corpus": {"base_commit": "a553395766001116a719c82870171f8d6b458c98", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "7afee8682d1ecfc1fb3e7fcbe09be6593a0f648f", "given_files": ["src/transformers/integrations/integration_utils.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "same_module_context", "explicit_behavior_or_api_dependency"], "path": "src/transformers/training_args.py"}], "negative_distractors": ["src/transformers/training_args.py"], "related_tests": [], "root_cause_files": ["src/transformers/training_args.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "9c3a21b87845b6155070778a", "metadata": {"confidence": "weak", "created_at": "2026-04-08T22:36:08Z", "evidence": {"comment_commit_id": "dcca3820a44f39ab178fb58f30dcb424ff302a8c", "comment_created_at": "2026-04-09T12:30:37Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["737f9e2da069e2123cf40e4a8896608a2f581be7", "734113222cecc9872abcbda8f9351caa8d52db6b", "acec351275c36dae1d9f59556055a267b3d6eb47", "7904a3f15e71b19e72d471a5ce266e17ad5fb577", "dcca3820a44f39ab178fb58f30dcb424ff302a8c", "442efd0e847c415251a6df1d0808eb4925242126", "b6caba643dbf04d8b3048a2b34c50f83f1c7d141", "48a04e3bb77d878548a1db260e5afe272f7eb4c8"], "response_commit": "737f9e2da069e2123cf40e4a8896608a2f581be7", "review_comment_id": 3057799659}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-04-13T14:30:25Z", "pr": 45329, "pr_url": "https://github.com/huggingface/transformers/pull/45329"}, "query": {"diff_hunk_context": "@@ -1041,13 +1141,22 @@ def on_push_begin(self, args, state, control, model, **kwargs):\n \n space_id = self._trackio.context_vars.current_space_id.get()\n if space_id is None:", "given_file": "src/transformers/integrations/integration_utils.py", "line": 1156, "path": "src/transformers/integrations/integration_utils.py", "pr_title": "Update `trackio` integration to use Buckets and \"freeze\" Space after training", "review_comment": "maybe we can have a seperate method to get this space_id ? it will be more clearer. Not sure how this relates to _resolve_trackio_space_id above"}, "repo": "huggingface/transformers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "57f9936a2619d2f2d4af89bde34d5eb611c2b728", "candidate_corpus": {"base_commit": "57f9936a2619d2f2d4af89bde34d5eb611c2b728", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "91904ac328ca00f10cf3b118582100ef2b78d519", "given_files": ["src/transformers/conversion_mapping.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "src/transformers/integrations/finegrained_fp8.py"}], "negative_distractors": ["src/transformers/integrations/finegrained_fp8.py"], "related_tests": [], "root_cause_files": ["src/transformers/integrations/finegrained_fp8.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "a4b5977e7992227a6ad72eef", "metadata": {"confidence": "weak", "created_at": "2026-04-23T17:18:27Z", "evidence": {"comment_commit_id": "4f0d12f960b44451d7489caf9267bfe70226466a", "comment_created_at": "2026-04-23T17:25:29Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["6f87f60245ec66615a6b287daa73520f58e2eb1d", "a18eb334fe419efccceda86e11d6333c3dd05edf"], "review_comment_id": 3132565338}, "generated_at": "2026-04-29T09:03:13+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-04-23T18:17:13Z", "pr": 45610, "pr_url": "https://github.com/huggingface/transformers/pull/45610"}, "query": {"diff_hunk_context": "@@ -192,6 +191,22 @@ def _build_checkpoint_conversion_mapping():\n WeightRenaming(\"attention_layer_norm\", \"input_layernorm\"),\n WeightRenaming(\"feedforward_layer_norm\", \"post_attention_layernorm\"),\n ],", "given_file": "src/transformers/conversion_mapping.py", "line": 194, "path": "src/transformers/conversion_mapping.py", "pr_title": "Fix configuration reading and error handling for kernels", "review_comment": "Can we instead make this copy from qwen 3.5 text and qwen2 moe"}, "repo": "huggingface/transformers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "9f4f217153d1d289d17f267eaed65980aa0b1a9d", "candidate_corpus": {"base_commit": "9f4f217153d1d289d17f267eaed65980aa0b1a9d", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "ad0c0f9a83e32ea3a029a154b3afbf66ed776f75", "given_files": ["tests/utils/test_core_model_loading.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change", "explicit_behavior_or_api_dependency"], "path": "src/transformers/conversion_mapping.py"}], "negative_distractors": ["src/transformers/conversion_mapping.py", "src/transformers/core_model_loading.py", "tests/models/altclip/test_modeling_altclip.py", "tests/test_modeling_common.py"], "related_tests": ["tests/models/altclip/test_modeling_altclip.py", "tests/test_modeling_common.py", "tests/utils/test_core_model_loading.py"], "root_cause_files": ["src/transformers/conversion_mapping.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "ae6d94b39684787186aca455", "metadata": {"confidence": "weak", "created_at": "2026-04-15T08:06:53Z", "evidence": {"comment_commit_id": "94eaeb043a5b1c85fd3e30471edccf86483a77db", "comment_created_at": "2026-04-16T09:03:57Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["f8d2dffce657fe996363e7e50a2622538ffe6c58", "c2a1b6d3e59bdcb264422a541f9c64939f5cdcd5", "fd1d8e74ba8f9a610a3fafd4e47c801570893d9b", "a19ad84d58e0f7cec20c5218659b13a8af75334e", "f168035b1f00a46411bc8f7368ac98cc021536ca"], "response_commit": "f8d2dffce657fe996363e7e50a2622538ffe6c58", "review_comment_id": 3092009789}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-04-20T07:17:25Z", "pr": 45448, "pr_url": "https://github.com/huggingface/transformers/pull/45448"}, "query": {"diff_hunk_context": "@@ -778,6 +781,245 @@ def test_register_checkpoint_conversion_mapping_overwrites(self):\n \n self.assertEqual(len(get_checkpoint_conversion_mapping(\"foobarbaz\")), 2)\n ", "given_file": "tests/utils/test_core_model_loading.py", "line": 841, "path": "tests/utils/test_core_model_loading.py", "pr_title": "[loading] Clean way to add/remove full parts in checkpoint names", "review_comment": "to be clear, let's take a llava example. User creates random llava arch, trains it and saves without `prefix`. Then if the model was loaded `from_pretrained`, we still match keys right?"}, "repo": "huggingface/transformers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "168c5b68975ba00492a442cb8afad48e85724c94", "candidate_corpus": {"base_commit": "168c5b68975ba00492a442cb8afad48e85724c94", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "fd45a42772a0ff0d7c02d4f00c714916df1175fd", "given_files": ["src/transformers/cli/serving/chat_completion.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "explicit_behavior_or_api_dependency"], "path": "tests/cli/test_serve.py"}, {"evidence": ["modified_after_review_comment", "same_module_context", "explicit_behavior_or_api_dependency"], "path": "src/transformers/cli/serving/response.py"}], "negative_distractors": ["docs/source/en/_redirects.yml", "docs/source/en/serve-cli/serving.md", "src/transformers/cli/serving/model_manager.py", "src/transformers/cli/serving/response.py", "src/transformers/cli/serving/utils.py", "tests/cli/test_serve.py"], "related_tests": ["tests/cli/test_serve.py"], "root_cause_files": ["tests/cli/test_serve.py", "src/transformers/cli/serving/response.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "ae7f8cc63000716014d4311a", "metadata": {"confidence": "weak", "created_at": "2026-04-03T14:16:33Z", "evidence": {"comment_commit_id": "12a94a3edc843971c6d5077551f4a613245f72be", "comment_created_at": "2026-04-03T15:02:07Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["431a307713121b3f1aa45b48e748bc322d3f86c4", "85221db3ae632015a5fbfdb592b6200d48433d31", "3d489b628ed23d7bc65e7808eb69a922fa8fdf89", "a9e52366abeb73b227bf1316d65f55a9e985d916"], "response_commit": "431a307713121b3f1aa45b48e748bc322d3f86c4", "review_comment_id": 3033203292}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-04-15T14:13:01Z", "pr": 45220, "pr_url": "https://github.com/huggingface/transformers/pull/45220"}, "query": {"diff_hunk_context": "@@ -111,13 +112,19 @@ async def handle_request(self, body: dict, request_id: str) -> StreamingResponse\n gen_manager = self.generation_state.get_manager(model_id, use_cb=use_cb)\n processor_inputs = self.get_processor_inputs_from_messages(body[\"messages\"], modality)\n \n inputs = processor.apply_chat_template(\n processor_inputs,\n add_generation_prompt=True,\n tools=body.get(\"tools\"),\n return_tensors=None if use_cb else \"pt\",\n return_dict=True,\n tokenize=True,", "given_file": "src/transformers/cli/serving/chat_completion.py", "line": 133, "path": "src/transformers/cli/serving/chat_completion.py", "pr_title": "Multimodal serve support", "review_comment": "managed to use it but `torchcodec` is required for that. Otherwise, it fails back to the other lib and it fails. Also `torchcodec` + `ffmpeg` was a bit of a pain to install correctly. \nAlso, we should maybe should force the user to install `torchcodec` when using this no cc @eustlb ?"}, "repo": "huggingface/transformers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "5c1c72be5f864d10d0efe8ece0768d9ed6ee4fdd", "candidate_corpus": {"base_commit": "5c1c72be5f864d10d0efe8ece0768d9ed6ee4fdd", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "5c31e940e3470ab92b8083dfa797200f67793d30", "given_files": ["tests/models/higgs_audio_v2/test_modeling_higgs_audio_v2.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "same_module_context", "implementation_context_for_reviewed_change", "explicit_behavior_or_api_dependency"], "path": "src/transformers/models/higgs_audio_v2/generation_higgs_audio_v2.py"}], "negative_distractors": ["src/transformers/models/higgs_audio_v2/generation_higgs_audio_v2.py"], "related_tests": ["tests/models/higgs_audio_v2/test_modeling_higgs_audio_v2.py"], "root_cause_files": ["src/transformers/models/higgs_audio_v2/generation_higgs_audio_v2.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "ca350356d5541468f6a69cab", "metadata": {"confidence": "weak", "created_at": "2026-02-28T03:20:47Z", "evidence": {"comment_commit_id": "6537da1738f6c7132092fe9e6eef0280f4f0220b", "comment_created_at": "2026-03-02T12:00:38Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["ff2ce59ee7a2c9fa7b371a620da526dbe59f7deb", "6537da1738f6c7132092fe9e6eef0280f4f0220b", "84eb30e73046c00f0c950a0bf92a26f5e385d7c1", "3d3a556372535be983055a7528106db05815af9f", "3121539ec52c052916978421759c4bdbdb9ca7a6"], "response_commit": "6537da1738f6c7132092fe9e6eef0280f4f0220b", "review_comment_id": 2872052903}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-03-05T11:08:08Z", "pr": 44350, "pr_url": "https://github.com/huggingface/transformers/pull/44350"}, "query": {"diff_hunk_context": "@@ -270,6 +270,12 @@ def test_resize_tokens_embeddings(self):\n def test_tied_weights_keys(self):\n pass\n ", "given_file": "tests/models/higgs_audio_v2/test_modeling_higgs_audio_v2.py", "line": 290, "path": "tests/models/higgs_audio_v2/test_modeling_higgs_audio_v2.py", "pr_title": "skip 1 invalid test case for higgs_audio_v2", "review_comment": "Wouldn't the other FA tests also fail if that were the case? Just not sure about the reasoning here"}, "repo": "huggingface/transformers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "74a2a4d0c790788a3b65b975510577f8dc6e81d5", "candidate_corpus": {"base_commit": "74a2a4d0c790788a3b65b975510577f8dc6e81d5", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "03238980c9f197c407c4d1f205bf7b702f6fefd4", "given_files": ["tests/quantization/torchao_integration/test_torchao.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "same_module_context", "implementation_context_for_reviewed_change"], "path": "src/transformers/quantizers/quantizer_torchao.py"}], "negative_distractors": ["src/transformers/quantizers/quantizer_torchao.py"], "related_tests": ["tests/quantization/torchao_integration/test_torchao.py"], "root_cause_files": ["src/transformers/quantizers/quantizer_torchao.py"], "root_cause_symbols": [], "supporting_files": []}, "id": "f97f273b25078d4a0dd01c00", "metadata": {"confidence": "weak", "created_at": "2026-04-22T10:50:42Z", "evidence": {"comment_commit_id": "c0892f065edaa128b98dead3898b7320f4ceafe6", "comment_created_at": "2026-04-22T12:42:24Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["4b8ceaa1572198afbb13cba1f7ed4e91aaddfc32", "068a3d9be73ae60c4593e39afaa9f641c5598f5d"], "response_commit": "4b8ceaa1572198afbb13cba1f7ed4e91aaddfc32", "review_comment_id": 3124002836}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-04-23T12:41:24Z", "pr": 45573, "pr_url": "https://github.com/huggingface/transformers/pull/45573"}, "query": {"diff_hunk_context": "@@ -53,6 +53,13 @@\n PerAxis,\n )\n ", "given_file": "tests/quantization/torchao_integration/test_torchao.py", "line": 59, "path": "tests/quantization/torchao_integration/test_torchao.py", "pr_title": "fix transformers + torchao nvfp4 serialization", "review_comment": "We are always using the latest version of torchao in our tests so maybe it is fine to not do the try except ?"}, "repo": "huggingface/transformers", "task_type": "comment2context", "version": 2} |
| {"base_commit": "8ecf49ec2807768105b05dda5461b28cdad89d03", "candidate_corpus": {"base_commit": "8ecf49ec2807768105b05dda5461b28cdad89d03", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "90465694d3501267decade1ac0be988999940957", "given_files": ["testing/test_warnings.py"], "must_context_files": [{"evidence": ["modified_after_review_comment", "explicit_behavior_or_api_dependency"], "path": "src/_pytest/config/__init__.py"}, {"evidence": ["modified_after_review_comment", "explicit_behavior_or_api_dependency"], "path": "src/_pytest/main.py"}], "negative_distractors": ["AUTHORS", "changelog/14371.feature.rst", "doc/en/how-to/capture-warnings.rst", "doc/en/reference/exit-codes.rst", "doc/en/reference/reference.rst", "src/_pytest/config/__init__.py", "src/_pytest/main.py", "src/_pytest/terminal.py"], "related_tests": [], "root_cause_files": ["src/_pytest/config/__init__.py", "src/_pytest/main.py"], "root_cause_symbols": [], "supporting_files": ["AUTHORS", "doc/en/how-to/capture-warnings.rst", "doc/en/reference/exit-codes.rst", "doc/en/reference/reference.rst", "src/_pytest/terminal.py"]}, "id": "a5ef6228e76da22ccdcf6687", "metadata": {"confidence": "weak", "created_at": "2026-04-08T23:22:17Z", "evidence": {"comment_commit_id": "38d2b0fe28babd690abcdf2371bd1a8551a7f0b7", "comment_created_at": "2026-04-11T12:43:43Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["162c0c436a0650b46d68559ea79a5a307a282dbf", "60e336cbd8f06c5279f2a099a12d3a0671a5fe84", "efb27c99d9ca91e78da2973a40d8ce7aff351de6", "06ac3d5d01179fcec63a55cad2fb1ecf6217b288", "72e2e77dee808800430af43b522aa3eab21b9414", "38d2b0fe28babd690abcdf2371bd1a8551a7f0b7"], "response_commit": "162c0c436a0650b46d68559ea79a5a307a282dbf", "review_comment_id": 3068009726}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-04-16T11:59:32Z", "pr": 14372, "pr_url": "https://github.com/pytest-dev/pytest/pull/14372"}, "query": {"diff_hunk_context": "@@ -885,3 +886,87 @@ def test_resource_warning(tmp_path):\n else []\n )\n result.stdout.fnmatch_lines([*expected_extra, \"*1 passed*\"])", "given_file": "testing/test_warnings.py", "line": 891, "path": "testing/test_warnings.py", "pr_title": "Add `--max-warnings` option to fail test runs", "review_comment": "Could you please also add some tests with configurations that filter warnings, together with the new --max-warnings option? This will capture the current behavior and ensure we do not regress in the future."}, "repo": "pytest-dev/pytest", "task_type": "comment2context", "version": 2} |
| {"base_commit": "8f6d0864c3158546c343e3fa34872ed584d46fd4", "candidate_corpus": {"base_commit": "8f6d0864c3158546c343e3fa34872ed584d46fd4", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "9dc9b53ae164cdba6f14146cfe32d16fcdc562a0", "given_files": ["tokio/src/io/util/write_buf.rs"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "same_module_context", "behavior_test_for_reviewed_change"], "path": "tokio/tests/io_write_buf.rs"}], "negative_distractors": ["tokio/tests/io_write_buf.rs"], "related_tests": ["tokio/tests/io_write_buf.rs"], "root_cause_files": ["tokio/tests/io_write_buf.rs"], "root_cause_symbols": [], "supporting_files": []}, "id": "224dd1f1e8aaa1653bb1fbec", "metadata": {"confidence": "weak", "created_at": "2026-01-26T12:06:30Z", "evidence": {"comment_commit_id": "edbf977bebf3d85cc5a2fe4f7f7196d0d821eace", "comment_created_at": "2026-01-28T09:16:04Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["edbf977bebf3d85cc5a2fe4f7f7196d0d821eace"], "response_commit": "edbf977bebf3d85cc5a2fe4f7f7196d0d821eace", "review_comment_id": 2735621769}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-01-30T18:52:57Z", "pr": 7871, "pr_url": "https://github.com/tokio-rs/tokio/pull/7871"}, "query": {"diff_hunk_context": "@@ -42,13 +42,22 @@ where\n type Output = io::Result<usize>;\n \n fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<usize>> {\n let me = self.project();\n \n if !me.buf.has_remaining() {\n return Poll::Ready(Ok(0));\n }\n ", "given_file": "tokio/src/io/util/write_buf.rs", "line": 53, "path": "tokio/src/io/util/write_buf.rs", "pr_title": "Implement vectored writes for `write_buf`", "review_comment": "I have a project in which I checked if `Buf::chunk().len()` < `Buf::remaining()` before using vectored writes and it resulted into a small performance boost. Could be useful here too."}, "repo": "tokio-rs/tokio", "task_type": "comment2context", "version": 2} |
| {"base_commit": "5efb1c3b16496f51f2ec959b68a1b97efd7ee234", "candidate_corpus": {"base_commit": "5efb1c3b16496f51f2ec959b68a1b97efd7ee234", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "5a709e391bdab3cf8bab9fe65d75fa2b92f4e0db", "given_files": ["tokio/src/runtime/driver/op.rs"], "must_context_files": [{"evidence": ["modified_after_review_comment", "same_module_context", "explicit_behavior_or_api_dependency"], "path": "tokio/src/fs/write.rs"}, {"evidence": ["modified_after_review_comment", "same_module_context", "explicit_behavior_or_api_dependency"], "path": "tokio/src/io/uring/open.rs"}], "negative_distractors": ["tokio/src/fs/write.rs", "tokio/src/io/uring/open.rs", "tokio/src/io/uring/write.rs"], "related_tests": [], "root_cause_files": ["tokio/src/fs/write.rs", "tokio/src/io/uring/open.rs"], "root_cause_symbols": [], "supporting_files": ["tokio/src/io/uring/write.rs"]}, "id": "2c17bde16c7e1549944e6a1f", "metadata": {"confidence": "weak", "created_at": "2025-10-22T21:12:17Z", "evidence": {"comment_commit_id": "75d29abfe2e7c8e741f9c6dc004026aa7808fbb7", "comment_created_at": "2025-10-23T07:29:42Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["ac6b6823046a99b2b03bdf095e327839abd1170d", "512a7159cdb1a51930a675025d785d86f3bc86e9", "67612d2a11d7c788d9e2fa3a29cba491df112999", "0af24f557e08bdb7f21fcc3669f18c258bafcb5a"], "response_commit": "ac6b6823046a99b2b03bdf095e327839abd1170d", "review_comment_id": 2454189067}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2025-10-24T20:17:17Z", "pr": 7702, "pr_url": "https://github.com/tokio-rs/tokio/pull/7702"}, "query": {"diff_hunk_context": "@@ -133,8 +133,12 @@ impl<T: Cancellable + Completable + Send> Future for Op<T> {\n let entry = entry_opt.take().expect(\"Entry must be present\");\n let waker = cx.waker().clone();\n // SAFETY: entry is valid for the entire duration of the operation", "given_file": "tokio/src/runtime/driver/op.rs", "line": 155, "path": "tokio/src/runtime/driver/op.rs", "pr_title": "io-uring: Change `Completable` to not return io::Result", "review_comment": "When `register_op` returns an error, we should fail."}, "repo": "tokio-rs/tokio", "task_type": "comment2context", "version": 2} |
| {"base_commit": "2137f7d953df2c65ad254aba41e7e403905dda91", "candidate_corpus": {"base_commit": "2137f7d953df2c65ad254aba41e7e403905dda91", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "d060401f6c7dca4a20674e3ad63ad7f1b228aa31", "given_files": ["tokio/tests/sync_mpsc.rs"], "must_context_files": [{"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change", "explicit_behavior_or_api_dependency"], "path": "tokio/src/sync/mpsc/chan.rs"}], "negative_distractors": ["tokio/src/sync/mpsc/chan.rs", "tokio/src/sync/mpsc/list.rs"], "related_tests": ["tokio/tests/sync_mpsc.rs"], "root_cause_files": ["tokio/src/sync/mpsc/chan.rs"], "root_cause_symbols": [], "supporting_files": []}, "id": "35154a761b37d4f5767d1cfa", "metadata": {"confidence": "weak", "created_at": "2025-10-15T13:46:02Z", "evidence": {"comment_commit_id": "8212c428d09f125e2d2c42583bee374beb5dc14d", "comment_created_at": "2025-10-15T14:22:23Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["fa5b8bf0b8686fa3e1afbcf68dd9cb1dce19e875", "e4347422b990294fbfe7e3e562121094c7eec776", "8212c428d09f125e2d2c42583bee374beb5dc14d"], "response_commit": "fa5b8bf0b8686fa3e1afbcf68dd9cb1dce19e875", "review_comment_id": 2432768603}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2025-10-18T10:57:07Z", "pr": 7686, "pr_url": "https://github.com/tokio-rs/tokio/pull/7686"}, "query": {"diff_hunk_context": "", "given_file": "tokio/tests/sync_mpsc.rs", "line": 1, "path": "tokio/tests/sync_mpsc.rs", "pr_title": "sync: return `TryRecvError::Disconnected` from `Receiver::try_recv` after `Receiver::close`", "review_comment": "Please also test the `drop(tx)` case."}, "repo": "tokio-rs/tokio", "task_type": "comment2context", "version": 2} |
| {"base_commit": "ee04abe7970b769439e2fecd4b1dd8790e4234e1", "candidate_corpus": {"base_commit": "ee04abe7970b769439e2fecd4b1dd8790e4234e1", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "2db0070eb8ab1c543f5dc93b3392645d00ce43cc", "given_files": ["tokio-stream/src/stream_ext/collect.rs"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "same_module_context", "behavior_test_for_reviewed_change", "review_requests_tests", "explicit_behavior_or_api_dependency"], "path": "tokio-stream/tests/stream_collect.rs"}], "negative_distractors": ["tokio-stream/tests/stream_collect.rs"], "related_tests": ["tokio-stream/tests/stream_collect.rs"], "root_cause_files": ["tokio-stream/tests/stream_collect.rs"], "root_cause_symbols": [], "supporting_files": []}, "id": "660e1d8e595766b0b1d334ee", "metadata": {"confidence": "weak", "created_at": "2026-03-11T18:19:01Z", "evidence": {"comment_commit_id": "38d700c1b2b95609c0eddb90922f3f943d20d7b2", "comment_created_at": "2026-03-12T08:54:14Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["b2b4401275f1114604d0b01daea8e0b17cc05364", "38d700c1b2b95609c0eddb90922f3f943d20d7b2"], "response_commit": "b2b4401275f1114604d0b01daea8e0b17cc05364", "review_comment_id": 2923161149}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-03-16T15:00:49Z", "pr": 7966, "pr_url": "https://github.com/tokio-rs/tokio/pull/7966"}, "query": {"diff_hunk_context": "@@ -136,6 +137,44 @@ impl<T> sealed::FromStreamPriv<T> for Vec<T> {\n }\n }\n ", "given_file": "tokio-stream/src/stream_ext/collect.rs", "line": 171, "path": "tokio-stream/src/stream_ext/collect.rs", "pr_title": "impl `FromStream` for `std::collections::*`", "review_comment": "For ordered collections, can you add a test that they appear in the same order as when using normal `Iterator::collect`?"}, "repo": "tokio-rs/tokio", "task_type": "comment2context", "version": 2} |
| {"base_commit": "0a3e3862697d902cffd729506cb28f6007c204d1", "candidate_corpus": {"base_commit": "0a3e3862697d902cffd729506cb28f6007c204d1", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "c0943f99f091bbcc57a93c4533de2e75a9227f90", "given_files": ["tokio/src/runtime/mod.rs"], "must_context_files": [{"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/runtime/handle.rs"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/runtime/runtime.rs"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/task/spawn.rs"}], "negative_distractors": ["tokio/src/runtime/handle.rs", "tokio/src/runtime/runtime.rs", "tokio/src/task/spawn.rs"], "related_tests": [], "root_cause_files": ["tokio/src/runtime/handle.rs", "tokio/src/runtime/runtime.rs", "tokio/src/task/spawn.rs"], "root_cause_symbols": [], "supporting_files": []}, "id": "9212befbd9ac5a4308438522", "metadata": {"confidence": "weak", "created_at": "2025-12-29T03:41:05Z", "evidence": {"comment_commit_id": "2c80c10ae1cb21056c9b4deccf6545cfe2396576", "comment_created_at": "2026-01-03T12:48:30Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["66496ef7c311815e90ed6ec3f6d8333ac3f2991e", "cefed98dcecd979e99d49bb53d230ebb13e3ebf0", "531b49221b3f418cb07d11aa60a08fb3aacb6b91", "ab1bf797bcf7384bc305836dd78bc800cd71a8f4", "a705a4742a988483b19e5aadd05a185777168ba3", "9a27185804ae0add2b7ce902b8177e842b4cee57", "37f51a18dc949fdfc4c942b2b8f08a3407019c6e"], "review_comment_id": 2658906359}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-02-04T10:27:46Z", "pr": 7803, "pr_url": "https://github.com/tokio-rs/tokio/pull/7803"}, "query": {"diff_hunk_context": "@@ -205,6 +205,17 @@\n //! This is done with [`Builder::enable_io`] and [`Builder::enable_time`]. As a\n //! shorthand, [`Builder::enable_all`] enables both resource drivers.\n //!", "given_file": "tokio/src/runtime/mod.rs", "line": 208, "path": "tokio/src/runtime/mod.rs", "pr_title": "rt: clarify the documentation of `Runtime::spawn`", "review_comment": "You placed this under \"Runtime Configurations\", but it's not a way you can configure the runtime. Please make it into its own section.\n\nAlso, a different section name such as \"Driving the runtime\" would make more sense to me."}, "repo": "tokio-rs/tokio", "task_type": "comment2context", "version": 2} |
| {"base_commit": "9f132172dbb00b1f6b6bda64bb9b194382079499", "candidate_corpus": {"base_commit": "9f132172dbb00b1f6b6bda64bb9b194382079499", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "b4c3246d330379430937bdbb5e1b0c37282ae23e", "given_files": ["tokio/src/macros/try_join.rs"], "must_context_files": [{"evidence": ["modified_after_review_comment", "same_module_context", "explicit_behavior_or_api_dependency"], "path": "tokio/src/macros/select.rs"}, {"evidence": ["modified_after_review_comment", "same_module_context", "explicit_behavior_or_api_dependency"], "path": "tokio/src/macros/support.rs"}], "negative_distractors": ["tokio/src/macros/select.rs", "tokio/src/macros/support.rs", "tokio/src/macros/trace.rs"], "related_tests": [], "root_cause_files": ["tokio/src/macros/select.rs", "tokio/src/macros/support.rs"], "root_cause_symbols": [], "supporting_files": ["tokio/src/macros/trace.rs"]}, "id": "9473ef1be3ba59f1a4183a0d", "metadata": {"confidence": "weak", "created_at": "2026-03-31T10:03:46Z", "evidence": {"comment_commit_id": "c5922db240e457d4aee8aac373e0532ad4c1717c", "comment_created_at": "2026-03-31T10:06:00Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["53277b29b5de1dc44a173e7273cf50dde1d1e185"], "response_commit": "53277b29b5de1dc44a173e7273cf50dde1d1e185", "review_comment_id": 3014866802}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-04-02T09:46:58Z", "pr": 7997, "pr_url": "https://github.com/tokio-rs/tokio/pull/7997"}, "query": {"diff_hunk_context": "@@ -241,7 +241,7 @@ doc! {macro_rules! try_join {\n if is_pending {\n $crate::macros::support::Poll::Pending\n } else {", "given_file": "tokio/src/macros/try_join.rs", "line": 244, "path": "tokio/src/macros/try_join.rs", "pr_title": "macros: improve overall macro hygiene", "review_comment": "Can you re-export it from `$crate::macros::support` instead? That's more reliable than using `::std`."}, "repo": "tokio-rs/tokio", "task_type": "comment2context", "version": 2} |
| {"base_commit": "d3c7f56c10a43c220e6feb12c9796f36eaffda16", "candidate_corpus": {"base_commit": "d3c7f56c10a43c220e6feb12c9796f36eaffda16", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "26de3187e759e06c25432413643ea57d8a79503c", "given_files": ["tokio/tests/rt_worker_index.rs"], "must_context_files": [{"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/runtime/context.rs"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/runtime/mod.rs"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/runtime/scheduler/mod.rs"}], "negative_distractors": ["tokio/src/runtime/context.rs", "tokio/src/runtime/mod.rs", "tokio/src/runtime/scheduler/mod.rs", "tokio/src/runtime/scheduler/multi_thread/worker.rs"], "related_tests": ["tokio/tests/rt_worker_index.rs"], "root_cause_files": ["tokio/src/runtime/context.rs", "tokio/src/runtime/mod.rs", "tokio/src/runtime/scheduler/mod.rs"], "root_cause_symbols": [], "supporting_files": ["tokio/src/runtime/scheduler/multi_thread/worker.rs", "tokio/tests/rt_worker_id.rs", ".cirrus.yml", ".github/workflows/ci.yml", "README.md", "benches/Cargo.toml", "benches/remote_spawn.rs", "tokio-stream/src/stream_ext/collect.rs"]}, "id": "c2af1d6140c0b8b749bd1b77", "metadata": {"confidence": "weak", "created_at": "2026-02-19T20:35:19Z", "evidence": {"comment_commit_id": "4ed551873f8447ef582943c5e8b568aa391ea9c2", "comment_created_at": "2026-03-03T13:21:43Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["1ec776b3e2b63bb2e3e4c29b1b7cbea103f73864", "bb8700da5a65e2356a72109ddca737ccbd08c167", "a39a11675ff8f6beef95024713b28769eec1a085", "d7ff9c0e5cbc42411061f9aa10259691340d95fb", "4ed551873f8447ef582943c5e8b568aa391ea9c2"], "review_comment_id": 2878244478}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-03-15T05:44:41Z", "pr": 7921, "pr_url": "https://github.com/tokio-rs/tokio/pull/7921"}, "query": {"diff_hunk_context": "@@ -0,0 +1,94 @@", "given_file": "tokio/tests/rt_worker_index.rs", "line": 7, "path": "tokio/tests/rt_worker_index.rs", "pr_title": "runtime: add `worker_index()` getter", "review_comment": "Please also add a test for LocalRuntime."}, "repo": "tokio-rs/tokio", "task_type": "comment2context", "version": 2} |
| {"base_commit": "acfdb87e2b8b5daa8ffe31de53eaff0df3f04c50", "candidate_corpus": {"base_commit": "acfdb87e2b8b5daa8ffe31de53eaff0df3f04c50", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "b8318fa1723784cc7f777a900af74ada0ad0dbf7", "given_files": ["tokio/tests/task_join_set.rs"], "must_context_files": [{"evidence": ["modified_after_review_comment", "symbol_or_path_overlap", "same_module_context", "review_requests_tests"], "path": "tokio-util/tests/task_join_queue.rs"}], "negative_distractors": ["tokio-util/tests/task_join_map.rs", "tokio-util/tests/task_join_queue.rs", "tokio-util/tests/task_tracker.rs"], "related_tests": ["tokio-util/tests/task_join_map.rs", "tokio-util/tests/task_join_queue.rs", "tokio-util/tests/task_tracker.rs", "tokio/tests/task_join_set.rs"], "root_cause_files": ["tokio-util/tests/task_join_queue.rs"], "root_cause_symbols": [], "supporting_files": []}, "id": "c655532069b4365c45b87093", "metadata": {"confidence": "weak", "created_at": "2025-10-18T11:08:07Z", "evidence": {"comment_commit_id": "0d598e080cf4ea5c736ba43f2ffec3c087b3995e", "comment_created_at": "2025-10-19T19:30:09Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["6bbdd966f304dc7e240528da6cd3e2780c8b658e", "0d598e080cf4ea5c736ba43f2ffec3c087b3995e"], "response_commit": "6bbdd966f304dc7e240528da6cd3e2780c8b658e", "review_comment_id": 2443455927}, "generated_at": "2026-04-29T11:57:34+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2025-10-20T12:25:00Z", "pr": 7694, "pr_url": "https://github.com/tokio-rs/tokio/pull/7694"}, "query": {"diff_hunk_context": "@@ -407,6 +407,24 @@ async fn try_join_next_with_id() {\n mod spawn_local {\n use super::*;\n ", "given_file": "tokio/tests/task_join_set.rs", "line": 415, "path": "tokio/tests/task_join_set.rs", "pr_title": "task: add tests for `spawn_local` in panic scenarios", "review_comment": "I think these tests are also missing for `JoinQueue`"}, "repo": "tokio-rs/tokio", "task_type": "comment2context", "version": 2} |
| {"base_commit": "0a3e3862697d902cffd729506cb28f6007c204d1", "candidate_corpus": {"base_commit": "0a3e3862697d902cffd729506cb28f6007c204d1", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "c0943f99f091bbcc57a93c4533de2e75a9227f90", "given_files": ["tokio/src/task/spawn.rs"], "must_context_files": [{"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/runtime/handle.rs"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/runtime/mod.rs"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/runtime/runtime.rs"}], "negative_distractors": ["tokio/src/runtime/handle.rs", "tokio/src/runtime/mod.rs", "tokio/src/runtime/runtime.rs"], "related_tests": [], "root_cause_files": ["tokio/src/runtime/handle.rs", "tokio/src/runtime/mod.rs", "tokio/src/runtime/runtime.rs"], "root_cause_symbols": [], "supporting_files": []}, "id": "d354e818b2436242628f1ea1", "metadata": {"confidence": "weak", "created_at": "2025-12-29T03:41:05Z", "evidence": {"comment_commit_id": "52a2cc3c40ac51e6d9d809b224255b4331a0497f", "comment_created_at": "2025-12-30T06:59:03Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["19976ba66cc66bc7f4a101c9c06b360626a9695e", "7a8cb70d6cd10ace24cc113460dcf8a01fd7e8d8", "33b05d9e42261c326079a9afd2898cf37a96472e", "f8b168d250b03747d9bbd5a34ddbcfa43b637647", "2c80c10ae1cb21056c9b4deccf6545cfe2396576", "66496ef7c311815e90ed6ec3f6d8333ac3f2991e", "cefed98dcecd979e99d49bb53d230ebb13e3ebf0", "531b49221b3f418cb07d11aa60a08fb3aacb6b91"], "review_comment_id": 2652360931}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-02-04T10:27:46Z", "pr": 7803, "pr_url": "https://github.com/tokio-rs/tokio/pull/7803"}, "query": {"diff_hunk_context": "@@ -6,16 +6,17 @@ use std::future::Future;\n \n cfg_rt! {\n /// Spawns a new asynchronous task, returning a", "given_file": "tokio/src/task/spawn.rs", "line": 9, "path": "tokio/src/task/spawn.rs", "pr_title": "rt: clarify the documentation of `Runtime::spawn`", "review_comment": "Rustdoc vs. spellcheck - the fight of the tools :-)\nMaybe this is the reason why backticks are in use here! \nYou could try with ``[`JoinHandle`]``. If spellcheck still complains then you will need to update https://github.com/tokio-rs/tokio/blob/4bc2a15d28554426a500ce73be969ecd9ed6dd89/spellcheck.dic:\n1) increment the number on the first line (e.g. 311 -> 312)\n2) Insert `JoinHandle` (between `iteratively` and `Kotlin's`)"}, "repo": "tokio-rs/tokio", "task_type": "comment2context", "version": 2} |
| {"base_commit": "0a3e3862697d902cffd729506cb28f6007c204d1", "candidate_corpus": {"base_commit": "0a3e3862697d902cffd729506cb28f6007c204d1", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "c0943f99f091bbcc57a93c4533de2e75a9227f90", "given_files": ["tokio/src/runtime/runtime.rs"], "must_context_files": [{"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/runtime/handle.rs"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/task/spawn.rs"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/runtime/mod.rs"}], "negative_distractors": ["tokio/src/runtime/handle.rs", "tokio/src/runtime/mod.rs", "tokio/src/task/spawn.rs"], "related_tests": [], "root_cause_files": ["tokio/src/runtime/handle.rs", "tokio/src/task/spawn.rs", "tokio/src/runtime/mod.rs"], "root_cause_symbols": [], "supporting_files": []}, "id": "d42e82da45418756a38691fc", "metadata": {"confidence": "weak", "created_at": "2025-12-29T03:41:05Z", "evidence": {"comment_commit_id": "051623b60fa6ba843613af40e9b0cd35dd5cc0dd", "comment_created_at": "2025-12-29T03:47:19Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["051623b60fa6ba843613af40e9b0cd35dd5cc0dd", "924d772b2c2a0629c19a2c3155447bba1afb48e3", "dede762c622b3d2cb176a8d744d41b0127ab5a35", "f2ab9df13c756fe5c8196ebb0c43f8f3e81697f8", "02a5ce948df7724499ca5b7d3574a91d3a52d8cf", "dc7a2ceb2859011ba2e6075c5e3ce19f3fc35089", "52a2cc3c40ac51e6d9d809b224255b4331a0497f", "14bfb82638a73b8f48a8dfc6fbce1d3309782d1c"], "review_comment_id": 2650132391}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-02-04T10:27:46Z", "pr": 7803, "pr_url": "https://github.com/tokio-rs/tokio/pull/7803"}, "query": {"diff_hunk_context": "@@ -200,15 +200,14 @@ impl Runtime {\n &self.handle\n }\n \n ///\n /// This spawns the given future onto the runtime's executor, usually a\n /// thread pool. The thread pool is then responsible for polling the future\n /// until it completes.\n ///", "given_file": "tokio/src/runtime/runtime.rs", "line": 210, "path": "tokio/src/runtime/runtime.rs", "pr_title": "rt: clarify the documentation of `Runtime::spawn`", "review_comment": "It is recommended to add two sentences explaining the behavior of `Runtime::spawn`: one for current thread runtime and another for multi-threaded runtime.\n\nPlease keep it concise—verbose documentation makes it harder for downstream users to understand."}, "repo": "tokio-rs/tokio", "task_type": "comment2context", "version": 2} |
| {"base_commit": "0a3e3862697d902cffd729506cb28f6007c204d1", "candidate_corpus": {"base_commit": "0a3e3862697d902cffd729506cb28f6007c204d1", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "c0943f99f091bbcc57a93c4533de2e75a9227f90", "given_files": ["tokio/src/runtime/handle.rs"], "must_context_files": [{"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/runtime/mod.rs"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/runtime/runtime.rs"}, {"evidence": ["modified_after_review_comment", "implementation_context_for_reviewed_change"], "path": "tokio/src/task/spawn.rs"}], "negative_distractors": ["tokio/src/runtime/mod.rs", "tokio/src/runtime/runtime.rs", "tokio/src/task/spawn.rs"], "related_tests": [], "root_cause_files": ["tokio/src/runtime/mod.rs", "tokio/src/runtime/runtime.rs", "tokio/src/task/spawn.rs"], "root_cause_symbols": [], "supporting_files": []}, "id": "eca2d26fea4f7e75efe9edbd", "metadata": {"confidence": "weak", "created_at": "2025-12-29T03:41:05Z", "evidence": {"comment_commit_id": "dc7a2ceb2859011ba2e6075c5e3ce19f3fc35089", "comment_created_at": "2025-12-31T15:30:48Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["19976ba66cc66bc7f4a101c9c06b360626a9695e", "7a8cb70d6cd10ace24cc113460dcf8a01fd7e8d8", "33b05d9e42261c326079a9afd2898cf37a96472e", "f8b168d250b03747d9bbd5a34ddbcfa43b637647", "2c80c10ae1cb21056c9b4deccf6545cfe2396576", "66496ef7c311815e90ed6ec3f6d8333ac3f2991e", "cefed98dcecd979e99d49bb53d230ebb13e3ebf0", "531b49221b3f418cb07d11aa60a08fb3aacb6b91"], "review_comment_id": 2655555396}, "generated_at": "2026-04-29T09:03:15+00:00", "hardmine_source": "data/derived_v0_2_round2/comment2context.jsonl", "merged_at": "2026-02-04T10:27:46Z", "pr": 7803, "pr_url": "https://github.com/tokio-rs/tokio/pull/7803"}, "query": {"diff_hunk_context": "@@ -164,9 +164,8 @@ impl Handle {\n /// thread pool. The thread pool is then responsible for polling the future\n /// until it completes.\n ///", "given_file": "tokio/src/runtime/handle.rs", "line": 168, "path": "tokio/src/runtime/handle.rs", "pr_title": "rt: clarify the documentation of `Runtime::spawn`", "review_comment": "> IMO it will be clearer if the documentation explain when it will be executed immediately and when it needs blocking. I.e. be more specific instead of letting the reader guess and experiment.\n\n@Its-Just-Nans Could you explain the correct behavior in docs, and then we can evaluate weather it is too long."}, "repo": "tokio-rs/tokio", "task_type": "comment2context", "version": 2} |
| {"base_commit": "cea3cf758645c9683db51822590b073ce3069dda", "candidate_corpus": {"base_commit": "cea3cf758645c9683db51822590b073ce3069dda", "type": "repo_at_base_commit"}, "gold": {"fix_commit": "5dc27ca68fdbab95b37af15870d91515fc2412b2", "given_files": ["packages/reactivity/__tests__/reactive.spec.ts"], "must_context_files": [{"evidence": ["modified_after_review_comment", "same_module_context", "implementation_context_for_reviewed_change", "explicit_behavior_or_api_dependency"], "path": "packages/reactivity/src/collectionHandlers.ts"}], "negative_distractors": ["packages/reactivity/src/collectionHandlers.ts"], "related_tests": ["packages/reactivity/__tests__/reactive.spec.ts"], "root_cause_files": ["packages/reactivity/src/collectionHandlers.ts"], "root_cause_symbols": [], "supporting_files": []}, "id": "08152da08307954bc8ce76d3", "metadata": {"confidence": "weak", "created_at": "2024-11-14T15:26:39Z", "evidence": {"comment_commit_id": "129b9ee19ecd95b0ca579047080bc80705a83890", "comment_created_at": "2024-11-15T01:37:17Z", "gold_definition": "must_context_files_excluding_given_file", "post_comment_commits": ["e26787a92f8a1121f0e56c48793979b951e76022"], "response_commit": "e26787a92f8a1121f0e56c48793979b951e76022", "review_comment_id": 1843083402}, "generated_at": "2026-04-29T11:57:35+00:00", "hardmine_source": "data/benchmark/v0_2/samples.jsonl", "merged_at": "2026-03-09T06:28:02Z", "pr": 12393, "pr_url": "https://github.com/vuejs/core/pull/12393"}, "query": {"diff_hunk_context": "@@ -112,6 +112,28 @@ describe('reactivity/reactive', () => {\n expect(dummy).toBe(false)\n })\n ", "given_file": "packages/reactivity/__tests__/reactive.spec.ts", "line": 127, "path": "packages/reactivity/__tests__/reactive.spec.ts", "pr_title": "fix(reactivity): handle `Set` with initial reactive values edge case", "review_comment": "The test case for `Map.set` here is incorrect because you only modified `add` without changing `set`. I think this part of the test would pass even without this PR. Additionally, the `observedMap` should have an initial value like `observedSet`"}, "repo": "vuejs/core", "task_type": "comment2context", "version": 2} |
|
|