id stringlengths 13 54 | prompt stringlengths 708 2.91M | answer stringlengths 110 352k | prompt_input_token_count int64 206 1.14M | metadata dict |
|---|---|---|---|---|
conda__conda-4325 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 291b3a7304c5c60fe290272455ad182d09828485
Changed files:
- conda/common/compat.py
- conda/... | diff --git a/conda/common/compat.py b/conda/common/compat.py
index 0000000..0000000 100644
--- a/conda/common/compat.py
+++ b/conda/common/compat.py
@@ -155,6 +155,10 @@ def ensure_text_type(value):
return value.decode('utf-8') if hasattr(value, 'decode') else value
+def ensure_unicode(value):
+ return valu... | 20,027 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4325",
"repo": "conda/conda",
"base_commit": "291b3a7304c5c60fe290272455ad182d09828485",
"pull_number": 4325,
"issue_numbers": [
"4322"
... |
conda__conda-4326 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: cb4bbbdbef1f5b90f53768d780ed297f5f584813
Changed files:
- conda/gateways/download.py
## ... | diff --git a/conda/gateways/download.py b/conda/gateways/download.py
index 0000000..0000000 100644
--- a/conda/gateways/download.py
+++ b/conda/gateways/download.py
@@ -73,7 +73,9 @@ def download(url, target_full_path, md5sum):
with open(target_full_path, 'wb') as fh:
streamed_byte... | 3,613 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4326",
"repo": "conda/conda",
"base_commit": "cb4bbbdbef1f5b90f53768d780ed297f5f584813",
"pull_number": 4326,
"issue_numbers": [
"4299"
... |
conda__conda-4327 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 291b3a7304c5c60fe290272455ad182d09828485
Changed files:
- conda/__init__.py
## Problem s... | diff --git a/conda/__init__.py b/conda/__init__.py
index 0000000..0000000 100644
--- a/conda/__init__.py
+++ b/conda/__init__.py
@@ -6,7 +6,9 @@
"""OS-agnostic, system-level binary package manager."""
from __future__ import absolute_import, division, print_function, unicode_literals
+import os
from os.path import ... | 2,075 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4327",
"repo": "conda/conda",
"base_commit": "291b3a7304c5c60fe290272455ad182d09828485",
"pull_number": 4327,
"issue_numbers": [
"4323"
... |
conda__conda-4329 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 291b3a7304c5c60fe290272455ad182d09828485
Changed files:
- conda/cli/activate.py
- conda/c... | diff --git a/conda/cli/activate.py b/conda/cli/activate.py
index 0000000..0000000 100644
--- a/conda/cli/activate.py
+++ b/conda/cli/activate.py
@@ -94,8 +94,26 @@ def pathlist_to_str(paths, escape_backslashes=True):
return path
+def get_activate_path(shelldict):
+ arg_num = len(sys.argv)
+ if arg_num !=... | 16,628 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4329",
"repo": "conda/conda",
"base_commit": "291b3a7304c5c60fe290272455ad182d09828485",
"pull_number": 4329,
"issue_numbers": [
"4316"
... |
conda__conda-4361 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 801252baac3b5cd229a90e035b302d5dfaef3c48
Changed files:
- conda/plan.py
## Problem state... | diff --git a/conda/plan.py b/conda/plan.py
index 0000000..0000000 100644
--- a/conda/plan.py
+++ b/conda/plan.py
@@ -773,7 +773,7 @@ def remove_actions(prefix, specs, index, force=False, pinned=True):
name = r.package_name(old_dist)
if old_dist == nlinked.get(name):
continue
- if p... | 24,600 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4361",
"repo": "conda/conda",
"base_commit": "801252baac3b5cd229a90e035b302d5dfaef3c48",
"pull_number": 4361,
"issue_numbers": [
"4324"
... |
conda__conda-4370 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 1d9f6da81f3ba64f6184f703f4ba7515969b17c0
Changed files:
- conda/resolve.py
## Problem st... | diff --git a/conda/resolve.py b/conda/resolve.py
index 0000000..0000000 100644
--- a/conda/resolve.py
+++ b/conda/resolve.py
@@ -263,7 +263,10 @@ class Resolve(object):
A generator of tuples, empty if the MatchSpec is valid.
"""
def chains_(spec, names):
- if self.valid(spec, f... | 29,171 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4370",
"repo": "conda/conda",
"base_commit": "1d9f6da81f3ba64f6184f703f4ba7515969b17c0",
"pull_number": 4370,
"issue_numbers": [
"4351",
... |
conda__conda-4392 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: cebd69e01d1cf7bb02aebb66e2f4d75c760eccb4
Changed files:
- conda/core/path_actions.py
## ... | diff --git a/conda/core/path_actions.py b/conda/core/path_actions.py
index 0000000..0000000 100644
--- a/conda/core/path_actions.py
+++ b/conda/core/path_actions.py
@@ -2,6 +2,7 @@
from __future__ import absolute_import, division, print_function, unicode_literals
from abc import ABCMeta, abstractmethod, abstractpro... | 32,218 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4392",
"repo": "conda/conda",
"base_commit": "cebd69e01d1cf7bb02aebb66e2f4d75c760eccb4",
"pull_number": 4392,
"issue_numbers": [
"4309",
... |
conda__conda-4397 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 500cbff008b37136ee66e7b213ee23d5f1ea7514
Changed files:
- conda/core/path_actions.py
- co... | diff --git a/conda/core/path_actions.py b/conda/core/path_actions.py
index 0000000..0000000 100644
--- a/conda/core/path_actions.py
+++ b/conda/core/path_actions.py
@@ -601,12 +601,12 @@ class UnlinkPathAction(RemoveFromPrefixPathAction):
def execute(self):
if self.link_type != LinkType.directory:
... | 24,827 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4397",
"repo": "conda/conda",
"base_commit": "500cbff008b37136ee66e7b213ee23d5f1ea7514",
"pull_number": 4397,
"issue_numbers": [
"4393"
... |
conda__conda-4406 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 9591b0e7a49ba3ee99fc6fba5c470330f149ec14
Changed files:
- conda/cli/activate.py
## Probl... | diff --git a/conda/cli/activate.py b/conda/cli/activate.py
index 0000000..0000000 100644
--- a/conda/cli/activate.py
+++ b/conda/cli/activate.py
@@ -1,14 +1,15 @@
-from __future__ import print_function, division, absolute_import, unicode_literals
+from __future__ import absolute_import, division, print_function, unicod... | 5,111 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4406",
"repo": "conda/conda",
"base_commit": "9591b0e7a49ba3ee99fc6fba5c470330f149ec14",
"pull_number": 4406,
"issue_numbers": [
"5116"
... |
conda__conda-4409 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: f5db11ff49e5fe600f049ccc4ae8c6d828538706
Changed files:
- conda/models/index_record.py
#... | diff --git a/conda/models/index_record.py b/conda/models/index_record.py
index 0000000..0000000 100644
--- a/conda/models/index_record.py
+++ b/conda/models/index_record.py
@@ -12,6 +12,10 @@ class LinkTypeField(EnumField):
def box(self, instance, val):
if isinstance(val, string_types):
val =... | 3,528 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4409",
"repo": "conda/conda",
"base_commit": "f5db11ff49e5fe600f049ccc4ae8c6d828538706",
"pull_number": 4409,
"issue_numbers": [
"4398"
... |
conda__conda-4433 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 9a65c479c45bed12b2a9fc3b8df65078a3da1e5e
Changed files:
- conda/core/path_actions.py
- co... | diff --git a/conda/core/path_actions.py b/conda/core/path_actions.py
index 0000000..0000000 100644
--- a/conda/core/path_actions.py
+++ b/conda/core/path_actions.py
@@ -509,15 +509,11 @@ class CreateLinkedPackageRecordAction(CreateInPrefixPathAction):
None,... | 35,849 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4433",
"repo": "conda/conda",
"base_commit": "9a65c479c45bed12b2a9fc3b8df65078a3da1e5e",
"pull_number": 4433,
"issue_numbers": [
"4425",
... |
conda__conda-4518 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: f71c08a765ee5714980206b30115b74886813fec
Changed files:
- conda/core/index.py
## Problem... | diff --git a/conda/core/index.py b/conda/core/index.py
index 0000000..0000000 100644
--- a/conda/core/index.py
+++ b/conda/core/index.py
@@ -9,7 +9,7 @@ import json
from logging import DEBUG, getLogger
from mmap import ACCESS_READ, mmap
from os import makedirs
-from os.path import getmtime, isfile, join, split as pa... | 17,209 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4518",
"repo": "conda/conda",
"base_commit": "f71c08a765ee5714980206b30115b74886813fec",
"pull_number": 4518,
"issue_numbers": [
"4513"
... |
conda__conda-4548 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 81d2f6e2d383bb056d19ead27819675a6d48a06e
Changed files:
- conda/core/path_actions.py
- co... | diff --git a/conda/core/path_actions.py b/conda/core/path_actions.py
index 0000000..0000000 100644
--- a/conda/core/path_actions.py
+++ b/conda/core/path_actions.py
@@ -385,14 +385,14 @@ class CreatePythonEntryPointAction(CreateInPrefixPathAction):
if noarch is not None and noarch.type == NoarchType.python:
... | 25,073 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4548",
"repo": "conda/conda",
"base_commit": "81d2f6e2d383bb056d19ead27819675a6d48a06e",
"pull_number": 4548,
"issue_numbers": [
"4546"
... |
conda__conda-4585 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 112f0549e6dfa7dd4770a5a1836adbe594e55203
Changed files:
- conda/common/compat.py
## Prob... | diff --git a/conda/common/compat.py b/conda/common/compat.py
index 0000000..0000000 100644
--- a/conda/common/compat.py
+++ b/conda/common/compat.py
@@ -152,7 +152,15 @@ def ensure_binary(value):
def ensure_text_type(value):
- return value.decode('utf-8') if hasattr(value, 'decode') else value
+ if hasattr(v... | 7,142 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4585",
"repo": "conda/conda",
"base_commit": "112f0549e6dfa7dd4770a5a1836adbe594e55203",
"pull_number": 4585,
"issue_numbers": [
"4567"
... |
conda__conda-4627 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 02ba2cec99e166719085f46cbe96a95a36a8d460
Changed files:
- conda/core/index.py
- conda/gat... | diff --git a/conda/core/index.py b/conda/core/index.py
index 0000000..0000000 100644
--- a/conda/core/index.py
+++ b/conda/core/index.py
@@ -345,7 +345,11 @@ def fetch_repodata_remote_request(session, url, etag, mod_stamp):
""")
else:
- help_message = "An HTTP error occurred when tryi... | 29,627 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4627",
"repo": "conda/conda",
"base_commit": "02ba2cec99e166719085f46cbe96a95a36a8d460",
"pull_number": 4627,
"issue_numbers": [
"4608"
... |
conda__conda-4628 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 7f5570e4afb9ae9ddf0a900a54115144f2fe2a38
Changed files:
- conda/core/index.py
## Problem... | diff --git a/conda/core/index.py b/conda/core/index.py
index 0000000..0000000 100644
--- a/conda/core/index.py
+++ b/conda/core/index.py
@@ -154,7 +154,9 @@ def read_mod_and_etag(path):
match_objects = take(3, re.finditer(REPODATA_HEADER_RE, m))
result = dict(map(ensure_unicode, mo.gro... | 18,157 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4628",
"repo": "conda/conda",
"base_commit": "7f5570e4afb9ae9ddf0a900a54115144f2fe2a38",
"pull_number": 4628,
"issue_numbers": [
"4592",
... |
conda__conda-4637 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 9501f4fde15aad95c7905331a1c48e650ff9824a
Changed files:
- conda/base/context.py
## Probl... | diff --git a/conda/base/context.py b/conda/base/context.py
index 0000000..0000000 100644
--- a/conda/base/context.py
+++ b/conda/base/context.py
@@ -282,7 +282,7 @@ class Context(Configuration):
@property
def pkgs_dirs(self):
if self._pkgs_dirs:
- return tuple(IndexedSet(self._pkgs_dirs))
... | 14,900 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4637",
"repo": "conda/conda",
"base_commit": "9501f4fde15aad95c7905331a1c48e650ff9824a",
"pull_number": 4637,
"issue_numbers": [
"4636",
... |
conda__conda-4647 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: d5a69ae91e5e2b8e4391cbcaa48e2bf9e52f3c9b
Changed files:
- conda/resolve.py
## Problem st... | diff --git a/conda/resolve.py b/conda/resolve.py
index 0000000..0000000 100644
--- a/conda/resolve.py
+++ b/conda/resolve.py
@@ -875,11 +875,10 @@ class Resolve(object):
solution, obj7 = C.minimize(eq_optional_c, solution)
log.debug('Package removal metric: %d', obj7)
- # Requeste... | 26,088 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4647",
"repo": "conda/conda",
"base_commit": "d5a69ae91e5e2b8e4391cbcaa48e2bf9e52f3c9b",
"pull_number": 4647,
"issue_numbers": [
"2384"
... |
conda__conda-4651 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: b583c5534879cb07575bbcc384291d239452b37d
Changed files:
- conda/core/index.py
## Problem... | diff --git a/conda/core/index.py b/conda/core/index.py
index 0000000..0000000 100644
--- a/conda/core/index.py
+++ b/conda/core/index.py
@@ -591,8 +591,6 @@ def add_http_value_to_dict(resp, http_key, d, dict_key):
def create_cache_dir():
- pkgs_dir = PackageCache.first_writable(context.pkgs_dirs).pkgs_dir
- ... | 18,840 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4651",
"repo": "conda/conda",
"base_commit": "b583c5534879cb07575bbcc384291d239452b37d",
"pull_number": 4651,
"issue_numbers": [
"4649",
... |
conda__conda-4709 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 49408ea466a2f632c391521a4991d3bfe3cdf46f
Changed files:
- conda/gateways/disk/create.py
... | diff --git a/conda/gateways/disk/create.py b/conda/gateways/disk/create.py
index 0000000..0000000 100644
--- a/conda/gateways/disk/create.py
+++ b/conda/gateways/disk/create.py
@@ -138,8 +138,8 @@ def make_menu(prefix, file_path, remove=False):
log.warn("Environment name starts with underscore '_'. Skipping me... | 7,134 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4709",
"repo": "conda/conda",
"base_commit": "49408ea466a2f632c391521a4991d3bfe3cdf46f",
"pull_number": 4709,
"issue_numbers": [
"4703"
... |
conda__conda-4711 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 49408ea466a2f632c391521a4991d3bfe3cdf46f
Changed files:
- conda/models/channel.py
## Pro... | diff --git a/conda/models/channel.py b/conda/models/channel.py
index 0000000..0000000 100644
--- a/conda/models/channel.py
+++ b/conda/models/channel.py
@@ -3,15 +3,14 @@ from __future__ import absolute_import, division, print_function, unicode_litera
from itertools import chain
from logging import getLogger
-from ... | 12,459 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4711",
"repo": "conda/conda",
"base_commit": "49408ea466a2f632c391521a4991d3bfe3cdf46f",
"pull_number": 4711,
"issue_numbers": [
"4694"
... |
conda__conda-4729 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: ddd12b987a7c4745b7eed27c00082021fb0d53a3
Changed files:
- conda/exports.py
## Problem st... | diff --git a/conda/exports.py b/conda/exports.py
index 0000000..0000000 100644
--- a/conda/exports.py
+++ b/conda/exports.py
@@ -125,3 +125,6 @@ TemporaryDirectory = TemporaryDirectory
from .gateways.subprocess import ACTIVE_SUBPROCESSES, subprocess_call # NOQA
ACTIVE_SUBPROCESSES, subprocess_call = ACTIVE_SUBPROC... | 4,259 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4729",
"repo": "conda/conda",
"base_commit": "ddd12b987a7c4745b7eed27c00082021fb0d53a3",
"pull_number": 4729,
"issue_numbers": [
"4247"
... |
conda__conda-4774 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 14dd0efb8e2116ed07d6cca01b8f63f3ac04cb66
Changed files:
- conda/common/configuration.py
... | diff --git a/conda/common/configuration.py b/conda/common/configuration.py
index 0000000..0000000 100644
--- a/conda/common/configuration.py
+++ b/conda/common/configuration.py
@@ -17,7 +17,7 @@ Limitations:
from __future__ import absolute_import, division, print_function, unicode_literals
from abc import ABCMeta, ... | 22,488 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4774",
"repo": "conda/conda",
"base_commit": "14dd0efb8e2116ed07d6cca01b8f63f3ac04cb66",
"pull_number": 4774,
"issue_numbers": [
"4757"
... |
conda__conda-4776 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: efdd81ae9146cbb36c4db6fc18e3db55e6837b95
Changed files:
- conda/core/package_cache.py
##... | diff --git a/conda/core/package_cache.py b/conda/core/package_cache.py
index 0000000..0000000 100644
--- a/conda/core/package_cache.py
+++ b/conda/core/package_cache.py
@@ -92,7 +92,8 @@ class PackageCacheEntry(object):
@property
def is_extracted(self):
- return isdir(self.extracted_package_dir)
+ ... | 14,516 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4776",
"repo": "conda/conda",
"base_commit": "efdd81ae9146cbb36c4db6fc18e3db55e6837b95",
"pull_number": 4776,
"issue_numbers": [
"4745"
... |
conda__conda-4789 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 1ba6d4544529b28f80677b870539d522c095e269
Changed files:
- conda/core/path_actions.py
## ... | diff --git a/conda/core/path_actions.py b/conda/core/path_actions.py
index 0000000..0000000 100644
--- a/conda/core/path_actions.py
+++ b/conda/core/path_actions.py
@@ -811,6 +811,7 @@ class ExtractPackageAction(PathAction):
target_package_cache[package_cache_entry.dist] = package_cache_entry
def revers... | 25,648 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4789",
"repo": "conda/conda",
"base_commit": "1ba6d4544529b28f80677b870539d522c095e269",
"pull_number": 4789,
"issue_numbers": [
"4788"
... |
conda__conda-4843 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: f54e37f97d37cebdbf64304b78bc85356f2fcbe7
Changed files:
- conda/core/package_cache.py
##... | diff --git a/conda/core/package_cache.py b/conda/core/package_cache.py
index 0000000..0000000 100644
--- a/conda/core/package_cache.py
+++ b/conda/core/package_cache.py
@@ -272,6 +272,9 @@ class PackageCache(object):
def dedupe_pkgs_dir_contents(pkgs_dir_contents):
# if both 'six-1.10.0-py35_0/' a... | 17,670 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4843",
"repo": "conda/conda",
"base_commit": "f54e37f97d37cebdbf64304b78bc85356f2fcbe7",
"pull_number": 4843,
"issue_numbers": [
"4840",
... |
conda__conda-4922 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 57dd56712c0c21f3958951be5e9e5dd1d96e03d0
Changed files:
- conda/core/path_actions.py
- co... | diff --git a/conda/core/path_actions.py b/conda/core/path_actions.py
index 0000000..0000000 100644
--- a/conda/core/path_actions.py
+++ b/conda/core/path_actions.py
@@ -96,7 +96,10 @@ class PrefixPathAction(PathAction):
@property
def target_full_path(self):
trgt, shrt_pth = self.target_prefix, self.t... | 30,928 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4922",
"repo": "conda/conda",
"base_commit": "57dd56712c0c21f3958951be5e9e5dd1d96e03d0",
"pull_number": 4922,
"issue_numbers": [
"4914"
... |
conda__conda-4963 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: eb2687e7164437421058d592705f37d40bc86b45
Changed files:
- conda/cli/conda_argparse.py
- c... | diff --git a/conda/cli/conda_argparse.py b/conda/cli/conda_argparse.py
index 0000000..0000000 100644
--- a/conda/cli/conda_argparse.py
+++ b/conda/cli/conda_argparse.py
@@ -10,14 +10,11 @@ import argparse
import os
import subprocess
import sys
-from difflib import get_close_matches
from .common import add_parser_... | 26,750 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4963",
"repo": "conda/conda",
"base_commit": "eb2687e7164437421058d592705f37d40bc86b45",
"pull_number": 4963,
"issue_numbers": [
"4944",
... |
conda__conda-4990 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 19b5182e4bbd587a241e6177470290b4fd804aac
Changed files:
- conda/cli/install.py
## Proble... | diff --git a/conda/cli/install.py b/conda/cli/install.py
index 0000000..0000000 100644
--- a/conda/cli/install.py
+++ b/conda/cli/install.py
@@ -54,7 +54,7 @@ def clone(src_arg, dst_prefix, json=False, quiet=False, index_args=None):
if os.sep in src_arg:
src_prefix = abspath(src_arg)
if not isdir... | 10,644 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-4990",
"repo": "conda/conda",
"base_commit": "19b5182e4bbd587a241e6177470290b4fd804aac",
"pull_number": 4990,
"issue_numbers": [
"4969"
... |
conda__conda-5009 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: df18f9fa4b95c31435f2751a0a5de365cb20c5d3
Changed files:
- conda/cli/help.py
## Problem s... | diff --git a/conda/cli/help.py b/conda/cli/help.py
index 0000000..0000000 100644
--- a/conda/cli/help.py
+++ b/conda/cli/help.py
@@ -35,7 +35,7 @@ Missing write permissions in: ${root_dir}
# then make changes to it.
# This may be done using the command:
#
-# $ conda create -n my_${name} --clone=${prefix}
+# $ conda ... | 1,280 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5009",
"repo": "conda/conda",
"base_commit": "df18f9fa4b95c31435f2751a0a5de365cb20c5d3",
"pull_number": 5009,
"issue_numbers": [
"5006"
... |
conda__conda-5010 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 0d33c605c75d53346055ba40fcda024d3172494e
Changed files:
- conda/core/path_actions.py
- co... | diff --git a/conda/core/path_actions.py b/conda/core/path_actions.py
index 0000000..0000000 100644
--- a/conda/core/path_actions.py
+++ b/conda/core/path_actions.py
@@ -22,8 +22,7 @@ from ..common.url import path_to_url
from ..exceptions import CondaUpgradeError, CondaVerificationError, PaddingError
from ..gateways.d... | 30,017 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5010",
"repo": "conda/conda",
"base_commit": "0d33c605c75d53346055ba40fcda024d3172494e",
"pull_number": 5010,
"issue_numbers": [
"5001"
... |
conda__conda-5011 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: fa0393fd6821fb0b2246bb29a82a7333e752c097
Changed files:
- conda/cli/install.py
## Proble... | diff --git a/conda/cli/install.py b/conda/cli/install.py
index 0000000..0000000 100644
--- a/conda/cli/install.py
+++ b/conda/cli/install.py
@@ -300,7 +300,7 @@ def install(args, parser, command='install'):
if pinned_specs:
path = join(prefix, 'conda-meta', 'pinned')
error... | 10,770 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5011",
"repo": "conda/conda",
"base_commit": "fa0393fd6821fb0b2246bb29a82a7333e752c097",
"pull_number": 5011,
"issue_numbers": [
"4998"
... |
conda__conda-5018 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 1fb7c3b49b005463f56eaeff8c9970e42fa8d576
Changed files:
- conda/models/index_record.py
- ... | diff --git a/conda/models/index_record.py b/conda/models/index_record.py
index 0000000..0000000 100644
--- a/conda/models/index_record.py
+++ b/conda/models/index_record.py
@@ -99,6 +99,7 @@ class IndexRecord(DictSafeMixin, Entity):
requires = ListField(string_types, required=False)
size = IntegerField(requir... | 27,933 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5018",
"repo": "conda/conda",
"base_commit": "1fb7c3b49b005463f56eaeff8c9970e42fa8d576",
"pull_number": 5018,
"issue_numbers": [
"5017"
... |
conda__conda-5030 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 7f96c658ab06a49d55ee7042d5d30e06fdcd3bc6
Changed files:
- conda/base/context.py
- conda/c... | diff --git a/conda/base/context.py b/conda/base/context.py
index 0000000..0000000 100644
--- a/conda/base/context.py
+++ b/conda/base/context.py
@@ -93,6 +93,7 @@ class Context(Configuration):
string_delimiter=os.pathsep)
_pkgs_dirs = SequenceParameter(string_types, aliases=('pk... | 33,313 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5030",
"repo": "conda/conda",
"base_commit": "7f96c658ab06a49d55ee7042d5d30e06fdcd3bc6",
"pull_number": 5030,
"issue_numbers": [
"5034"
... |
conda__conda-5091 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: ec9c9999ea57d3351d5c5c688baacc982c3daee2
Changed files:
- conda/core/repodata.py
## Prob... | diff --git a/conda/core/repodata.py b/conda/core/repodata.py
index 0000000..0000000 100644
--- a/conda/core/repodata.py
+++ b/conda/core/repodata.py
@@ -265,7 +265,8 @@ def fetch_repodata_remote_request(session, url, etag, mod_stamp):
If the remote site is anaconda.org or follows the Anaconda Server ... | 15,912 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5091",
"repo": "conda/conda",
"base_commit": "ec9c9999ea57d3351d5c5c688baacc982c3daee2",
"pull_number": 5091,
"issue_numbers": [
"5055"
... |
conda__conda-5092 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: ec9c9999ea57d3351d5c5c688baacc982c3daee2
Changed files:
- conda/common/signals.py
## Pro... | diff --git a/conda/common/signals.py b/conda/common/signals.py
index 0000000..0000000 100644
--- a/conda/common/signals.py
+++ b/conda/common/signals.py
@@ -43,6 +43,8 @@ def signal_handler(handler):
try:
yield
finally:
+ standard_handlers = signal.SIG_IGN, signal.SIG_DFL
for sig, pre... | 1,915 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5092",
"repo": "conda/conda",
"base_commit": "ec9c9999ea57d3351d5c5c688baacc982c3daee2",
"pull_number": 5092,
"issue_numbers": [
"5033"
... |
conda__conda-5093 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: ec9c9999ea57d3351d5c5c688baacc982c3daee2
Changed files:
- conda/cli/main_list.py
## Prob... | diff --git a/conda/cli/main_list.py b/conda/cli/main_list.py
index 0000000..0000000 100644
--- a/conda/cli/main_list.py
+++ b/conda/cli/main_list.py
@@ -11,15 +11,6 @@ import logging
from os.path import isdir, isfile
import re
-from .common import (add_parser_help, add_parser_json, add_parser_prefix,
- ... | 6,072 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5093",
"repo": "conda/conda",
"base_commit": "ec9c9999ea57d3351d5c5c688baacc982c3daee2",
"pull_number": 5093,
"issue_numbers": [
"5028"
... |
conda__conda-5096 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 1ac0dab62399c71aa38d1d7db0576af14e4e1079
Changed files:
- conda/base/context.py
## Probl... | diff --git a/conda/base/context.py b/conda/base/context.py
index 0000000..0000000 100644
--- a/conda/base/context.py
+++ b/conda/base/context.py
@@ -103,8 +103,10 @@ class Context(Configuration):
# remote connection details
ssl_verify = PrimitiveParameter(True, element_type=string_types + (bool,),
... | 25,457 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5096",
"repo": "conda/conda",
"base_commit": "1ac0dab62399c71aa38d1d7db0576af14e4e1079",
"pull_number": 5096,
"issue_numbers": [
"5073"
... |
conda__conda-5098 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: daf34a6925dadf0a091f38a834780731db26ccdd
Changed files:
- conda/core/path_actions.py
## ... | diff --git a/conda/core/path_actions.py b/conda/core/path_actions.py
index 0000000..0000000 100644
--- a/conda/core/path_actions.py
+++ b/conda/core/path_actions.py
@@ -6,14 +6,16 @@ from errno import EXDEV
import json
from logging import getLogger
from os.path import dirname, join
+from random import random
import... | 24,623 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5098",
"repo": "conda/conda",
"base_commit": "daf34a6925dadf0a091f38a834780731db26ccdd",
"pull_number": 5098,
"issue_numbers": [
"4671"
... |
conda__conda-5103 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 58b12f4949fb50c1890a810942660982153af440
Changed files:
- conda/plan.py
## Problem state... | diff --git a/conda/plan.py b/conda/plan.py
index 0000000..0000000 100644
--- a/conda/plan.py
+++ b/conda/plan.py
@@ -467,7 +467,6 @@ def install_actions_list(prefix, index, specs, force=False, only_names=None, alw
channel_priority_map=None, is_update=False):
# type: (str, Dict[Dist, Recor... | 29,553 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5103",
"repo": "conda/conda",
"base_commit": "58b12f4949fb50c1890a810942660982153af440",
"pull_number": 5103,
"issue_numbers": [
"4849",
... |
conda__conda-5107 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 1985160dac27c4c05d079015e65a8b63141b87aa
Changed files:
- conda/base/context.py
## Probl... | diff --git a/conda/base/context.py b/conda/base/context.py
index 0000000..0000000 100644
--- a/conda/base/context.py
+++ b/conda/base/context.py
@@ -107,7 +107,7 @@ class Context(Configuration):
element_type=string_types + (NoneType,))
client_ssl_cert_key = PrimitiveParame... | 20,399 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5107",
"repo": "conda/conda",
"base_commit": "1985160dac27c4c05d079015e65a8b63141b87aa",
"pull_number": 5107,
"issue_numbers": [
"5102",
... |
conda__conda-5112 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: c6f06c91f984b6b0dea4839b93f613aa821d9488
Changed files:
- conda/_vendor/auxlib/type_coerc... | diff --git a/conda/_vendor/auxlib/type_coercion.py b/conda/_vendor/auxlib/type_coercion.py
index 0000000..0000000 100644
--- a/conda/_vendor/auxlib/type_coercion.py
+++ b/conda/_vendor/auxlib/type_coercion.py
@@ -231,8 +231,8 @@ def typify(value, type_hint=None):
elif not (type_hint - (STRING_TYPES_SET | {bool... | 7,816 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5112",
"repo": "conda/conda",
"base_commit": "c6f06c91f984b6b0dea4839b93f613aa821d9488",
"pull_number": 5112,
"issue_numbers": [
"5111",
... |
conda__conda-5122 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: e060ffcacba7481bfd8ce2b0a865669977178d2b
Changed files:
- conda/core/path_actions.py
## ... | diff --git a/conda/core/path_actions.py b/conda/core/path_actions.py
index 0000000..0000000 100644
--- a/conda/core/path_actions.py
+++ b/conda/core/path_actions.py
@@ -172,7 +172,6 @@ class CreateInPrefixPathAction(PrefixPathAction):
class LinkPathAction(CreateInPrefixPathAction):
- _verify_max_backoff_reached... | 31,508 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5122",
"repo": "conda/conda",
"base_commit": "e060ffcacba7481bfd8ce2b0a865669977178d2b",
"pull_number": 5122,
"issue_numbers": [
"4671"
... |
conda__conda-5124 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: e50cdeeb33ff93a946e3be6d4a7a60d6939c891a
Changed files:
- conda/exports.py
## Problem st... | diff --git a/conda/exports.py b/conda/exports.py
index 0000000..0000000 100644
--- a/conda/exports.py
+++ b/conda/exports.py
@@ -30,6 +30,9 @@ PY3, StringIO, input, iteritems, string_types, text_type = PY3, StringIO, inpu
from .gateways.connection import CondaSession # NOQA
CondaSession = CondaSession
+from .com... | 4,206 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5124",
"repo": "conda/conda",
"base_commit": "e50cdeeb33ff93a946e3be6d4a7a60d6939c891a",
"pull_number": 5124,
"issue_numbers": [
"5123",
... |
conda__conda-5133 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 1f519f31581aa570f911805c1d8121d6b3857fe2
Changed files:
- conda/common/signals.py
- conda... | diff --git a/conda/common/signals.py b/conda/common/signals.py
index 0000000..0000000 100644
--- a/conda/common/signals.py
+++ b/conda/common/signals.py
@@ -4,6 +4,7 @@ from __future__ import absolute_import, division, print_function, unicode_litera
from contextlib import contextmanager
from logging import getLogger
... | 5,988 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5133",
"repo": "conda/conda",
"base_commit": "1f519f31581aa570f911805c1d8121d6b3857fe2",
"pull_number": 5133,
"issue_numbers": [
"5132",
... |
conda__conda-5148 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 26321390415b8d87aa2f2a356a9b717bbef04276
Changed files:
- conda/core/package_cache.py
- c... | diff --git a/conda/core/package_cache.py b/conda/core/package_cache.py
index 0000000..0000000 100644
--- a/conda/core/package_cache.py
+++ b/conda/core/package_cache.py
@@ -410,6 +410,7 @@ class ProgressiveFetchExtract(object):
source_full_path=pc_entry_writable_cache.package_tarball_full_path,
... | 47,139 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5148",
"repo": "conda/conda",
"base_commit": "26321390415b8d87aa2f2a356a9b717bbef04276",
"pull_number": 5148,
"issue_numbers": [
"5078"
... |
conda__conda-5157 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: ca57ef2a1ac70355d1aeb58ddc2da78f655c4fbc
Changed files:
- conda/activate.py
- conda/cli/m... | diff --git a/conda/activate.py b/conda/activate.py
index 0000000..0000000 100644
--- a/conda/activate.py
+++ b/conda/activate.py
@@ -6,6 +6,7 @@ import os
from os.path import abspath, basename, dirname, expanduser, expandvars, isdir, join
import re
import sys
+from tempfile import NamedTemporaryFile
try:
fro... | 13,361 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5157",
"repo": "conda/conda",
"base_commit": "ca57ef2a1ac70355d1aeb58ddc2da78f655c4fbc",
"pull_number": 5157,
"issue_numbers": [
"5160"
... |
conda__conda-5159 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: ca57ef2a1ac70355d1aeb58ddc2da78f655c4fbc
Changed files:
- conda/activate.py
- conda/base/... | diff --git a/conda/activate.py b/conda/activate.py
index 0000000..0000000 100644
--- a/conda/activate.py
+++ b/conda/activate.py
@@ -110,10 +110,13 @@ class Activator(object):
# query environment
old_conda_shlvl = int(os.getenv('CONDA_SHLVL', 0))
old_conda_prefix = os.getenv('CONDA_PREFIX')
+... | 32,166 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5159",
"repo": "conda/conda",
"base_commit": "ca57ef2a1ac70355d1aeb58ddc2da78f655c4fbc",
"pull_number": 5159,
"issue_numbers": [
"3580"
... |
conda__conda-5166 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 340600b231abae4060f946dfaaa84fffa71013d4
Changed files:
- conda/cli/main_info.py
## Prob... | diff --git a/conda/cli/main_info.py b/conda/cli/main_info.py
index 0000000..0000000 100644
--- a/conda/cli/main_info.py
+++ b/conda/cli/main_info.py
@@ -248,12 +248,14 @@ def get_info_dict(system=False):
def get_main_info_str(info_dict):
+ from .._vendor.auxlib.ish import dals
+
for key in 'pkgs_dirs', 'en... | 8,553 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5166",
"repo": "conda/conda",
"base_commit": "340600b231abae4060f946dfaaa84fffa71013d4",
"pull_number": 5166,
"issue_numbers": [
"5152"
... |
conda__conda-5186 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 2e97c19d63b0ec3c075ed5d706032b891222ec2d
Changed files:
- conda/common/configuration.py
... | diff --git a/conda/common/configuration.py b/conda/common/configuration.py
index 0000000..0000000 100644
--- a/conda/common/configuration.py
+++ b/conda/common/configuration.py
@@ -105,7 +105,7 @@ class InvalidTypeError(ValidationError):
self.valid_types = valid_types
if msg is None:
msg ... | 29,606 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5186",
"repo": "conda/conda",
"base_commit": "2e97c19d63b0ec3c075ed5d706032b891222ec2d",
"pull_number": 5186,
"issue_numbers": [
"5184",
... |
conda__conda-5190 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 2e97c19d63b0ec3c075ed5d706032b891222ec2d
Changed files:
- conda/base/constants.py
- conda... | diff --git a/conda/base/constants.py b/conda/base/constants.py
index 0000000..0000000 100644
--- a/conda/base/constants.py
+++ b/conda/base/constants.py
@@ -52,6 +52,7 @@ PLATFORM_DIRECTORIES = ("linux-64",
"linux-ppc64le",
"linux-armv6l",
"linu... | 25,107 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5190",
"repo": "conda/conda",
"base_commit": "2e97c19d63b0ec3c075ed5d706032b891222ec2d",
"pull_number": 5190,
"issue_numbers": [
"5125"
... |
conda__conda-5192 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: b4aae214af25845ac0f68da8e40f1d33c1dcd5ad
Changed files:
- conda/common/configuration.py
... | diff --git a/conda/common/configuration.py b/conda/common/configuration.py
index 0000000..0000000 100644
--- a/conda/common/configuration.py
+++ b/conda/common/configuration.py
@@ -572,7 +572,12 @@ class SequenceParameter(Parameter):
def _merge(self, matches):
# get matches up to and including first impor... | 25,085 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5192",
"repo": "conda/conda",
"base_commit": "b4aae214af25845ac0f68da8e40f1d33c1dcd5ad",
"pull_number": 5192,
"issue_numbers": [
"5189",
... |
conda__conda-5200 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 3beff3b3cb8c6ca3661a3364e77c614d1ec623e0
Changed files:
- conda/__init__.py
- conda/excep... | diff --git a/conda/__init__.py b/conda/__init__.py
index 0000000..0000000 100644
--- a/conda/__init__.py
+++ b/conda/__init__.py
@@ -41,7 +41,7 @@ class CondaError(Exception):
super(CondaError, self).__init__(message)
def __repr__(self):
- return '%s: %s\n' % (self.__class__.__name__, text_type(s... | 22,914 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5200",
"repo": "conda/conda",
"base_commit": "3beff3b3cb8c6ca3661a3364e77c614d1ec623e0",
"pull_number": 5200,
"issue_numbers": [
"3470",
... |
conda__conda-5201 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 568c5397eaa1b25f552a5c8ca8bcade93e5da309
Changed files:
- conda/base/context.py
- conda/c... | diff --git a/conda/base/context.py b/conda/base/context.py
index 0000000..0000000 100644
--- a/conda/base/context.py
+++ b/conda/base/context.py
@@ -136,6 +136,7 @@ class Context(Configuration):
always_yes = PrimitiveParameter(False, aliases=('yes',))
channel_priority = PrimitiveParameter(True)
debug = P... | 48,348 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5201",
"repo": "conda/conda",
"base_commit": "568c5397eaa1b25f552a5c8ca8bcade93e5da309",
"pull_number": 5201,
"issue_numbers": [
"1597",
... |
conda__conda-5206 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: e865d1fffed1e3e5076a7419d7fbb88d44359894
Changed files:
- conda/cli/main_info.py
## Prob... | diff --git a/conda/cli/main_info.py b/conda/cli/main_info.py
index 0000000..0000000 100644
--- a/conda/cli/main_info.py
+++ b/conda/cli/main_info.py
@@ -350,6 +350,8 @@ def execute(args, parser):
WARNING: could not import _license.show_info
# try:
# $ conda install -n root _license""")
+ except Exception as e... | 9,606 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5206",
"repo": "conda/conda",
"base_commit": "e865d1fffed1e3e5076a7419d7fbb88d44359894",
"pull_number": 5206,
"issue_numbers": [
"4468"
... |
conda__conda-5216 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 36e23ad6ce450ed4df587d5b29957f6e91683e64
Changed files:
- conda/cli/install.py
## Proble... | diff --git a/conda/cli/install.py b/conda/cli/install.py
index 0000000..0000000 100644
--- a/conda/cli/install.py
+++ b/conda/cli/install.py
@@ -311,20 +311,20 @@ def install(args, parser, command='install'):
raise CondaImportError(text_type(e))
raise
- if not context.json:
- if any(no... | 11,258 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5216",
"repo": "conda/conda",
"base_commit": "36e23ad6ce450ed4df587d5b29957f6e91683e64",
"pull_number": 5216,
"issue_numbers": [
"5214",
... |
conda__conda-5221 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 052a5e7355297db55e49b39957b5f7e4114ce223
Changed files:
- conda/models/channel.py
## Pro... | diff --git a/conda/models/channel.py b/conda/models/channel.py
index 0000000..0000000 100644
--- a/conda/models/channel.py
+++ b/conda/models/channel.py
@@ -410,14 +410,12 @@ def prioritize_channels(channels, with_credentials=True, subdirs=None):
# number as the value
# ('https://conda.anaconda.org/conda-fo... | 12,558 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5221",
"repo": "conda/conda",
"base_commit": "052a5e7355297db55e49b39957b5f7e4114ce223",
"pull_number": 5221,
"issue_numbers": [
"5207"
... |
conda__conda-5226 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 534824e1083df9a7df2fc2b84464965991c44caf
Changed files:
- conda/core/path_actions.py
- co... | diff --git a/conda/core/path_actions.py b/conda/core/path_actions.py
index 0000000..0000000 100644
--- a/conda/core/path_actions.py
+++ b/conda/core/path_actions.py
@@ -221,7 +221,7 @@ class LinkPathAction(CreateInPrefixPathAction):
# with max_retries = 2, max total time ~= 0.4 sec
# with max_... | 41,849 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5226",
"repo": "conda/conda",
"base_commit": "534824e1083df9a7df2fc2b84464965991c44caf",
"pull_number": 5226,
"issue_numbers": [
"4224"
... |
conda__conda-5228 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 194d2ee2251dc07a7d4b71c5ea26f6a0e9215dc0
Changed files:
- conda/cli/install.py
## Proble... | diff --git a/conda/cli/install.py b/conda/cli/install.py
index 0000000..0000000 100644
--- a/conda/cli/install.py
+++ b/conda/cli/install.py
@@ -10,7 +10,6 @@ from difflib import get_close_matches
import logging
import os
from os.path import abspath, basename, exists, isdir, join
-import re
from . import common
... | 8,935 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5228",
"repo": "conda/conda",
"base_commit": "194d2ee2251dc07a7d4b71c5ea26f6a0e9215dc0",
"pull_number": 5228,
"issue_numbers": [
"4987",
... |
conda__conda-5231 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 194d2ee2251dc07a7d4b71c5ea26f6a0e9215dc0
Changed files:
- conda/cli/main_remove.py
## Pr... | diff --git a/conda/cli/main_remove.py b/conda/cli/main_remove.py
index 0000000..0000000 100644
--- a/conda/cli/main_remove.py
+++ b/conda/cli/main_remove.py
@@ -9,7 +9,7 @@ from __future__ import absolute_import, division, print_function, unicode_litera
from argparse import RawDescriptionHelpFormatter
from collection... | 6,546 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5231",
"repo": "conda/conda",
"base_commit": "194d2ee2251dc07a7d4b71c5ea26f6a0e9215dc0",
"pull_number": 5231,
"issue_numbers": [
"3489"
... |
conda__conda-5232 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 0eddaa3089822cec0394b69b3c6a9ac294afafef
Changed files:
- conda/cli/main_config.py
## Pr... | diff --git a/conda/cli/main_config.py b/conda/cli/main_config.py
index 0000000..0000000 100644
--- a/conda/cli/main_config.py
+++ b/conda/cli/main_config.py
@@ -423,8 +423,12 @@ def execute_config(args, parser):
# config.rc_keys
if not args.get:
- with open(rc_path, 'w') as rc:
- rc.write(... | 10,727 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5232",
"repo": "conda/conda",
"base_commit": "0eddaa3089822cec0394b69b3c6a9ac294afafef",
"pull_number": 5232,
"issue_numbers": [
"598"
... |
conda__conda-5236 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 8807d9c06470d6262d986f330b10f610f4d95e12
Changed files:
- conda/__init__.py
## Problem s... | diff --git a/conda/__init__.py b/conda/__init__.py
index 0000000..0000000 100644
--- a/conda/__init__.py
+++ b/conda/__init__.py
@@ -44,7 +44,19 @@ class CondaError(Exception):
return '%s: %s' % (self.__class__.__name__, text_type(self))
def __str__(self):
- return text_type(self.message % self._... | 3,577 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5236",
"repo": "conda/conda",
"base_commit": "8807d9c06470d6262d986f330b10f610f4d95e12",
"pull_number": 5236,
"issue_numbers": [
"4960"
... |
conda__conda-5239 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 8807d9c06470d6262d986f330b10f610f4d95e12
Changed files:
- conda/core/link.py
## Problem ... | diff --git a/conda/core/link.py b/conda/core/link.py
index 0000000..0000000 100644
--- a/conda/core/link.py
+++ b/conda/core/link.py
@@ -104,8 +104,9 @@ class UnlinkLinkTransaction(object):
@classmethod
def create_from_dists(cls, index, target_prefix, unlink_dists, link_dists):
# This constructor met... | 15,192 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5239",
"repo": "conda/conda",
"base_commit": "8807d9c06470d6262d986f330b10f610f4d95e12",
"pull_number": 5239,
"issue_numbers": [
"4974"
... |
conda__conda-5241 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: c2136f17e0fdd693e73d035c08742ad995654ab2
Changed files:
- conda/cli/main_info.py
- conda/... | diff --git a/conda/cli/main_info.py b/conda/cli/main_info.py
index 0000000..0000000 100644
--- a/conda/cli/main_info.py
+++ b/conda/cli/main_info.py
@@ -223,7 +223,10 @@ def get_info_dict(system=False):
user_agent=user_agent,
conda_location=CONDA_PACKAGE_ROOT,
)
- if not on_win:
+ if on_win... | 11,786 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5241",
"repo": "conda/conda",
"base_commit": "c2136f17e0fdd693e73d035c08742ad995654ab2",
"pull_number": 5241,
"issue_numbers": [
"4151"
... |
conda__conda-5249 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 6fc7a5fbe41d36103b8d7d0bb8df3162d7a9e45a
Changed files:
- conda/core/package_cache.py
##... | diff --git a/conda/core/package_cache.py b/conda/core/package_cache.py
index 0000000..0000000 100644
--- a/conda/core/package_cache.py
+++ b/conda/core/package_cache.py
@@ -262,6 +262,8 @@ class PackageCache(object):
if not package_filename.endswith(CONDA_TARBALL_EXTENSION):
package_filena... | 15,154 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5249",
"repo": "conda/conda",
"base_commit": "6fc7a5fbe41d36103b8d7d0bb8df3162d7a9e45a",
"pull_number": 5249,
"issue_numbers": [
"4516"
... |
conda__conda-5250 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 6fc7a5fbe41d36103b8d7d0bb8df3162d7a9e45a
Changed files:
- conda/gateways/disk/create.py
... | diff --git a/conda/gateways/disk/create.py b/conda/gateways/disk/create.py
index 0000000..0000000 100644
--- a/conda/gateways/disk/create.py
+++ b/conda/gateways/disk/create.py
@@ -200,6 +200,7 @@ def _do_softlink(src, dst):
# A future optimization will be to copy code from @mingwandroid's virtualenv patch.
... | 21,276 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5250",
"repo": "conda/conda",
"base_commit": "6fc7a5fbe41d36103b8d7d0bb8df3162d7a9e45a",
"pull_number": 5250,
"issue_numbers": [
"5242"
... |
conda__conda-5252 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: d2743a31026824c0b53c225941560936bd886970
Changed files:
- conda/core/link.py
## Problem ... | diff --git a/conda/core/link.py b/conda/core/link.py
index 0000000..0000000 100644
--- a/conda/core/link.py
+++ b/conda/core/link.py
@@ -691,7 +691,7 @@ def run_script(prefix, dist, action='post-link', env_prefix=None):
log.info("failed to run %s for %s due to COMSPEC KeyError", action, dist)
... | 19,623 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5252",
"repo": "conda/conda",
"base_commit": "d2743a31026824c0b53c225941560936bd886970",
"pull_number": 5252,
"issue_numbers": [
"1509"
... |
conda__conda-5259 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: bd628e251e024b9574dd2634b6ce47fba5bdcc95
Changed files:
- conda/cli/main_config.py
## Pr... | diff --git a/conda/cli/main_config.py b/conda/cli/main_config.py
index 0000000..0000000 100644
--- a/conda/cli/main_config.py
+++ b/conda/cli/main_config.py
@@ -279,22 +279,16 @@ def execute_config(args, parser):
sort_keys=True, indent=2, separators=(',', ': '),
... | 10,477 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5259",
"repo": "conda/conda",
"base_commit": "bd628e251e024b9574dd2634b6ce47fba5bdcc95",
"pull_number": 5259,
"issue_numbers": [
"5258"
... |
conda__conda-5261 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 01996fe9e596e2ad5e9d75474d092104b90b6993
Changed files:
- conda/gateways/disk/create.py
... | diff --git a/conda/gateways/disk/create.py b/conda/gateways/disk/create.py
index 0000000..0000000 100644
--- a/conda/gateways/disk/create.py
+++ b/conda/gateways/disk/create.py
@@ -8,7 +8,7 @@ from logging import getLogger
import os
from os import X_OK, access, makedirs
from os.path import basename, isdir, isfile, j... | 15,546 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5261",
"repo": "conda/conda",
"base_commit": "01996fe9e596e2ad5e9d75474d092104b90b6993",
"pull_number": 5261,
"issue_numbers": [
"4911",
... |
conda__conda-5265 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 94b1f760c82d178fa884f216b8aeaaf65714aa6d
Changed files:
- conda/base/context.py
- conda/c... | diff --git a/conda/base/context.py b/conda/base/context.py
index 0000000..0000000 100644
--- a/conda/base/context.py
+++ b/conda/base/context.py
@@ -155,7 +155,9 @@ class Context(Configuration):
dry_run = PrimitiveParameter(False)
force = PrimitiveParameter(False)
json = PrimitiveParameter(False)
+ no... | 42,366 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5265",
"repo": "conda/conda",
"base_commit": "94b1f760c82d178fa884f216b8aeaaf65714aa6d",
"pull_number": 5265,
"issue_numbers": [
"1543"
... |
conda__conda-5269 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 587594c5247499761671c944fe78da8bd1a3bf1d
Changed files:
- conda/cli/main_info.py
## Prob... | diff --git a/conda/cli/main_info.py b/conda/cli/main_info.py
index 0000000..0000000 100644
--- a/conda/cli/main_info.py
+++ b/conda/cli/main_info.py
@@ -198,6 +198,9 @@ def get_info_dict(system=False):
for c in channels]
channels = [mask_anaconda_token(c) for c in channels]
+ config_files... | 11,029 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5269",
"repo": "conda/conda",
"base_commit": "587594c5247499761671c944fe78da8bd1a3bf1d",
"pull_number": 5269,
"issue_numbers": [
"5147"
... |
conda__conda-5273 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: d46ee3535f8049f1f9408bb48246a9f741e58fb0
Changed files:
- conda_env/yaml.py
## Problem s... | diff --git a/conda_env/yaml.py b/conda_env/yaml.py
index 0000000..0000000 100644
--- a/conda_env/yaml.py
+++ b/conda_env/yaml.py
@@ -6,6 +6,7 @@ This is based on the answer at http://stackoverflow.com/a/16782282
from __future__ import absolute_import, print_function
from collections import OrderedDict
+from conda.c... | 1,068 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5273",
"repo": "conda/conda",
"base_commit": "d46ee3535f8049f1f9408bb48246a9f741e58fb0",
"pull_number": 5273,
"issue_numbers": [
"5272"
... |
conda__conda-5274 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: d46ee3535f8049f1f9408bb48246a9f741e58fb0
Changed files:
- conda_env/pip_util.py
## Probl... | diff --git a/conda_env/pip_util.py b/conda_env/pip_util.py
index 0000000..0000000 100644
--- a/conda_env/pip_util.py
+++ b/conda_env/pip_util.py
@@ -4,6 +4,8 @@ Functions related to core conda functionality that relates to pip
NOTE: This modules used to in conda, as conda/pip.py
"""
from __future__ import absolute_i... | 3,423 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5274",
"repo": "conda/conda",
"base_commit": "d46ee3535f8049f1f9408bb48246a9f741e58fb0",
"pull_number": 5274,
"issue_numbers": [
"4596"
... |
conda__conda-5275 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: d46ee3535f8049f1f9408bb48246a9f741e58fb0
Changed files:
- conda_env/__main__.py
- conda_e... | diff --git a/conda_env/__main__.py b/conda_env/__main__.py
new file mode 100644
index 0000000..0000000
--- /dev/null
+++ b/conda_env/__main__.py
@@ -0,0 +1,5 @@
+import sys
+
+from .cli.main import main
+
+sys.exit(main())
diff --git a/conda_env/cli/main_export.py b/conda_env/cli/main_export.py
index 0000000..0000000 1... | 2,353 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5275",
"repo": "conda/conda",
"base_commit": "d46ee3535f8049f1f9408bb48246a9f741e58fb0",
"pull_number": 5275,
"issue_numbers": [
"4795"
... |
conda__conda-5276 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: d46ee3535f8049f1f9408bb48246a9f741e58fb0
Changed files:
- conda_env/specs/__init__.py
- c... | diff --git a/conda_env/specs/__init__.py b/conda_env/specs/__init__.py
index 0000000..0000000 100644
--- a/conda_env/specs/__init__.py
+++ b/conda_env/specs/__init__.py
@@ -24,4 +24,8 @@ def detect(**kwargs):
def build_message(specs):
- return "\n".join([s.msg for s in specs if s.msg is not None])
+ binstar_... | 6,776 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5276",
"repo": "conda/conda",
"base_commit": "d46ee3535f8049f1f9408bb48246a9f741e58fb0",
"pull_number": 5276,
"issue_numbers": [
"3689"
... |
conda__conda-5284 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: ef896b73f3191cdee93a13fb19ce2a4e79c94767
Changed files:
- conda/cli/install.py
- conda/mi... | diff --git a/conda/cli/install.py b/conda/cli/install.py
index 0000000..0000000 100644
--- a/conda/cli/install.py
+++ b/conda/cli/install.py
@@ -35,8 +35,6 @@ log = logging.getLogger(__name__)
def check_prefix(prefix, json=False):
name = basename(prefix)
error = None
- if name.startswith('.'):
- er... | 17,302 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5284",
"repo": "conda/conda",
"base_commit": "ef896b73f3191cdee93a13fb19ce2a4e79c94767",
"pull_number": 5284,
"issue_numbers": [
"1427"
... |
conda__conda-5308 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 19c3c149801bbc4a9a0b834306e21cab6f7c81f0
Changed files:
- conda/cli/main_package.py
- con... | diff --git a/conda/cli/main_package.py b/conda/cli/main_package.py
index 0000000..0000000 100644
--- a/conda/cli/main_package.py
+++ b/conda/cli/main_package.py
@@ -263,9 +263,11 @@ def which_package(path):
if prefix is None:
from ..exceptions import CondaVerificationError
raise CondaVerification... | 13,495 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5308",
"repo": "conda/conda",
"base_commit": "19c3c149801bbc4a9a0b834306e21cab6f7c81f0",
"pull_number": 5308,
"issue_numbers": [
"1713"
... |
conda__conda-5309 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 19c3c149801bbc4a9a0b834306e21cab6f7c81f0
Changed files:
- conda/cli/main_config.py
## Pr... | diff --git a/conda/cli/main_config.py b/conda/cli/main_config.py
index 0000000..0000000 100644
--- a/conda/cli/main_config.py
+++ b/conda/cli/main_config.py
@@ -188,6 +188,11 @@ or the file path given by the 'CONDARC' environment variable, if it is set
default=[],
metavar="KEY",
)
+ action.add... | 10,558 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5309",
"repo": "conda/conda",
"base_commit": "19c3c149801bbc4a9a0b834306e21cab6f7c81f0",
"pull_number": 5309,
"issue_numbers": [
"2511",
... |
conda__conda-5310 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 19c3c149801bbc4a9a0b834306e21cab6f7c81f0
Changed files:
- conda/cli/main_config.py
## Pr... | diff --git a/conda/cli/main_config.py b/conda/cli/main_config.py
index 0000000..0000000 100644
--- a/conda/cli/main_config.py
+++ b/conda/cli/main_config.py
@@ -383,18 +383,31 @@ def execute_config(args, parser):
json_warnings.append(message)
arglist.insert(0 if prepend else len(arglis... | 10,859 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5310",
"repo": "conda/conda",
"base_commit": "19c3c149801bbc4a9a0b834306e21cab6f7c81f0",
"pull_number": 5310,
"issue_numbers": [
"4302"
... |
conda__conda-5311 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: e7b1a6bf1eac0f00b84cb70911d5df0694978119
Changed files:
- conda/cli/main_clean.py
## Pro... | diff --git a/conda/cli/main_clean.py b/conda/cli/main_clean.py
index 0000000..0000000 100644
--- a/conda/cli/main_clean.py
+++ b/conda/cli/main_clean.py
@@ -120,7 +120,7 @@ def rm_tarballs(args, pkgs_dirs, totalsize, verbose=True):
print(fmt % ('Total:', human_bytes(totalsize)))
print()
- if not ... | 8,233 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5311",
"repo": "conda/conda",
"base_commit": "e7b1a6bf1eac0f00b84cb70911d5df0694978119",
"pull_number": 5311,
"issue_numbers": [
"4986"
... |
conda__conda-5312 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: d0399db929580685ed0790f64d55b60d4b10ed64
Changed files:
- conda/cli/main_config.py
## Pr... | diff --git a/conda/cli/main_config.py b/conda/cli/main_config.py
index 0000000..0000000 100644
--- a/conda/cli/main_config.py
+++ b/conda/cli/main_config.py
@@ -21,8 +21,7 @@ from ..common.compat import isiterable, iteritems, string_types, text_type
from ..common.configuration import pretty_list, pretty_map
from ..co... | 11,400 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5312",
"repo": "conda/conda",
"base_commit": "d0399db929580685ed0790f64d55b60d4b10ed64",
"pull_number": 5312,
"issue_numbers": [
"5256",
... |
conda__conda-5313 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 01352cfa00587b87f78d444f2ca896de91ed9716
Changed files:
- conda/cli/main_clean.py
## Pro... | diff --git a/conda/cli/main_clean.py b/conda/cli/main_clean.py
index 0000000..0000000 100644
--- a/conda/cli/main_clean.py
+++ b/conda/cli/main_clean.py
@@ -12,7 +12,7 @@ from os import listdir, lstat, walk
from os.path import getsize, isdir, join
import sys
-from .conda_argparse import add_parser_json, add_parser_... | 8,454 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5313",
"repo": "conda/conda",
"base_commit": "01352cfa00587b87f78d444f2ca896de91ed9716",
"pull_number": 5313,
"issue_numbers": [
"2173"
... |
conda__conda-5314 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 01352cfa00587b87f78d444f2ca896de91ed9716
Changed files:
- conda/cli/conda_argparse.py
- c... | diff --git a/conda/cli/conda_argparse.py b/conda/cli/conda_argparse.py
index 0000000..0000000 100644
--- a/conda/cli/conda_argparse.py
+++ b/conda/cli/conda_argparse.py
@@ -381,20 +381,10 @@ def add_parser_known(p):
def add_parser_use_index_cache(p):
p.add_argument(
- "--use-index-cache",
+ "-C", ... | 15,192 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5314",
"repo": "conda/conda",
"base_commit": "01352cfa00587b87f78d444f2ca896de91ed9716",
"pull_number": 5314,
"issue_numbers": [
"1992"
... |
conda__conda-5316 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: c40d1013b0998935a693f758d8198579f02f58b2
Changed files:
- conda/base/context.py
## Probl... | diff --git a/conda/base/context.py b/conda/base/context.py
index 0000000..0000000 100644
--- a/conda/base/context.py
+++ b/conda/base/context.py
@@ -103,7 +103,7 @@ class Context(Configuration):
# remote connection details
ssl_verify = PrimitiveParameter(True, element_type=string_types + (bool,),
- ... | 19,875 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5316",
"repo": "conda/conda",
"base_commit": "c40d1013b0998935a693f758d8198579f02f58b2",
"pull_number": 5316,
"issue_numbers": [
"5315"
... |
conda__conda-5333 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 714412283af4e9d8bd520ab8e7c3e944926833b5
Changed files:
- conda/cli/main_info.py
- conda/... | diff --git a/conda/cli/main_info.py b/conda/cli/main_info.py
index 0000000..0000000 100644
--- a/conda/cli/main_info.py
+++ b/conda/cli/main_info.py
@@ -11,12 +11,12 @@ import json
from logging import getLogger
import os
from os import listdir
-from os.path import exists, expanduser, join
+from os.path import exists... | 18,936 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5333",
"repo": "conda/conda",
"base_commit": "714412283af4e9d8bd520ab8e7c3e944926833b5",
"pull_number": 5333,
"issue_numbers": [
"3399"
... |
conda__conda-5335 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: eb3eb4c934cbc344d84a7073e187360d41905093
Changed files:
- conda_env/cli/main_update.py
#... | diff --git a/conda_env/cli/main_update.py b/conda_env/cli/main_update.py
index 0000000..0000000 100644
--- a/conda_env/cli/main_update.py
+++ b/conda_env/cli/main_update.py
@@ -79,7 +79,7 @@ def execute(args, parser):
except exceptions.SpecNotFound:
raise
- if not args.name:
+ if not (args.name or... | 3,475 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5335",
"repo": "conda/conda",
"base_commit": "eb3eb4c934cbc344d84a7073e187360d41905093",
"pull_number": 5335,
"issue_numbers": [
"3810"
... |
conda__conda-5342 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 79f86d4cf31e6275cf3b201e76b43a95ecbb9888
Changed files:
- conda/cli/main.py
- conda_env/c... | diff --git a/conda/cli/main.py b/conda/cli/main.py
index 0000000..0000000 100644
--- a/conda/cli/main.py
+++ b/conda/cli/main.py
@@ -80,12 +80,24 @@ def generate_parser():
return p, sub_parsers
+def init_loggers(context):
+ from ..gateways.logging import set_all_logger_level, set_verbosity
+ if not conte... | 7,994 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5342",
"repo": "conda/conda",
"base_commit": "79f86d4cf31e6275cf3b201e76b43a95ecbb9888",
"pull_number": 5342,
"issue_numbers": [
"5341"
... |
conda__conda-5357 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 79f86d4cf31e6275cf3b201e76b43a95ecbb9888
Changed files:
- conda/cli/conda_argparse.py
##... | diff --git a/conda/cli/conda_argparse.py b/conda/cli/conda_argparse.py
index 0000000..0000000 100644
--- a/conda/cli/conda_argparse.py
+++ b/conda/cli/conda_argparse.py
@@ -121,7 +121,7 @@ class ArgumentParser(argparse.ArgumentParser):
else:
argument = None
if argument and arg... | 4,754 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5357",
"repo": "conda/conda",
"base_commit": "79f86d4cf31e6275cf3b201e76b43a95ecbb9888",
"pull_number": 5357,
"issue_numbers": [
"5346"
... |
conda__conda-5359 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 98c6d80f3299edf775b495f90651d558248d2cf8
Changed files:
- conda/cli/conda_argparse.py
##... | diff --git a/conda/cli/conda_argparse.py b/conda/cli/conda_argparse.py
index 0000000..0000000 100644
--- a/conda/cli/conda_argparse.py
+++ b/conda/cli/conda_argparse.py
@@ -45,7 +45,6 @@ class ArgumentParser(ArgumentParserBase):
def error(self, message):
import re
- import subprocess
fro... | 8,758 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5359",
"repo": "conda/conda",
"base_commit": "98c6d80f3299edf775b495f90651d558248d2cf8",
"pull_number": 5359,
"issue_numbers": [
"5358"
... |
conda__conda-5368 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 99f5bff861d7c89419a87967aac22e415bf85581
Changed files:
- conda/common/platform.py
## Pr... | diff --git a/conda/common/platform.py b/conda/common/platform.py
index 0000000..0000000 100644
--- a/conda/common/platform.py
+++ b/conda/common/platform.py
@@ -18,8 +18,8 @@ def is_admin_on_windows(): # pragma: unix no cover
if not on_win: # pragma: no cover
return False
try:
- from ctypes.... | 2,133 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5368",
"repo": "conda/conda",
"base_commit": "99f5bff861d7c89419a87967aac22e415bf85581",
"pull_number": 5368,
"issue_numbers": [
"5367"
... |
conda__conda-5373 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 4df735e8779af55b1452b6b3fc2d3d64d4ad06a7
Changed files:
- conda/plan.py
## Problem state... | diff --git a/conda/plan.py b/conda/plan.py
index 0000000..0000000 100644
--- a/conda/plan.py
+++ b/conda/plan.py
@@ -235,7 +235,7 @@ def display_actions(actions, index, show_channel_urls=None):
print(format(oldfmt[pkg] + arrow + newfmt[pkg], pkg))
if downgraded:
- print("\nThe following packa... | 23,484 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5373",
"repo": "conda/conda",
"base_commit": "4df735e8779af55b1452b6b3fc2d3d64d4ad06a7",
"pull_number": 5373,
"issue_numbers": [
"5248"
... |
conda__conda-5379 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: dd8b57b6a3f8cfd4d74ecdcf54328d8137526353
Changed files:
- conda/gateways/logging.py
## P... | diff --git a/conda/gateways/logging.py b/conda/gateways/logging.py
index 0000000..0000000 100644
--- a/conda/gateways/logging.py
+++ b/conda/gateways/logging.py
@@ -91,4 +91,3 @@ def trace(self, message, *args, **kwargs):
logging.addLevelName(TRACE, "TRACE")
logging.Logger.trace = trace
-initialize_logging() | 2,318 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5379",
"repo": "conda/conda",
"base_commit": "dd8b57b6a3f8cfd4d74ecdcf54328d8137526353",
"pull_number": 5379,
"issue_numbers": [
"5378"
... |
conda__conda-5380 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 0d0a47e40bc80d0e957ce20d4868b0d27440eaf9
Changed files:
- conda/gateways/logging.py
## P... | diff --git a/conda/gateways/logging.py b/conda/gateways/logging.py
index 0000000..0000000 100644
--- a/conda/gateways/logging.py
+++ b/conda/gateways/logging.py
@@ -37,7 +37,7 @@ class TokenURLFilter(Filter):
@memoize
def initialize_logging():
- initialize_root_logger()
+ # initialize_root_logger() # probabl... | 2,760 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5380",
"repo": "conda/conda",
"base_commit": "0d0a47e40bc80d0e957ce20d4868b0d27440eaf9",
"pull_number": 5380,
"issue_numbers": [
"5356"
... |
conda__conda-5382 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: e047925bba543e2c96fb648649fd2158824dcf55
Changed files:
- conda/resolve.py
## Problem st... | diff --git a/conda/resolve.py b/conda/resolve.py
index 0000000..0000000 100644
--- a/conda/resolve.py
+++ b/conda/resolve.py
@@ -531,7 +531,7 @@ class Resolve(object):
valid = 1 if cpri < MAX_CHANNEL_PRIORITY else 0
ver = normalized_version(rec.get('version', ''))
bld = rec.get('build_number'... | 29,492 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5382",
"repo": "conda/conda",
"base_commit": "e047925bba543e2c96fb648649fd2158824dcf55",
"pull_number": 5382,
"issue_numbers": [
"5298"
... |
conda__conda-5393 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 3a9025698a2ccc104f074e4384532a6d27363e2c
Changed files:
- conda/cli/main.py
## Problem s... | diff --git a/conda/cli/main.py b/conda/cli/main.py
index 0000000..0000000 100644
--- a/conda/cli/main.py
+++ b/conda/cli/main.py
@@ -82,7 +82,7 @@ def generate_parser():
def init_loggers(context):
from ..gateways.logging import set_all_logger_level, set_verbosity
- if not context.json:
+ if context.json:
... | 4,879 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5393",
"repo": "conda/conda",
"base_commit": "3a9025698a2ccc104f074e4384532a6d27363e2c",
"pull_number": 5393,
"issue_numbers": [
"5384",
... |
conda__conda-5404 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: d837cc25b5e6a5760a229ab2883ef31411087dde
Changed files:
- conda/cli/python_api.py
## Pro... | diff --git a/conda/cli/python_api.py b/conda/cli/python_api.py
index 0000000..0000000 100644
--- a/conda/cli/python_api.py
+++ b/conda/cli/python_api.py
@@ -35,7 +35,10 @@ def get_configure_parser_function(command):
def run_command(command, *arguments, **kwargs):
- """
+ """Runs a conda command in-process wi... | 2,863 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5404",
"repo": "conda/conda",
"base_commit": "d837cc25b5e6a5760a229ab2883ef31411087dde",
"pull_number": 5404,
"issue_numbers": [
"5217",
... |
conda__conda-5412 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: ce7e9d845ddd17f52967d9cc454f824617a78fdc
Changed files:
- conda/cli/main_config.py
## Pr... | diff --git a/conda/cli/main_config.py b/conda/cli/main_config.py
index 0000000..0000000 100644
--- a/conda/cli/main_config.py
+++ b/conda/cli/main_config.py
@@ -9,7 +9,7 @@ from argparse import SUPPRESS
import collections
import json
import os
-from os.path import join
+from os.path import isfile, join
import sys
... | 11,577 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5412",
"repo": "conda/conda",
"base_commit": "ce7e9d845ddd17f52967d9cc454f824617a78fdc",
"pull_number": 5412,
"issue_numbers": [
"5411"
... |
conda__conda-5414 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: ce7e9d845ddd17f52967d9cc454f824617a78fdc
Changed files:
- conda/resolve.py
## Problem st... | diff --git a/conda/resolve.py b/conda/resolve.py
index 0000000..0000000 100644
--- a/conda/resolve.py
+++ b/conda/resolve.py
@@ -510,6 +510,9 @@ class Resolve(object):
def generate_removal_count(self, C, specs):
return {'!'+self.push_MatchSpec(C, ms.name): 1 for ms in specs}
+ def generate_install_co... | 26,141 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5414",
"repo": "conda/conda",
"base_commit": "ce7e9d845ddd17f52967d9cc454f824617a78fdc",
"pull_number": 5414,
"issue_numbers": [
"5081",
... |
conda__conda-5421 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: 3e96017a129c066ec7738968d3cbe4b59dd26b7b
Changed files:
- conda_env/cli/main_update.py
#... | diff --git a/conda_env/cli/main_update.py b/conda_env/cli/main_update.py
index 0000000..0000000 100644
--- a/conda_env/cli/main_update.py
+++ b/conda_env/cli/main_update.py
@@ -1,18 +1,16 @@
from argparse import RawDescriptionHelpFormatter
import os
-import textwrap
import sys
+import textwrap
-from conda import c... | 3,415 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5421",
"repo": "conda/conda",
"base_commit": "3e96017a129c066ec7738968d3cbe4b59dd26b7b",
"pull_number": 5421,
"issue_numbers": [
"5420"
... |
conda__conda-5426 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: conda/conda
Base commit: c93159791bb4600a1f67a06c7108c5c73ffcfd98
Changed files:
- conda/common/platform.py
## Pr... | diff --git a/conda/common/platform.py b/conda/common/platform.py
index 0000000..0000000 100644
--- a/conda/common/platform.py
+++ b/conda/common/platform.py
@@ -19,12 +19,12 @@ def is_admin_on_windows(): # pragma: unix no cover
return False
try:
from ctypes import windll
- return windll.s... | 2,523 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-5426",
"repo": "conda/conda",
"base_commit": "c93159791bb4600a1f67a06c7108c5c73ffcfd98",
"pull_number": 5426,
"issue_numbers": [
"5425"
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.