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-6724 | 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: c23e57dfb935b5852eefb4e04187caf82b4e0b78
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
@@ -351,7 +351,6 @@ def revert_actions(prefix, revision=-1, index=None):
# TODO: If revision raise a revision error, should always go back to a safe revision
# change
h = History(prefix)
- ... | 17,504 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6724",
"repo": "conda/conda",
"base_commit": "c23e57dfb935b5852eefb4e04187caf82b4e0b78",
"pull_number": 6724,
"issue_numbers": [
"6628"
... |
conda__conda-6741 | 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: d6d3ec3f8546ced1e803f5c232d39ec8da028057
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
@@ -206,14 +206,12 @@ class EnvRawParameter(RawParameter):
def value(self, parameter_obj):
if hasattr(parameter_obj, 'string_de... | 24,527 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6741",
"repo": "conda/conda",
"base_commit": "d6d3ec3f8546ced1e803f5c232d39ec8da028057",
"pull_number": 6741,
"issue_numbers": [
"6733"
... |
conda__conda-6746 | 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: c97895ce02b9cd38a4fa854088e4dd88c24badd9
Changed files:
- conda_env/installers/conda.py
... | diff --git a/conda_env/installers/conda.py b/conda_env/installers/conda.py
index 0000000..0000000 100644
--- a/conda_env/installers/conda.py
+++ b/conda_env/installers/conda.py
@@ -28,8 +28,7 @@ def install(prefix, specs, args, env, *_, **kwargs):
channel_urls.extend(context.channels)
_channel_priority_ma... | 3,266 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6746",
"repo": "conda/conda",
"base_commit": "c97895ce02b9cd38a4fa854088e4dd88c24badd9",
"pull_number": 6746,
"issue_numbers": [
"6745"
... |
conda__conda-6752 | 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: fa6526110300f241a41610894fbce34ff4341fdd
Changed files:
- conda/core/envs_manager.py
## ... | diff --git a/conda/core/envs_manager.py b/conda/core/envs_manager.py
index 0000000..0000000 100644
--- a/conda/core/envs_manager.py
+++ b/conda/core/envs_manager.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
+from errno import EACCES
f... | 3,642 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6752",
"repo": "conda/conda",
"base_commit": "fa6526110300f241a41610894fbce34ff4341fdd",
"pull_number": 6752,
"issue_numbers": [
"6748"
... |
conda__conda-6754 | 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: fa6526110300f241a41610894fbce34ff4341fdd
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
@@ -122,11 +122,8 @@ class ChannelField(ComposableField):
try:
return super(ChannelField, self).__get__(instance, instance_ty... | 10,932 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6754",
"repo": "conda/conda",
"base_commit": "fa6526110300f241a41610894fbce34ff4341fdd",
"pull_number": 6754,
"issue_numbers": [
"6537"
... |
conda__conda-6764 | 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: fa6526110300f241a41610894fbce34ff4341fdd
Changed files:
- conda/exceptions.py
- conda/gat... | diff --git a/conda/exceptions.py b/conda/exceptions.py
index 0000000..0000000 100644
--- a/conda/exceptions.py
+++ b/conda/exceptions.py
@@ -582,6 +582,21 @@ class CondaUpgradeError(CondaError):
super(CondaUpgradeError, self).__init__(msg)
+class CaseInsensitiveFileSystemError(CondaError):
+ def __init_... | 38,796 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6764",
"repo": "conda/conda",
"base_commit": "fa6526110300f241a41610894fbce34ff4341fdd",
"pull_number": 6764,
"issue_numbers": [
"6514"
... |
conda__conda-6766 | 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: ad07eba8949e998728c8041af4fc76c34f6bb9ee
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
@@ -628,7 +628,14 @@ class Resolve(object):
for name, group in iteritems(self.groups):
nf = [len(self.features(dist)) for dist in group]
maxf = max(nf)
- ... | 29,374 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6766",
"repo": "conda/conda",
"base_commit": "ad07eba8949e998728c8041af4fc76c34f6bb9ee",
"pull_number": 6766,
"issue_numbers": [
"6765"
... |
conda__conda-6773 | 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: c1af02bb4fcfb8c962bb52d040ba705174345889
Changed files:
- conda_env/cli/main.py
## Probl... | diff --git a/conda_env/cli/main.py b/conda_env/cli/main.py
index 0000000..0000000 100644
--- a/conda_env/cli/main.py
+++ b/conda_env/cli/main.py
@@ -79,6 +79,7 @@ def main():
initialize_logging()
parser = create_parser()
args = parser.parse_args()
+ os.environ["CONDA_AUTO_UPDATE_CONDA"] = "false"
... | 5,347 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6773",
"repo": "conda/conda",
"base_commit": "c1af02bb4fcfb8c962bb52d040ba705174345889",
"pull_number": 6773,
"issue_numbers": [
"6672"
... |
conda__conda-6775 | 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: c1af02bb4fcfb8c962bb52d040ba705174345889
Changed files:
- conda/activate.py
## Problem s... | diff --git a/conda/activate.py b/conda/activate.py
index 0000000..0000000 100644
--- a/conda/activate.py
+++ b/conda/activate.py
@@ -87,7 +87,7 @@ class Activator(object):
self.script_extension = '.bat'
self.tempfile_extension = '.bat'
self.shift_args = 1
- self.command... | 25,837 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6775",
"repo": "conda/conda",
"base_commit": "c1af02bb4fcfb8c962bb52d040ba705174345889",
"pull_number": 6775,
"issue_numbers": [
"6770"
... |
conda__conda-6776 | 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: c1af02bb4fcfb8c962bb52d040ba705174345889
Changed files:
- conda/exceptions.py
## Problem... | diff --git a/conda/exceptions.py b/conda/exceptions.py
index 0000000..0000000 100644
--- a/conda/exceptions.py
+++ b/conda/exceptions.py
@@ -592,6 +592,12 @@ class SafetyError(CondaError):
super(SafetyError, self).__init__(message)
+class CondaMemoryError(MemoryError, CondaError):
+ def __init__(self, c... | 26,113 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6776",
"repo": "conda/conda",
"base_commit": "c1af02bb4fcfb8c962bb52d040ba705174345889",
"pull_number": 6776,
"issue_numbers": [
"6699"
... |
conda__conda-6777 | 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: d503c26e0a9165f21b758238cdf08c3f1b81d20f
Changed files:
- conda/activate.py
## Problem s... | diff --git a/conda/activate.py b/conda/activate.py
index 0000000..0000000 100644
--- a/conda/activate.py
+++ b/conda/activate.py
@@ -43,6 +43,12 @@ class Activator(object):
self.shell = shell
self._raw_arguments = arguments
+ if PY2:
+ self.environ = {ensure_fs_path_encoding(k): en... | 28,149 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6777",
"repo": "conda/conda",
"base_commit": "d503c26e0a9165f21b758238cdf08c3f1b81d20f",
"pull_number": 6777,
"issue_numbers": [
"6739"
... |
conda__conda-6778 | 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: c1af02bb4fcfb8c962bb52d040ba705174345889
Changed files:
- conda/core/linked_data.py
- con... | diff --git a/conda/core/linked_data.py b/conda/core/linked_data.py
index 0000000..0000000 100644
--- a/conda/core/linked_data.py
+++ b/conda/core/linked_data.py
@@ -7,10 +7,11 @@ from os.path import join, lexists
from ..base.constants import CONDA_TARBALL_EXTENSION
from ..base.context import context
-from ..common.... | 31,176 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6778",
"repo": "conda/conda",
"base_commit": "c1af02bb4fcfb8c962bb52d040ba705174345889",
"pull_number": 6778,
"issue_numbers": [
"6390"
... |
conda__conda-6779 | 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: c1af02bb4fcfb8c962bb52d040ba705174345889
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
@@ -19,7 +19,8 @@ log = getLogger(__name__)
# duplicated code in the interest of import efficiency
on_win = bool(sys.platform == "win32")
user_rc_pa... | 31,058 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6779",
"repo": "conda/conda",
"base_commit": "c1af02bb4fcfb8c962bb52d040ba705174345889",
"pull_number": 6779,
"issue_numbers": [
"6645"
... |
conda__conda-6782 | 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: 33731c68637acb2b5cac46f122b50add46c10490
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
@@ -95,9 +95,10 @@ def default_python_validation(value):
def ssl_verify_validation(value):
if isinstance(value, string_types):
- if not isfile(value):
- ... | 59,388 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6782",
"repo": "conda/conda",
"base_commit": "33731c68637acb2b5cac46f122b50add46c10490",
"pull_number": 6782,
"issue_numbers": [
"5884",
... |
conda__conda-6784 | 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: d503c26e0a9165f21b758238cdf08c3f1b81d20f
Changed files:
- conda_env/installers/pip.py
##... | diff --git a/conda_env/installers/pip.py b/conda_env/installers/pip.py
index 0000000..0000000 100644
--- a/conda_env/installers/pip.py
+++ b/conda_env/installers/pip.py
@@ -38,6 +38,8 @@ def _pip_install_via_requirements(prefix, specs, args, *_, **kwargs):
requirements.close()
# pip command line...
... | 7,532 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6784",
"repo": "conda/conda",
"base_commit": "d503c26e0a9165f21b758238cdf08c3f1b81d20f",
"pull_number": 6784,
"issue_numbers": [
"6208"
... |
conda__conda-6790 | 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: d503c26e0a9165f21b758238cdf08c3f1b81d20f
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
@@ -195,25 +195,29 @@ def get_info_dict(system=False):
info_dict['UID'] = os.geteuid()
info_dict['GID'] = os.getegid()
- evars = {
+ env_var_keys... | 9,191 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6790",
"repo": "conda/conda",
"base_commit": "d503c26e0a9165f21b758238cdf08c3f1b81d20f",
"pull_number": 6790,
"issue_numbers": [
"6457"
... |
conda__conda-6795 | 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: 33731c68637acb2b5cac46f122b50add46c10490
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
@@ -87,7 +87,7 @@ def installed(prefix, output=True):
# version. We still include the conda version, though, because it
# is still installed.... | 4,891 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6795",
"repo": "conda/conda",
"base_commit": "33731c68637acb2b5cac46f122b50add46c10490",
"pull_number": 6795,
"issue_numbers": [
"5792"
... |
conda__conda-6798 | 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: 0ea03a77e4455e49507ef5495171d05115ad6876
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
@@ -521,11 +521,13 @@ def install_actions(prefix, index, specs, force=False, only_names=None, always_c
channels = IndexedSet(Channel(cn) for cn in channel_names)
subdirs = IndexedSet(basena... | 17,918 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6798",
"repo": "conda/conda",
"base_commit": "0ea03a77e4455e49507ef5495171d05115ad6876",
"pull_number": 6798,
"issue_numbers": [
"6531"
... |
conda__conda-6801 | 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: f28fc46de85ce6b11ffedfcdf245f1dd0ed61039
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
@@ -19,7 +19,7 @@ from ..gateways.disk.delete import delete_trash, rm_rf
from ..gateways.disk.test import is_conda_environment
from ..instructions import PREFIX
... | 7,349 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6801",
"repo": "conda/conda",
"base_commit": "f28fc46de85ce6b11ffedfcdf245f1dd0ed61039",
"pull_number": 6801,
"issue_numbers": [
"6632",
... |
conda__conda-6828 | 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: 158599161fcfcce024bf8257c7278a10fb3085e2
Changed files:
- conda/activate.py
## Problem s... | diff --git a/conda/activate.py b/conda/activate.py
index 0000000..0000000 100644
--- a/conda/activate.py
+++ b/conda/activate.py
@@ -361,11 +361,16 @@ class Activator(object):
'activate_scripts': (),
}
conda_default_env = self.environ.get('CONDA_DEFAULT_ENV', self._default_env(con... | 24,318 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6828",
"repo": "conda/conda",
"base_commit": "158599161fcfcce024bf8257c7278a10fb3085e2",
"pull_number": 6828,
"issue_numbers": [
"6796"
... |
conda__conda-6847 | 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: 158599161fcfcce024bf8257c7278a10fb3085e2
Changed files:
- conda/common/path.py
## Proble... | diff --git a/conda/common/path.py b/conda/common/path.py
index 0000000..0000000 100644
--- a/conda/common/path.py
+++ b/conda/common/path.py
@@ -8,7 +8,7 @@ from os.path import abspath, basename, expanduser, expandvars, join, normpath, s
import re
import subprocess
-from .compat import on_win, string_types
+from .c... | 8,142 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6847",
"repo": "conda/conda",
"base_commit": "158599161fcfcce024bf8257c7278a10fb3085e2",
"pull_number": 6847,
"issue_numbers": [
"6401"
... |
conda__conda-6849 | 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: 2af7d601371c5e0398f869271c0b8e27ab3058b4
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
@@ -101,11 +101,15 @@ def execute(args, parser):
# common.ensure_override_channels_requires_channel(args)
# channel_urls = args.channel o... | 4,613 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6849",
"repo": "conda/conda",
"base_commit": "2af7d601371c5e0398f869271c0b8e27ab3058b4",
"pull_number": 6849,
"issue_numbers": [
"6824",
... |
conda__conda-6853 | 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: 01cec212c8ec28274cf464c61380e72bc70dc3d0
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
@@ -566,13 +566,21 @@ class Resolve(object):
return sorted(dists, key=self.version_key)
@staticmethod
- def ms_to_v(ms):
+ def to_ms_clause_id(ms):
ms = MatchSpec(m... | 31,843 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6853",
"repo": "conda/conda",
"base_commit": "01cec212c8ec28274cf464c61380e72bc70dc3d0",
"pull_number": 6853,
"issue_numbers": [
"6833"
... |
conda__conda-6855 | 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: fcc29968afaafe343ba30e68da245c44516e69f0
Changed files:
- conda/core/index.py
- conda/cor... | 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
@@ -182,7 +182,7 @@ def get_reduced_index(prefix, channels, subdirs, specs):
pending_track_features = set()
def query_all(spec):
- futures = (executor.s... | 30,454 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6855",
"repo": "conda/conda",
"base_commit": "fcc29968afaafe343ba30e68da245c44516e69f0",
"pull_number": 6855,
"issue_numbers": [
"6837"
... |
conda__conda-6856 | 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: 75d7c612ff7398761618a107f9f7c21362b511e3
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
@@ -29,6 +29,7 @@ from ..gateways.disk.create import (compile_pyc, copy, create_hard_link_or_copy,
create_link, create... | 40,868 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6856",
"repo": "conda/conda",
"base_commit": "75d7c612ff7398761618a107f9f7c21362b511e3",
"pull_number": 6856,
"issue_numbers": [
"6852"
... |
conda__conda-6867 | 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: 31a52a8a8771aafb0582822dd2e00b3274e1ffba
Changed files:
- conda/gateways/disk/update.py
... | diff --git a/conda/gateways/disk/update.py b/conda/gateways/disk/update.py
index 0000000..0000000 100644
--- a/conda/gateways/disk/update.py
+++ b/conda/gateways/disk/update.py
@@ -7,10 +7,11 @@ import os
from os import rename as os_rename, utime
from os.path import dirname, isdir
import re
+from shutil import move
... | 7,536 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6867",
"repo": "conda/conda",
"base_commit": "31a52a8a8771aafb0582822dd2e00b3274e1ffba",
"pull_number": 6867,
"issue_numbers": [
"6811"
... |
conda__conda-6881 | 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: 31a52a8a8771aafb0582822dd2e00b3274e1ffba
Changed files:
- conda/models/version.py
## Pro... | diff --git a/conda/models/version.py b/conda/models/version.py
index 0000000..0000000 100644
--- a/conda/models/version.py
+++ b/conda/models/version.py
@@ -545,10 +545,13 @@ class BuildNumberMatch(object):
return self
def exact_match_(self, vspec):
- return self.spec == vspec
+ try:
+ ... | 15,928 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6881",
"repo": "conda/conda",
"base_commit": "31a52a8a8771aafb0582822dd2e00b3274e1ffba",
"pull_number": 6881,
"issue_numbers": [
"6880"
... |
conda__conda-6887 | 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: b5f1309be0b8aadefbe82c16a921a72d34695c93
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
@@ -64,18 +64,18 @@ RECOGNIZED_URL_SCHEMES = ('http', 'https', 'ftp', 's3', 'file')
DEFAULT_CHANNELS_UNIX = (
- 'https://repo.continuum.io/pkgs/main',
- 'ht... | 32,113 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6887",
"repo": "conda/conda",
"base_commit": "b5f1309be0b8aadefbe82c16a921a72d34695c93",
"pull_number": 6887,
"issue_numbers": [
"6886"
... |
conda__conda-6892 | 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: d7fd1accc4abdc084550800e71a0f620c63dad0b
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
@@ -587,7 +587,6 @@ class Context(Configuration):
'error_upload_url', # should remain undocumented
'force_32bit',
'ignore_pinned',
- ... | 29,932 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6892",
"repo": "conda/conda",
"base_commit": "d7fd1accc4abdc084550800e71a0f620c63dad0b",
"pull_number": 6892,
"issue_numbers": [
"6882"
... |
conda__conda-6908 | 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: 70ef29117690193a92181f2bd4e7e0ab845158ba
Changed files:
- conda/core/envs_manager.py
## ... | diff --git a/conda/core/envs_manager.py b/conda/core/envs_manager.py
index 0000000..0000000 100644
--- a/conda/core/envs_manager.py
+++ b/conda/core/envs_manager.py
@@ -22,7 +22,7 @@ USER_ENVIRONMENTS_TXT_FILE = expand(join('~', '.conda', 'environments.txt'))
def register_env(location):
location = normpath(locati... | 10,023 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6908",
"repo": "conda/conda",
"base_commit": "70ef29117690193a92181f2bd4e7e0ab845158ba",
"pull_number": 6908,
"issue_numbers": [
"6900"
... |
conda__conda-6911 | 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: 70ef29117690193a92181f2bd4e7e0ab845158ba
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
@@ -229,7 +229,8 @@ class PackageRef(BasePackageRef):
@property
def _pkey(self):
- return self.channel.canonical_name, self.subd... | 7,222 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6911",
"repo": "conda/conda",
"base_commit": "70ef29117690193a92181f2bd4e7e0ab845158ba",
"pull_number": 6911,
"issue_numbers": [
"6910"
... |
conda__conda-6918 | 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: b5f1309be0b8aadefbe82c16a921a72d34695c93
Changed files:
- conda/cli/main_help.py
## Prob... | diff --git a/conda/cli/main_help.py b/conda/cli/main_help.py
index 0000000..0000000 100644
--- a/conda/cli/main_help.py
+++ b/conda/cli/main_help.py
@@ -5,7 +5,6 @@
# Consult LICENSE.txt or http://opensource.org/licenses/BSD-3-Clause.
from __future__ import absolute_import, division, print_function, unicode_literals
... | 911 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6918",
"repo": "conda/conda",
"base_commit": "b5f1309be0b8aadefbe82c16a921a72d34695c93",
"pull_number": 6918,
"issue_numbers": [
"6192"
... |
conda__conda-6921 | 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: 70ef29117690193a92181f2bd4e7e0ab845158ba
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
@@ -4,7 +4,7 @@ from __future__ import absolute_import, division, print_function, unicode_litera
from itertools import chain
from logging import getLogger
-from .linked_data impor... | 6,437 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6921",
"repo": "conda/conda",
"base_commit": "70ef29117690193a92181f2bd4e7e0ab845158ba",
"pull_number": 6921,
"issue_numbers": [
"6920"
... |
conda__conda-6923 | 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: 7e8cb610b1463d7532a88649c740635aaa8fd0c4
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
@@ -244,6 +244,7 @@ class Activator(object):
new_path = self.pathsep_join(self._add_prefix_to_path(prefix))
export_vars = {
'CONDA_PYTHON_EXE': self... | 47,060 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6923",
"repo": "conda/conda",
"base_commit": "7e8cb610b1463d7532a88649c740635aaa8fd0c4",
"pull_number": 6923,
"issue_numbers": [
"6810"
... |
conda__conda-6928 | 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: 34b41dd8f397796c3f9b3c290022aa703f28b7e1
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
@@ -96,6 +96,7 @@ class _FeaturesField(ListField):
def box(self, instance, instance_type, val):
if isinstance(val, string_types):
... | 56,667 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6928",
"repo": "conda/conda",
"base_commit": "34b41dd8f397796c3f9b3c290022aa703f28b7e1",
"pull_number": 6928,
"issue_numbers": [
"6860"
... |
conda__conda-6931 | 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: 370e05969595a7821e27ce1fdf5190490d5f9e01
Changed files:
- conda/gateways/connection/adapt... | diff --git a/conda/gateways/connection/adapters/s3.py b/conda/gateways/connection/adapters/s3.py
index 0000000..0000000 100644
--- a/conda/gateways/connection/adapters/s3.py
+++ b/conda/gateways/connection/adapters/s3.py
@@ -116,3 +116,5 @@ class S3Adapter(BaseAdapter):
resp.close = resp.raw.close
... | 4,887 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6931",
"repo": "conda/conda",
"base_commit": "370e05969595a7821e27ce1fdf5190490d5f9e01",
"pull_number": 6931,
"issue_numbers": [
"6930",
... |
conda__conda-6935 | 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: d4bb154c04555ef25923deaed7e7bbd1ff0c533b
Changed files:
- conda/core/solve.py
## Problem... | diff --git a/conda/core/solve.py b/conda/core/solve.py
index 0000000..0000000 100644
--- a/conda/core/solve.py
+++ b/conda/core/solve.py
@@ -508,7 +508,7 @@ class Solver(object):
# TODO: Only explicitly requested remove and update specs are being included in
# History right now. Do w... | 25,234 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6935",
"repo": "conda/conda",
"base_commit": "d4bb154c04555ef25923deaed7e7bbd1ff0c533b",
"pull_number": 6935,
"issue_numbers": [
"6695",
... |
conda__conda-6957 | 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: 88f8d2fe5e3d89ca87756a7332165a9ec8fb0014
Changed files:
- conda/core/package_cache_data.p... | diff --git a/conda/core/package_cache_data.py b/conda/core/package_cache_data.py
index 0000000..0000000 100644
--- a/conda/core/package_cache_data.py
+++ b/conda/core/package_cache_data.py
@@ -8,6 +8,8 @@ from os import listdir
from os.path import basename, dirname, join
from tarfile import ReadError
+from conda._v... | 18,144 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-6957",
"repo": "conda/conda",
"base_commit": "88f8d2fe5e3d89ca87756a7332165a9ec8fb0014",
"pull_number": 6957,
"issue_numbers": [
"6952"
... |
conda__conda-7041 | 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: deb16ee5dbfa68ae3433f1cc2766999613914b20
Changed files:
- conda/activate.py
## Problem s... | diff --git a/conda/activate.py b/conda/activate.py
index 0000000..0000000 100644
--- a/conda/activate.py
+++ b/conda/activate.py
@@ -70,7 +70,7 @@ class Activator(object):
self.shift_args = 0
self.command_join = ';\n'
- self.unset_var_tmpl = 'unset %s'
+ self.unset_var_... | 16,287 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7041",
"repo": "conda/conda",
"base_commit": "deb16ee5dbfa68ae3433f1cc2766999613914b20",
"pull_number": 7041,
"issue_numbers": [
"6919"
... |
conda__conda-7049 | 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: 27157ddcec0fefbccd168b6b5be7258f03115b05
Changed files:
- conda/activate.py
## Problem s... | diff --git a/conda/activate.py b/conda/activate.py
index 0000000..0000000 100644
--- a/conda/activate.py
+++ b/conda/activate.py
@@ -9,7 +9,7 @@ import sys
from tempfile import NamedTemporaryFile
from .base.context import ROOT_ENV_NAME, context, locate_prefix_by_name
-context.__init__() # oOn import, context does ... | 16,580 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7049",
"repo": "conda/conda",
"base_commit": "27157ddcec0fefbccd168b6b5be7258f03115b05",
"pull_number": 7049,
"issue_numbers": [
"6595"
... |
conda__conda-7064 | 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: 3b86094690b0da16eff3c44c7cbd361953dd73b0
Changed files:
- conda/models/match_spec.py
- co... | diff --git a/conda/models/match_spec.py b/conda/models/match_spec.py
index 0000000..0000000 100644
--- a/conda/models/match_spec.py
+++ b/conda/models/match_spec.py
@@ -172,6 +172,8 @@ class MatchSpec(object):
'features',
'url',
'md5',
+ 'license',
+ 'license_family',
)
... | 31,365 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7064",
"repo": "conda/conda",
"base_commit": "3b86094690b0da16eff3c44c7cbd361953dd73b0",
"pull_number": 7064,
"issue_numbers": [
"7063"
... |
conda__conda-7067 | 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: e8073535db35677724a54a6d11be4eb05a45132b
Changed files:
- conda/cli/main_list.py
- conda/... | 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
@@ -27,12 +27,10 @@ def print_export_header(subdir):
def get_packages(installed, regex):
pat = re.compile(regex, re.I) if regex else None
- for dist in sorted(i... | 14,748 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7067",
"repo": "conda/conda",
"base_commit": "e8073535db35677724a54a6d11be4eb05a45132b",
"pull_number": 7067,
"issue_numbers": [
"7087"
... |
conda__conda-7076 | 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: 21ffc46789c8ba7fdd2fbe39a164bf641a886a63
Changed files:
- conda/exceptions.py
## Problem... | diff --git a/conda/exceptions.py b/conda/exceptions.py
index 0000000..0000000 100644
--- a/conda/exceptions.py
+++ b/conda/exceptions.py
@@ -462,6 +462,13 @@ class PackagesNotFoundError(CondaError):
Current channels:
%(channels_formatted)s
+
+ To search for alternate channels that... | 30,070 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7076",
"repo": "conda/conda",
"base_commit": "21ffc46789c8ba7fdd2fbe39a164bf641a886a63",
"pull_number": 7076,
"issue_numbers": [
"7075"
... |
conda__conda-7079 | 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: 21ffc46789c8ba7fdd2fbe39a164bf641a886a63
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
@@ -218,5 +218,9 @@ def main():
print(path)
+print("WARNING: The conda.cli.activate module is deprecated and will be removed in a "
+ "future release.", file=sys... | 11,198 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7079",
"repo": "conda/conda",
"base_commit": "21ffc46789c8ba7fdd2fbe39a164bf641a886a63",
"pull_number": 7079,
"issue_numbers": [
"7078"
... |
conda__conda-7096 | 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: 21ffc46789c8ba7fdd2fbe39a164bf641a886a63
Changed files:
- conda/misc.py
## Problem state... | diff --git a/conda/misc.py b/conda/misc.py
index 0000000..0000000 100644
--- a/conda/misc.py
+++ b/conda/misc.py
@@ -18,12 +18,12 @@ from .core.index import get_index
from .core.link import PrefixSetup, UnlinkLinkTransaction
from .core.package_cache_data import PackageCacheData, ProgressiveFetchExtract
from .core.pr... | 8,591 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7096",
"repo": "conda/conda",
"base_commit": "21ffc46789c8ba7fdd2fbe39a164bf641a886a63",
"pull_number": 7096,
"issue_numbers": [
"7094"
... |
conda__conda-7131 | 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: dc204a6061d95f6c04fd5551acb8b1889c046041
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
@@ -5,9 +5,7 @@ from abc import ABCMeta, abstractmethod, abstractproperty
from errno import EXDEV
from logging import getLogger
from os.path import base... | 38,153 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7131",
"repo": "conda/conda",
"base_commit": "dc204a6061d95f6c04fd5551acb8b1889c046041",
"pull_number": 7131,
"issue_numbers": [
"7107"
... |
conda__conda-7133 | 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: ab96a967e6c75e67f075fb2899556bce79801c16
Changed files:
- conda/cli/common.py
- conda/cli... | diff --git a/conda/cli/common.py b/conda/cli/common.py
index 0000000..0000000 100644
--- a/conda/cli/common.py
+++ b/conda/cli/common.py
@@ -7,6 +7,7 @@ import sys
from .._vendor.auxlib.ish import dals
from ..base.constants import ROOT_ENV_NAME
from ..base.context import context
+from ..common.constants import NULL
... | 35,846 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7133",
"repo": "conda/conda",
"base_commit": "ab96a967e6c75e67f075fb2899556bce79801c16",
"pull_number": 7133,
"issue_numbers": [
"4274",
... |
conda__conda-7135 | 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: dc204a6061d95f6c04fd5551acb8b1889c046041
Changed files:
- conda/core/solve.py
## Problem... | diff --git a/conda/core/solve.py b/conda/core/solve.py
index 0000000..0000000 100644
--- a/conda/core/solve.py
+++ b/conda/core/solve.py
@@ -189,15 +189,30 @@ class Solver(object):
for spec in _track_fts_specs))
graph = PrefixGraph((index[dist] for dist in solution),... | 25,279 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7135",
"repo": "conda/conda",
"base_commit": "dc204a6061d95f6c04fd5551acb8b1889c046041",
"pull_number": 7135,
"issue_numbers": [
"2154"
... |
conda__conda-7146 | 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: 9ff2d6763bd02c541c596ac7800d227bccb4756c
Changed files:
- conda/common/io.py
## Problem ... | diff --git a/conda/common/io.py b/conda/common/io.py
index 0000000..0000000 100644
--- a/conda/common/io.py
+++ b/conda/common/io.py
@@ -387,7 +387,8 @@ class ProgressBar(object):
elif enabled:
bar_format = "{desc}{bar} | {percentage:3.0f}% "
try:
- self.pbar = tqdm(des... | 17,985 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7146",
"repo": "conda/conda",
"base_commit": "9ff2d6763bd02c541c596ac7800d227bccb4756c",
"pull_number": 7146,
"issue_numbers": [
"7145",
... |
conda__conda-7162 | 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: 660f35a2f5755f513b32932d400abaa8d944535e
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
@@ -67,17 +67,19 @@ DEFAULT_CHANNELS_UNIX = (
'https://repo.anaconda.com/pkgs/main',
'https://repo.anaconda.com/pkgs/free',
'https://repo.anaconda.com/p... | 35,370 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7162",
"repo": "conda/conda",
"base_commit": "660f35a2f5755f513b32932d400abaa8d944535e",
"pull_number": 7162,
"issue_numbers": [
"7061"
... |
conda__conda-7178 | 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: 7d34331b2e98ec1bb1e0028d0ea1e1b2829db4d4
Changed files:
- conda_env/installers/conda.py
... | diff --git a/conda_env/installers/conda.py b/conda_env/installers/conda.py
index 0000000..0000000 100644
--- a/conda_env/installers/conda.py
+++ b/conda_env/installers/conda.py
@@ -11,19 +11,8 @@ from conda.models.channel import Channel, prioritize_channels
def install(prefix, specs, args, env, *_, **kwargs):
# T... | 1,220 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7178",
"repo": "conda/conda",
"base_commit": "7d34331b2e98ec1bb1e0028d0ea1e1b2829db4d4",
"pull_number": 7178,
"issue_numbers": [
"6385"
... |
conda__conda-7191 | 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: 35c57be3d7bb714b149e435699f832d3ae0c0c81
Changed files:
- conda/core/package_cache_data.p... | diff --git a/conda/core/package_cache_data.py b/conda/core/package_cache_data.py
index 0000000..0000000 100644
--- a/conda/core/package_cache_data.py
+++ b/conda/core/package_cache_data.py
@@ -31,6 +31,7 @@ from ..gateways.disk.test import file_path_is_writable
from ..models.dist import Dist
from ..models.match_spec ... | 18,971 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7191",
"repo": "conda/conda",
"base_commit": "35c57be3d7bb714b149e435699f832d3ae0c0c81",
"pull_number": 7191,
"issue_numbers": [
"7189"
... |
conda__conda-7211 | 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: 3fb42140a7fe3c2298e7ffcbadaa7353ab7b4b17
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
@@ -529,6 +529,11 @@ def configure_parser_create(sub_parsers):
action="store_true",
help='Ignore create_default_packages in the .cond... | 35,033 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7211",
"repo": "conda/conda",
"base_commit": "3fb42140a7fe3c2298e7ffcbadaa7353ab7b4b17",
"pull_number": 7211,
"issue_numbers": [
"7210"
... |
conda__conda-7216 | 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: a3b766934a6da0926a7c16eaec69ae5e448f7806
Changed files:
- conda/plan.py
- conda/resolve.p... | diff --git a/conda/plan.py b/conda/plan.py
index 0000000..0000000 100644
--- a/conda/plan.py
+++ b/conda/plan.py
@@ -291,24 +291,24 @@ def _remove_actions(prefix, specs, index, force=False, pinned=True): # pragma:
if force:
mss = list(map(MatchSpec, specs))
- nlinked = {r.package_name(dist): dis... | 43,872 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7216",
"repo": "conda/conda",
"base_commit": "a3b766934a6da0926a7c16eaec69ae5e448f7806",
"pull_number": 7216,
"issue_numbers": [
"6979"
... |
conda__conda-7223 | 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: 6069614f099a3e93e9f5446c240910da488a1697
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
@@ -5,9 +5,7 @@ from abc import ABCMeta, abstractmethod, abstractproperty
from errno import EXDEV
from logging import getLogger
from os.path import base... | 38,157 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7223",
"repo": "conda/conda",
"base_commit": "6069614f099a3e93e9f5446c240910da488a1697",
"pull_number": 7223,
"issue_numbers": [
"7107"
... |
conda__conda-7224 | 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: 6069614f099a3e93e9f5446c240910da488a1697
Changed files:
- conda/misc.py
## Problem state... | diff --git a/conda/misc.py b/conda/misc.py
index 0000000..0000000 100644
--- a/conda/misc.py
+++ b/conda/misc.py
@@ -18,12 +18,12 @@ from .core.index import get_index
from .core.link import PrefixSetup, UnlinkLinkTransaction
from .core.package_cache_data import PackageCacheData, ProgressiveFetchExtract
from .core.pr... | 8,597 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7224",
"repo": "conda/conda",
"base_commit": "6069614f099a3e93e9f5446c240910da488a1697",
"pull_number": 7224,
"issue_numbers": [
"7094"
... |
conda__conda-7241 | 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: c467517ca652371ebc4224f0d49315b7ec225108
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
@@ -11,6 +11,9 @@ log = getLogger(__name__)
from . import CondaError # NOQA
CondaError = CondaError
+from .base.context import reset_context # NOQA
+reset_context() # initialize context wh... | 5,669 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7241",
"repo": "conda/conda",
"base_commit": "c467517ca652371ebc4224f0d49315b7ec225108",
"pull_number": 7241,
"issue_numbers": [
"7240"
... |
conda__conda-7243 | 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: 9f3072cbf74aad89a37abc262359763981e2726a
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
@@ -21,8 +21,8 @@ from .._vendor.auxlib.ish import dals
from .._vendor.boltons.setutils import IndexedSet
from .._vendor.frozendict import frozendict
from ..common.compat i... | 57,895 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7243",
"repo": "conda/conda",
"base_commit": "9f3072cbf74aad89a37abc262359763981e2726a",
"pull_number": 7243,
"issue_numbers": [
"7242"
... |
conda__conda-7244 | 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: 32ebb8a4de3073fb008d0d785fb0712d0d612c54
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
@@ -11,6 +11,9 @@ log = getLogger(__name__)
from . import CondaError # NOQA
CondaError = CondaError
+from .base.context import reset_context # NOQA
+reset_context() # initialize context wh... | 5,668 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7244",
"repo": "conda/conda",
"base_commit": "32ebb8a4de3073fb008d0d785fb0712d0d612c54",
"pull_number": 7244,
"issue_numbers": [
"7240"
... |
conda__conda-7269 | 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: 1d9232d1222c863a421a640c1e1d15f398911e90
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
@@ -206,6 +206,7 @@ class LinkPathAction(CreateInPrefixPathAction):
package_info.extracted_package_dir,
... | 40,975 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7269",
"repo": "conda/conda",
"base_commit": "1d9232d1222c863a421a640c1e1d15f398911e90",
"pull_number": 7269,
"issue_numbers": [
"7253"
... |
conda__conda-7274 | 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: 1d9232d1222c863a421a640c1e1d15f398911e90
Changed files:
- conda/core/package_cache_data.p... | diff --git a/conda/core/package_cache_data.py b/conda/core/package_cache_data.py
index 0000000..0000000 100644
--- a/conda/core/package_cache_data.py
+++ b/conda/core/package_cache_data.py
@@ -32,6 +32,7 @@ from ..gateways.disk.test import file_path_is_writable
from ..models.dist import Dist
from ..models.match_spec ... | 18,512 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7274",
"repo": "conda/conda",
"base_commit": "1d9232d1222c863a421a640c1e1d15f398911e90",
"pull_number": 7274,
"issue_numbers": [
"7189"
... |
conda__conda-7289 | 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: f3f2fa0eb7a5bcd90a34ea8f06bd546939c0e970
Changed files:
- conda/core/solve.py
## Problem... | diff --git a/conda/core/solve.py b/conda/core/solve.py
index 0000000..0000000 100644
--- a/conda/core/solve.py
+++ b/conda/core/solve.py
@@ -15,6 +15,7 @@ from .subdir_data import SubdirData
from .. import CondaError, __version__ as CONDA_VERSION
from .._vendor.auxlib.ish import dals
from .._vendor.boltons.setutils ... | 28,137 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7289",
"repo": "conda/conda",
"base_commit": "f3f2fa0eb7a5bcd90a34ea8f06bd546939c0e970",
"pull_number": 7289,
"issue_numbers": [
"7165"
... |
conda__conda-7310 | 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: b1d47c44d384ddb3e4032a3b21ab9c1da3a7e3d2
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
@@ -301,12 +301,11 @@ def configure_parser_info(sub_parsers):
help='Display list of channels with tokens exposed.',
)
- # TODO: depr... | 44,953 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7310",
"repo": "conda/conda",
"base_commit": "b1d47c44d384ddb3e4032a3b21ab9c1da3a7e3d2",
"pull_number": 7310,
"issue_numbers": [
"7309"
... |
conda__conda-7360 | 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: 5b85f9d52b6bf27d7c58e7a77ae6f60d11b2405b
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
@@ -132,6 +132,7 @@ class ProgressFileWrapper(object):
self.progress_file = fileobj
self.progress_update_callback = progress_... | 25,879 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7360",
"repo": "conda/conda",
"base_commit": "5b85f9d52b6bf27d7c58e7a77ae6f60d11b2405b",
"pull_number": 7360,
"issue_numbers": [
"7341"
... |
conda__conda-7377 | 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: 2235faefef09d5c0ed0d975da894a6d7a9ddd3b0
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
@@ -687,7 +687,7 @@ def configure_parser_install(sub_parsers):
Conda attempts to install the newest versions of the requested packages. To
ac... | 45,572 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7377",
"repo": "conda/conda",
"base_commit": "2235faefef09d5c0ed0d975da894a6d7a9ddd3b0",
"pull_number": 7377,
"issue_numbers": [
"7375"
... |
conda__conda-7385 | 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: 4489fe6f710d8ecfcc5c7d25aa137cf96f249cc9
Changed files:
- conda_env/specs/__init__.py
##... | 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
@@ -1,11 +1,15 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2012 Anaconda, Inc
# SPDX-License-Identifier: BSD-3-Clause
+
+import os
+
from .binstar i... | 1,285 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7385",
"repo": "conda/conda",
"base_commit": "4489fe6f710d8ecfcc5c7d25aa137cf96f249cc9",
"pull_number": 7385,
"issue_numbers": [
"5681",
... |
conda__conda-7386 | 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: 4489fe6f710d8ecfcc5c7d25aa137cf96f249cc9
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
@@ -288,7 +288,7 @@ def configure_parser_info(sub_parsers):
p.add_argument(
'-l', "--license",
action="store_true",
- hel... | 45,239 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7386",
"repo": "conda/conda",
"base_commit": "4489fe6f710d8ecfcc5c7d25aa137cf96f249cc9",
"pull_number": 7386,
"issue_numbers": [
"7362",
... |
conda__conda-7415 | 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: ad5e49e222cf876301f6e884c5d7bdba333d06b1
Changed files:
- conda/core/subdir_data.py
- con... | diff --git a/conda/core/subdir_data.py b/conda/core/subdir_data.py
index 0000000..0000000 100644
--- a/conda/core/subdir_data.py
+++ b/conda/core/subdir_data.py
@@ -26,7 +26,7 @@ from ..common.compat import (ensure_binary, ensure_text_type, ensure_unicode, it
from ..common.io import ThreadLimitedThreadPoolExecutor, as... | 22,154 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7415",
"repo": "conda/conda",
"base_commit": "ad5e49e222cf876301f6e884c5d7bdba333d06b1",
"pull_number": 7415,
"issue_numbers": [
"7423",
... |
conda__conda-7418 | 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: ad5e49e222cf876301f6e884c5d7bdba333d06b1
Changed files:
- conda/history.py
## Problem st... | diff --git a/conda/history.py b/conda/history.py
index 0000000..0000000 100644
--- a/conda/history.py
+++ b/conda/history.py
@@ -72,6 +72,9 @@ def pretty_content(content):
class History(object):
+ com_pat = re.compile(r'#\s*cmd:\s*(.+)')
+ spec_pat = re.compile(r'#\s*(\w+)\s*specs:\s*(.+)?')
+
def __ini... | 52,034 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7418",
"repo": "conda/conda",
"base_commit": "ad5e49e222cf876301f6e884c5d7bdba333d06b1",
"pull_number": 7418,
"issue_numbers": [
"6691",
... |
conda__conda-7476 | 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: d9ca6008736ff84dabfc484e115eeb5730e96e34
Changed files:
- docs/scrape_help.py
- docs/sour... | diff --git a/docs/scrape_help.py b/docs/scrape_help.py
index 0000000..0000000 100755
--- a/docs/scrape_help.py
+++ b/docs/scrape_help.py
@@ -50,7 +50,8 @@ def run_command(*args, **kwargs):
err = b''
out, err = out.decode('utf-8'), err.decode('utf-8')
if p.returncode != 0:
- print("%r failed wi... | 14,280 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7476",
"repo": "conda/conda",
"base_commit": "d9ca6008736ff84dabfc484e115eeb5730e96e34",
"pull_number": 7476,
"issue_numbers": [
"1024"
... |
conda__conda-7498 | 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: f57432f32151b484656fe66197bfba937043c7f9
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
@@ -33,6 +33,7 @@ CONDA_PACKAGE_ROOT = dirname(__file__)
class CondaError(Exception):
return_code = 1
+ reportable = False # Exception may be reported to core maintainers
d... | 41,137 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7498",
"repo": "conda/conda",
"base_commit": "f57432f32151b484656fe66197bfba937043c7f9",
"pull_number": 7498,
"issue_numbers": [
"7372",
... |
conda__conda-7499 | 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: f57432f32151b484656fe66197bfba937043c7f9
Changed files:
- conda/_vendor/toolz/functoolz.p... | diff --git a/conda/_vendor/toolz/functoolz.py b/conda/_vendor/toolz/functoolz.py
index 0000000..0000000 100644
--- a/conda/_vendor/toolz/functoolz.py
+++ b/conda/_vendor/toolz/functoolz.py
@@ -498,7 +498,7 @@ class Compose(object):
def __name__(self):
try:
return '_of_'.join(
- ... | 37,239 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7499",
"repo": "conda/conda",
"base_commit": "f57432f32151b484656fe66197bfba937043c7f9",
"pull_number": 7499,
"issue_numbers": [
"7473",
... |
conda__conda-7500 | 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: c12b3b49e41485383f6114588aa3bdd1eb9e36cd
Changed files:
- conda/history.py
## Problem st... | diff --git a/conda/history.py b/conda/history.py
index 0000000..0000000 100644
--- a/conda/history.py
+++ b/conda/history.py
@@ -8,15 +8,17 @@ import os
from os.path import isdir, isfile, join
import re
import sys
-import time
import warnings
+import time
+
from .base.constants import DEFAULTS_CHANNEL_NAME
from... | 10,249 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7500",
"repo": "conda/conda",
"base_commit": "c12b3b49e41485383f6114588aa3bdd1eb9e36cd",
"pull_number": 7500,
"issue_numbers": [
"7494"
... |
conda__conda-7512 | 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: 33dace2c9cf1cd864523df4352f6746721a39118
Changed files:
- conda/core/link.py
- conda/core... | 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
@@ -9,7 +9,6 @@ import os
from os.path import basename, dirname, isdir, join
from subprocess import CalledProcessError
import sys
-from tempfile import mkdtemp
from traceback import f... | 65,203 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7512",
"repo": "conda/conda",
"base_commit": "33dace2c9cf1cd864523df4352f6746721a39118",
"pull_number": 7512,
"issue_numbers": [
"7505"
... |
conda__conda-7515 | 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: 33dace2c9cf1cd864523df4352f6746721a39118
Changed files:
- conda/gateways/connection/__ini... | diff --git a/conda/gateways/connection/__init__.py b/conda/gateways/connection/__init__.py
index 0000000..0000000 100644
--- a/conda/gateways/connection/__init__.py
+++ b/conda/gateways/connection/__init__.py
@@ -8,7 +8,13 @@ def should_bypass_proxies_patched(should_bypass_proxies_func, url, no_proxy):
# Monkey pa... | 10,761 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7515",
"repo": "conda/conda",
"base_commit": "33dace2c9cf1cd864523df4352f6746721a39118",
"pull_number": 7515,
"issue_numbers": [
"7506"
... |
conda__conda-7516 | 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: d7aa8489cf7a73d0a8e9386093f50529c59bc88f
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
@@ -7,7 +7,6 @@ import os
from os.path import basename, dirname, isdir, join
from subprocess import CalledProcessError
import sys
-from tempfile import mkdtemp
from traceback import f... | 31,235 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7516",
"repo": "conda/conda",
"base_commit": "d7aa8489cf7a73d0a8e9386093f50529c59bc88f",
"pull_number": 7516,
"issue_numbers": [
"7505"
... |
conda__conda-7525 | 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: df615ac68081ab2b9ec309ab9bf3a3cf105ef8fd
Changed files:
- conda/gateways/connection/__ini... | diff --git a/conda/gateways/connection/__init__.py b/conda/gateways/connection/__init__.py
index 0000000..0000000 100644
--- a/conda/gateways/connection/__init__.py
+++ b/conda/gateways/connection/__init__.py
@@ -2,7 +2,7 @@
from __future__ import absolute_import, division, print_function, unicode_literals
from funct... | 1,940 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7525",
"repo": "conda/conda",
"base_commit": "df615ac68081ab2b9ec309ab9bf3a3cf105ef8fd",
"pull_number": 7525,
"issue_numbers": [
"7524"
... |
conda__conda-7561 | 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: 3decbfddf52474c11df16350326bcfa1b72899d4
Changed files:
- conda/gateways/connection/adapt... | diff --git a/conda/gateways/connection/adapters/localfs.py b/conda/gateways/connection/adapters/localfs.py
index 0000000..0000000 100644
--- a/conda/gateways/connection/adapters/localfs.py
+++ b/conda/gateways/connection/adapters/localfs.py
@@ -5,7 +5,7 @@ from email.utils import formatdate
import json
from logging i... | 2,384 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7561",
"repo": "conda/conda",
"base_commit": "3decbfddf52474c11df16350326bcfa1b72899d4",
"pull_number": 7561,
"issue_numbers": [
"7559"
... |
conda__conda-7562 | 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: 3decbfddf52474c11df16350326bcfa1b72899d4
Changed files:
- conda/activate.py
## Problem s... | diff --git a/conda/activate.py b/conda/activate.py
index 0000000..0000000 100644
--- a/conda/activate.py
+++ b/conda/activate.py
@@ -390,7 +390,7 @@ class Activator(object):
}
def _get_starting_path_list(self):
- path = self.environ['PATH']
+ path = self.environ.get('PATH', '')
if... | 24,636 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7562",
"repo": "conda/conda",
"base_commit": "3decbfddf52474c11df16350326bcfa1b72899d4",
"pull_number": 7562,
"issue_numbers": [
"7486"
... |
conda__conda-7598 | 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: 7c70170fa62ec69b433a4f099b1fabe6d6e0ebdd
Changed files:
- conda/core/solve.py
## Problem... | diff --git a/conda/core/solve.py b/conda/core/solve.py
index 0000000..0000000 100644
--- a/conda/core/solve.py
+++ b/conda/core/solve.py
@@ -288,9 +288,6 @@ class Solver(object):
if spec.name in specs_map:
old_spec = specs_map[spec.name]
specs_map[spec.name] = ... | 25,839 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7598",
"repo": "conda/conda",
"base_commit": "7c70170fa62ec69b433a4f099b1fabe6d6e0ebdd",
"pull_number": 7598,
"issue_numbers": [
"7522"
... |
conda__conda-7606 | 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: 8468276f1f7b7e02a13daa04123cc2a27e8b8f4f
Changed files:
- conda/cli/common.py
- conda/cor... | diff --git a/conda/cli/common.py b/conda/cli/common.py
index 0000000..0000000 100644
--- a/conda/cli/common.py
+++ b/conda/cli/common.py
@@ -93,17 +93,14 @@ def specs_from_args(args, json=False):
return [arg2spec(arg, json=json) for arg in args]
-spec_pat = re.compile(r''' # lgtm [py/regex/unmatchable-... | 44,427 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7606",
"repo": "conda/conda",
"base_commit": "8468276f1f7b7e02a13daa04123cc2a27e8b8f4f",
"pull_number": 7606,
"issue_numbers": [
"7592"
... |
conda__conda-7607 | 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: 6975b8379b17aeaece564737232e8bbc23ec918c
Changed files:
- conda/activate.py
## Problem s... | diff --git a/conda/activate.py b/conda/activate.py
index 0000000..0000000 100644
--- a/conda/activate.py
+++ b/conda/activate.py
@@ -613,6 +613,9 @@ class PosixActivator(_Activator):
def _update_prompt(self, set_vars, conda_prompt_modifier):
ps1 = self.environ.get('PS1', '')
+ if 'POWERLINE_COMMA... | 21,950 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7607",
"repo": "conda/conda",
"base_commit": "6975b8379b17aeaece564737232e8bbc23ec918c",
"pull_number": 7607,
"issue_numbers": [
"3982"
... |
conda__conda-7629 | 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: a752bd37ffa759ece68881b54e72c7480c857627
Changed files:
- conda/core/initialize.py
## Pr... | diff --git a/conda/core/initialize.py b/conda/core/initialize.py
index 0000000..0000000 100644
--- a/conda/core/initialize.py
+++ b/conda/core/initialize.py
@@ -47,7 +47,7 @@ from .. import CONDA_PACKAGE_ROOT, CondaError, __version__ as CONDA_VERSION
from .._vendor.auxlib.ish import dals
from ..activate import CshAct... | 34,709 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7629",
"repo": "conda/conda",
"base_commit": "a752bd37ffa759ece68881b54e72c7480c857627",
"pull_number": 7629,
"issue_numbers": [
"7595"
... |
conda__conda-7675 | 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: c411642c06795aa144d81b24876fb20547fa6f86
Changed files:
- conda/cli/main_config.py
- cond... | 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
@@ -2,7 +2,6 @@
# Consult LICENSE.txt or http://opensource.org/licenses/BSD-3-Clause.
from __future__ import absolute_import, division, print_function, unicode_l... | 14,425 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7675",
"repo": "conda/conda",
"base_commit": "c411642c06795aa144d81b24876fb20547fa6f86",
"pull_number": 7675,
"issue_numbers": [
"7672",
... |
conda__conda-7725 | 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: ec64c67846b7f8bb940116654b4ec6ab0ae6fb5d
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
@@ -402,15 +402,15 @@ class Context(Configuration):
if self.root_writable:
fixed_dirs = (
join(self.root_prefix, 'envs'),
- ... | 33,587 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7725",
"repo": "conda/conda",
"base_commit": "ec64c67846b7f8bb940116654b4ec6ab0ae6fb5d",
"pull_number": 7725,
"issue_numbers": [
"7724"
... |
conda__conda-7735 | 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: c9f55e23b8a5b117d48bb6aff6038fac164b0a44
Changed files:
- conda/activate.py
## Problem s... | diff --git a/conda/activate.py b/conda/activate.py
index 0000000..0000000 100644
--- a/conda/activate.py
+++ b/conda/activate.py
@@ -422,7 +422,7 @@ class _Activator(object):
path_list = list(self.path_conversion(self._get_starting_path_list()))
else:
path_list = list(self.path_conver... | 23,328 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7735",
"repo": "conda/conda",
"base_commit": "c9f55e23b8a5b117d48bb6aff6038fac164b0a44",
"pull_number": 7735,
"issue_numbers": [
"7706"
... |
conda__conda-7773 | 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: 21a24f02b2687d0895de04664a4ec23ccc75c33a
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
@@ -97,6 +97,11 @@ class _Activator(object):
def hook(self, auto_activate_base=None):
builder = []
builder.append(self._hook_preamble())
+
+ # here
+ cond... | 58,335 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7773",
"repo": "conda/conda",
"base_commit": "21a24f02b2687d0895de04664a4ec23ccc75c33a",
"pull_number": 7773,
"issue_numbers": [
"7764"
... |
conda__conda-7783 | 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: c4c49187a80ed959099af1089d62206eeb028e0e
Changed files:
- conda/models/match_spec.py
- co... | diff --git a/conda/models/match_spec.py b/conda/models/match_spec.py
index 0000000..0000000 100644
--- a/conda/models/match_spec.py
+++ b/conda/models/match_spec.py
@@ -288,24 +288,29 @@ class MatchSpec(object):
name_matcher = self._match_components.get('name', '*')
builder.append(('::%s' if builder e... | 41,635 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7783",
"repo": "conda/conda",
"base_commit": "c4c49187a80ed959099af1089d62206eeb028e0e",
"pull_number": 7783,
"issue_numbers": [
"7782"
... |
conda__conda-7784 | 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: c4c49187a80ed959099af1089d62206eeb028e0e
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
@@ -27,7 +27,7 @@ def print_export_header(subdir):
def get_packages(installed, regex):
pat = re.compile(regex, re.I) if regex else None
for prefix_rec in sorted... | 4,787 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7784",
"repo": "conda/conda",
"base_commit": "c4c49187a80ed959099af1089d62206eeb028e0e",
"pull_number": 7784,
"issue_numbers": [
"7770"
... |
conda__conda-7826 | 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: db6af4ff1c859659be08ce98ca50c9ae69142474
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
@@ -138,8 +138,10 @@ class Context(Configuration):
_root_prefix = PrimitiveParameter("", aliases=('root_dir', 'root_prefix'))
_envs_dirs = SequenceParameter(string... | 57,769 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7826",
"repo": "conda/conda",
"base_commit": "db6af4ff1c859659be08ce98ca50c9ae69142474",
"pull_number": 7826,
"issue_numbers": [
"7805"
... |
conda__conda-7827 | 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: 5e1629ef61a787d50fce25f2dc5df26b6967d9af
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
@@ -13,35 +13,42 @@ from ..exceptions import (EnvironmentFileExtensionNotValid, EnvironmentFileNotFo
def detect(**kwargs):
- # Check file exist... | 4,439 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7827",
"repo": "conda/conda",
"base_commit": "5e1629ef61a787d50fce25f2dc5df26b6967d9af",
"pull_number": 7827,
"issue_numbers": [
"7755"
... |
conda__conda-7919 | 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: 1471f043eed980d62f46944e223f0add6a9a790b
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
@@ -229,7 +229,7 @@ class Context(Configuration):
anaconda_upload = PrimitiveParameter(None, aliases=('binstar_upload',),
elemen... | 34,008 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7919",
"repo": "conda/conda",
"base_commit": "1471f043eed980d62f46944e223f0add6a9a790b",
"pull_number": 7919,
"issue_numbers": [
"7917"
... |
conda__conda-7948 | 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: 95a1d48bb724926d574aba4af41e302ebdf6162d
Changed files:
- conda/core/prefix_data.py
## P... | diff --git a/conda/core/prefix_data.py b/conda/core/prefix_data.py
index 0000000..0000000 100644
--- a/conda/core/prefix_data.py
+++ b/conda/core/prefix_data.py
@@ -8,6 +8,7 @@ from logging import getLogger
from os import listdir
from os.path import basename, isdir, isfile, join, lexists
+from .._vendor.auxlib.exce... | 8,095 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7948",
"repo": "conda/conda",
"base_commit": "95a1d48bb724926d574aba4af41e302ebdf6162d",
"pull_number": 7948,
"issue_numbers": [
"7942"
... |
conda__conda-7951 | 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: d9ca6008736ff84dabfc484e115eeb5730e96e34
Changed files:
- conda/core/initialize.py
## Pr... | diff --git a/conda/core/initialize.py b/conda/core/initialize.py
index 0000000..0000000 100644
--- a/conda/core/initialize.py
+++ b/conda/core/initialize.py
@@ -1157,7 +1157,7 @@ def init_cmd_exe_registry(target_path, conda_prefix):
hook_path = '"%s"' % join(conda_prefix, 'condabin', 'conda_hook.bat')
replace... | 38,190 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7951",
"repo": "conda/conda",
"base_commit": "d9ca6008736ff84dabfc484e115eeb5730e96e34",
"pull_number": 7951,
"issue_numbers": [
"7950"
... |
conda__conda-7986 | 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: 523fcfddf8f149b3ee2e1788027df1060b02987e
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
@@ -13,6 +13,7 @@ from uuid import uuid4
from .envs_manager import USER_ENVIRONMENTS_TXT_FILE, register_env, unregister_env
from .portability import _Pad... | 33,986 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7986",
"repo": "conda/conda",
"base_commit": "523fcfddf8f149b3ee2e1788027df1060b02987e",
"pull_number": 7986,
"issue_numbers": [
"5588"
... |
conda__conda-7989 | 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: 523fcfddf8f149b3ee2e1788027df1060b02987e
Changed files:
- conda/core/initialize.py
## Pr... | diff --git a/conda/core/initialize.py b/conda/core/initialize.py
index 0000000..0000000 100644
--- a/conda/core/initialize.py
+++ b/conda/core/initialize.py
@@ -1118,7 +1118,9 @@ def _read_windows_registry(target_path): # pragma: no cover
try:
value_tuple = winreg.QueryValueEx(key, value_name)
- ... | 38,556 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7989",
"repo": "conda/conda",
"base_commit": "523fcfddf8f149b3ee2e1788027df1060b02987e",
"pull_number": 7989,
"issue_numbers": [
"7976",
... |
conda__conda-7998 | 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: c429cf4f2f009a4ca27a2715a5317781269a5e9b
Changed files:
- conda/base/context.py
- conda/h... | 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
@@ -105,6 +105,7 @@ def ssl_verify_validation(value):
class Context(Configuration):
add_pip_as_python_dependency = PrimitiveParameter(True)
+ allow_conda_downgrades... | 38,901 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-7998",
"repo": "conda/conda",
"base_commit": "c429cf4f2f009a4ca27a2715a5317781269a5e9b",
"pull_number": 7998,
"issue_numbers": [
"7976"
... |
conda__conda-8053 | 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: 64bde065f8343276f168d2034201115dff7c5753
Changed files:
- conda/gateways/disk/delete.py
... | diff --git a/conda/gateways/disk/delete.py b/conda/gateways/disk/delete.py
index 0000000..0000000 100644
--- a/conda/gateways/disk/delete.py
+++ b/conda/gateways/disk/delete.py
@@ -214,7 +214,7 @@ else: # pragma: no cover
if onerror is None:
raise
else... | 16,136 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-8053",
"repo": "conda/conda",
"base_commit": "64bde065f8343276f168d2034201115dff7c5753",
"pull_number": 8053,
"issue_numbers": [
"7665"
... |
conda__conda-8083 | 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: 1bf5787d01e61eb4c418651fcfd328e5cffbd0d5
Changed files:
- conda/core/solve.py
## Problem... | diff --git a/conda/core/solve.py b/conda/core/solve.py
index 0000000..0000000 100644
--- a/conda/core/solve.py
+++ b/conda/core/solve.py
@@ -340,6 +340,14 @@ class Solver(object):
# we remove now from consideration the set of packages causing inconsistencies,
# and then we add them back in following t... | 36,826 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-8083",
"repo": "conda/conda",
"base_commit": "1bf5787d01e61eb4c418651fcfd328e5cffbd0d5",
"pull_number": 8083,
"issue_numbers": [
"8076"
... |
conda__conda-8154 | 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: b69054c6de710b8f46abbec2710205395369aec4
Changed files:
- conda/core/subdir_data.py
## P... | diff --git a/conda/core/subdir_data.py b/conda/core/subdir_data.py
index 0000000..0000000 100644
--- a/conda/core/subdir_data.py
+++ b/conda/core/subdir_data.py
@@ -448,15 +448,15 @@ def fetch_repodata_remote_request(url, etag, mod_stamp):
status_code = getattr(e.response, 'status_code', None)
if stat... | 16,379 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "conda__conda-8154",
"repo": "conda/conda",
"base_commit": "b69054c6de710b8f46abbec2710205395369aec4",
"pull_number": 8154,
"issue_numbers": [
"8150"
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.