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-8160
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: 37ebed39eb6d11e125664a8647f09c938f778468 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 @@ -745,8 +745,8 @@ class Context(Configuration): )), ('Hidden and Undocumented', ( 'allow_cycles', # allow cyclical dependencies, or raise - ...
44,004
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8160", "repo": "conda/conda", "base_commit": "37ebed39eb6d11e125664a8647f09c938f778468", "pull_number": 8160, "issue_numbers": [ "8080" ...
conda__conda-8165
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: 41476d921d30bac16f4692a6281c1194721ebf6f Changed files: - conda/history.py - conda_env/cl...
diff --git a/conda/history.py b/conda/history.py index 0000000..0000000 100644 --- a/conda/history.py +++ b/conda/history.py @@ -260,7 +260,7 @@ class History(object): 'allow_conda_downgrades' to False at their own risk. """) - # we need to rethink this. It's fine as ...
23,658
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8165", "repo": "conda/conda", "base_commit": "41476d921d30bac16f4692a6281c1194721ebf6f", "pull_number": 8165, "issue_numbers": [ "8136" ...
conda__conda-8184
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: 8eeb1bba428cceb56c6dae120c51e35b3332b854 Changed files: - conda/common/pkg_formats/python...
diff --git a/conda/common/pkg_formats/python.py b/conda/common/pkg_formats/python.py index 0000000..0000000 100644 --- a/conda/common/pkg_formats/python.py +++ b/conda/common/pkg_formats/python.py @@ -113,7 +113,8 @@ class PythonDistribution(object): for fname in self.MANDATORY_FILES: if self._met...
40,964
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8184", "repo": "conda/conda", "base_commit": "8eeb1bba428cceb56c6dae120c51e35b3332b854", "pull_number": 8184, "issue_numbers": [ "8178" ...
conda__conda-8198
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: 7a68286a737c7b5cd48c83d39bd615f99d939304 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 @@ -7,6 +7,7 @@ from fnmatch import filter as fnmatch_filter from logging import getLogger from os import listdir from os.path import basename, isdir, isfil...
18,029
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8198", "repo": "conda/conda", "base_commit": "7a68286a737c7b5cd48c83d39bd615f99d939304", "pull_number": 8198, "issue_numbers": [ "8185" ...
conda__conda-8208
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: 7a68286a737c7b5cd48c83d39bd615f99d939304 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 @@ -519,8 +519,14 @@ class VersionSpec(BaseSpec): # lgtm [py/missing-equals] elif operator_str == "!=": vo_str = vo_str[:-2] ...
40,460
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8208", "repo": "conda/conda", "base_commit": "7a68286a737c7b5cd48c83d39bd615f99d939304", "pull_number": 8208, "issue_numbers": [ "8199" ...
conda__conda-8219
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: 500d280e277a5915dcc7e1792718bda8929aefb6 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 @@ -468,6 +468,12 @@ def make_initialize_plan(conda_prefix, shells, for_user, for_system, anaconda_pr raise NotImplementedError() if 'powershel...
39,401
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8219", "repo": "conda/conda", "base_commit": "500d280e277a5915dcc7e1792718bda8929aefb6", "pull_number": 8219, "issue_numbers": [ "8102" ...
conda__conda-8222
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: 086813603450b34f0f46a8bc24de61958ec90f68 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 @@ -1246,7 +1246,7 @@ def _powershell_profile_content(conda_prefix): conda_powershell_module = dals(""" #region conda initialize # !! Contents withi...
39,604
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8222", "repo": "conda/conda", "base_commit": "086813603450b34f0f46a8bc24de61958ec90f68", "pull_number": 8222, "issue_numbers": [ "8221" ...
conda__conda-8229
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: bd3151e764a7534c71c0f64628b7162a552d9365 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 @@ -6,9 +6,10 @@ from __future__ import absolute_import, division, print_function, unicode_litera from collections import defaultdict, namedtuple from logging import getLogger import o...
30,339
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8229", "repo": "conda/conda", "base_commit": "bd3151e764a7534c71c0f64628b7162a552d9365", "pull_number": 8229, "issue_numbers": [ "7789" ...
conda__conda-8259
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: 18ef83386b1cc7f99f956a4fcd841a28c5237839 Changed files: - conda/core/path_actions.py ## ...
diff --git a/conda/core/path_actions.py b/conda/core/path_actions.py index 0000000..0000000 100644 --- a/conda/core/path_actions.py +++ b/conda/core/path_actions.py @@ -6,7 +6,7 @@ from __future__ import absolute_import, division, print_function, unicode_litera from abc import ABCMeta, abstractmethod, abstractproperty...
56,678
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8259", "repo": "conda/conda", "base_commit": "18ef83386b1cc7f99f956a4fcd841a28c5237839", "pull_number": 8259, "issue_numbers": [ "8258" ...
conda__conda-8268
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: 8afbb299f81a40c56d031b50f8a9b21d6b382e8f Changed files: - conda/cli/main_config.py ## Pr...
diff --git a/conda/cli/main_config.py b/conda/cli/main_config.py index 0000000..0000000 100644 --- a/conda/cli/main_config.py +++ b/conda/cli/main_config.py @@ -252,7 +252,7 @@ def execute_config(args, parser): json_get[key] = rc_config[key] continue - if isinstance(rc_con...
9,805
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8268", "repo": "conda/conda", "base_commit": "8afbb299f81a40c56d031b50f8a9b21d6b382e8f", "pull_number": 8268, "issue_numbers": [ "8264" ...
conda__conda-8272
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: ad31c75a4e73a423ef584b2918adece9301d6c6e Changed files: - conda/base/constants.py ## Pro...
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 @@ -24,13 +24,23 @@ machine_bits = 8 * tuple.__itemsize__ APP_NAME = 'conda' -SEARCH_PATH = ( - '/etc/conda/.condarc', - '/etc/conda/condarc', - '/etc/co...
7,967
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8272", "repo": "conda/conda", "base_commit": "ad31c75a4e73a423ef584b2918adece9301d6c6e", "pull_number": 8272, "issue_numbers": [ "8270" ...
conda__conda-8289
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: 3fb40e1e02609ea851bbbd13186b62bddb3b2f8f Changed files: - conda/activate.py - conda/commo...
diff --git a/conda/activate.py b/conda/activate.py index 0000000..0000000 100644 --- a/conda/activate.py +++ b/conda/activate.py @@ -527,8 +527,13 @@ def expand(path): def ensure_binary(value): + encoding = 'utf-8' + if on_win: + import ctypes + acp = ctypes.cdll.kernel32.GetACP() + enco...
27,843
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8289", "repo": "conda/conda", "base_commit": "3fb40e1e02609ea851bbbd13186b62bddb3b2f8f", "pull_number": 8289, "issue_numbers": [ "8241" ...
conda__conda-8290
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: c06cee03757b2946831d8d5006ecffce9eb6d053 Changed files: - conda/exports.py - conda/gatewa...
diff --git a/conda/exports.py b/conda/exports.py index 0000000..0000000 100644 --- a/conda/exports.py +++ b/conda/exports.py @@ -285,8 +285,12 @@ class TemporaryDirectory(object): _rm_rf(self.name) self._closed = True if _warn and _warnings.warn: - _warnings.war...
25,384
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8290", "repo": "conda/conda", "base_commit": "c06cee03757b2946831d8d5006ecffce9eb6d053", "pull_number": 8290, "issue_numbers": [ "8255" ...
conda__conda-8328
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: 662df07042b2b0f5096334c4594f4351a5685978 Changed files: - conda/cli/install.py ## Proble...
diff --git a/conda/cli/install.py b/conda/cli/install.py index 0000000..0000000 100644 --- a/conda/cli/install.py +++ b/conda/cli/install.py @@ -201,7 +201,11 @@ def install(args, parser, command='install'): specs = [] if args.file: for fpath in args.file: - specs.extend(common.specs_from_...
23,248
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8328", "repo": "conda/conda", "base_commit": "662df07042b2b0f5096334c4594f4351a5685978", "pull_number": 8328, "issue_numbers": [ "6696" ...
conda__conda-8342
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: ad31c75a4e73a423ef584b2918adece9301d6c6e 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 @@ -530,8 +530,7 @@ def ensure_binary(value): encoding = 'utf-8' if on_win: import ctypes - acp = ctypes.cdll.kernel32.GetACP() - encoding = str(acp) + ...
25,214
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8342", "repo": "conda/conda", "base_commit": "ad31c75a4e73a423ef584b2918adece9301d6c6e", "pull_number": 8342, "issue_numbers": [ "8341" ...
conda__conda-8352
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: ad31c75a4e73a423ef584b2918adece9301d6c6e 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,7 +38,7 @@ def _pip_install_via_requirements(prefix, specs, args, *_, **kwargs): requirements.write('\n'.join(specs)) requirem...
14,395
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8352", "repo": "conda/conda", "base_commit": "ad31c75a4e73a423ef584b2918adece9301d6c6e", "pull_number": 8352, "issue_numbers": [ "8347" ...
conda__conda-8444
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: b94d9f4d750c8028531eb589a5e2d7fad819d806 Changed files: - conda/core/solve.py - conda/res...
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 @@ -354,9 +354,19 @@ class Solver(object): log.debug("inconsistent precs: %s", dashlist(inconsistent_precs) if inconsistent_precs else 'None') ...
91,880
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8444", "repo": "conda/conda", "base_commit": "b94d9f4d750c8028531eb589a5e2d7fad819d806", "pull_number": 8444, "issue_numbers": [ "8391" ...
conda__conda-8531
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: e5dfb6001b4b463ef5255cc136989abeec8e81d9 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 @@ -81,6 +81,11 @@ CONDA_INITIALIZE_RE_BLOCK = ( r"([\s\S]*?)" r"# <<< conda initialize <<<(?:\n|\r\n)?") +CONDA_INITIALIZE_PS_RE_BLOCK = ( + r"^#re...
41,856
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8531", "repo": "conda/conda", "base_commit": "e5dfb6001b4b463ef5255cc136989abeec8e81d9", "pull_number": 8531, "issue_numbers": [ "8530" ...
conda__conda-8562
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: 4f152eed002ae8247cc7f0feac871dc35f322d73 Changed files: - conda/_vendor/auxlib/compat.py ...
diff --git a/conda/_vendor/auxlib/compat.py b/conda/_vendor/auxlib/compat.py index 0000000..0000000 100644 --- a/conda/_vendor/auxlib/compat.py +++ b/conda/_vendor/auxlib/compat.py @@ -66,7 +66,7 @@ if sys.version_info[0] < 3: if 'CONDA_TEST_SAVE_TEMPS' in os.environ: delete = False retur...
11,147
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8562", "repo": "conda/conda", "base_commit": "4f152eed002ae8247cc7f0feac871dc35f322d73", "pull_number": 8562, "issue_numbers": [ "8561" ...
conda__conda-8564
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: 4f152eed002ae8247cc7f0feac871dc35f322d73 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 @@ -485,22 +485,21 @@ class _Activator(object): clean_paths[sys.platform] if sys.platform in clean_paths else '/usr/bin') ...
26,533
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8564", "repo": "conda/conda", "base_commit": "4f152eed002ae8247cc7f0feac871dc35f322d73", "pull_number": 8564, "issue_numbers": [ "8566" ...
conda__conda-8611
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: a744d852e6364b8a31c10bc0c6b30020f9a85fcd Changed files: - conda/utils.py ## Problem stat...
diff --git a/conda/utils.py b/conda/utils.py index 0000000..0000000 100644 --- a/conda/utils.py +++ b/conda/utils.py @@ -12,7 +12,7 @@ from ._vendor.auxlib.decorators import memoize from ._vendor.auxlib.compat import shlex_split_unicode, string_types, Utf8NamedTemporaryFile from .common.compat import on_win, isiterab...
13,374
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8611", "repo": "conda/conda", "base_commit": "a744d852e6364b8a31c10bc0c6b30020f9a85fcd", "pull_number": 8611, "issue_numbers": [ "8585" ...
conda__conda-8644
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: 239ea5f0a1a3d7f8efc5fbe8a4f1f0885d121e67 Changed files: - conda/activate.py - conda/core/...
diff --git a/conda/activate.py b/conda/activate.py index 0000000..0000000 100644 --- a/conda/activate.py +++ b/conda/activate.py @@ -838,7 +838,7 @@ class XonshActivator(_Activator): self.sep = '/' self.path_conversion = native_path_to_unix self.script_extension = '.xsh' - self.tempfil...
75,153
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8644", "repo": "conda/conda", "base_commit": "239ea5f0a1a3d7f8efc5fbe8a4f1f0885d121e67", "pull_number": 8644, "issue_numbers": [ "8274" ...
conda__conda-8723
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: 0fd7941d545ef47930da10ea297b6c174050b1de 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 @@ -237,6 +237,7 @@ class Context(Configuration): report_errors = PrimitiveParameter(None, element_type=(bool, NoneType)) shortcuts = PrimitiveParameter(True) _...
63,901
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8723", "repo": "conda/conda", "base_commit": "0fd7941d545ef47930da10ea297b6c174050b1de", "pull_number": 8723, "issue_numbers": [ "8697" ...
conda__conda-8775
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: 70a554fb2cc60ddb138ef7ae67bba4e009bd152f Changed files: - conda/core/solve.py - conda/res...
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 @@ -78,6 +78,7 @@ class Solver(object): self._index = None self._r = None self._prepared = False + self._pool_cache = {} def solve_for_transac...
82,983
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8775", "repo": "conda/conda", "base_commit": "70a554fb2cc60ddb138ef7ae67bba4e009bd152f", "pull_number": 8775, "issue_numbers": [ "8772" ...
conda__conda-8819
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: 2ae1abc83521e6f908b9f25dd1606d8fa44ce863 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 @@ -449,13 +449,15 @@ class Resolve(object): raise UnsatisfiableError(bad_deps, strict=strict_channel_priority) def _get_strict_channel(self, package_name): + channel_name ...
41,556
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8819", "repo": "conda/conda", "base_commit": "2ae1abc83521e6f908b9f25dd1606d8fa44ce863", "pull_number": 8819, "issue_numbers": [ "8817" ...
conda__conda-8846
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: 0614e8108bf2ac392dcff2143d9b2e028a8623e9 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 @@ -501,7 +501,7 @@ class Solver(object): if s.name in explicit_pool: if s.name not in self.specs_to_add_names and not ssc.ignore_pinned: ...
42,055
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8846", "repo": "conda/conda", "base_commit": "0614e8108bf2ac392dcff2143d9b2e028a8623e9", "pull_number": 8846, "issue_numbers": [ "8843" ...
conda__conda-8892
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: a0762bdd302e3a3bfb9a03ac23cf5d5035b1f9cf 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 @@ -556,12 +556,13 @@ class Solver(object): # As a business rule, we never want to update python beyond the current minor version, # unless that's requested explic...
42,880
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8892", "repo": "conda/conda", "base_commit": "a0762bdd302e3a3bfb9a03ac23cf5d5035b1f9cf", "pull_number": 8892, "issue_numbers": [ "8824" ...
conda__conda-8907
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: cd3d93406d1897127e57b0370d2a93189e544c0e Changed files: - conda/common/io.py - conda/core...
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 @@ -385,7 +385,7 @@ class Spinner(object): # spinner_cycle = cycle("⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏") spinner_cycle = cycle('/-\\|') - def __init__(self, message, enabled=True, json=False): + ...
55,580
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8907", "repo": "conda/conda", "base_commit": "cd3d93406d1897127e57b0370d2a93189e544c0e", "pull_number": 8907, "issue_numbers": [ "8906" ...
conda__conda-8909
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: 25745cc9b7e3133074d4df1d149bf04001d766f5 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 @@ -14,6 +14,7 @@ from .compat import on_win, string_types from .. import CondaError from .._vendor.auxlib.decorators import memoize from .._vendor.toolz import accumulate, con...
9,273
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8909", "repo": "conda/conda", "base_commit": "25745cc9b7e3133074d4df1d149bf04001d766f5", "pull_number": 8909, "issue_numbers": [ "8908" ...
conda__conda-8911
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: 25745cc9b7e3133074d4df1d149bf04001d766f5 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 @@ -281,9 +281,8 @@ class History(object): # Conda hasn't always been good about recording when specs have been removed from # environments. If the package isn't installed in t...
67,121
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8911", "repo": "conda/conda", "base_commit": "25745cc9b7e3133074d4df1d149bf04001d766f5", "pull_number": 8911, "issue_numbers": [ "8842" ...
conda__conda-8912
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: 25745cc9b7e3133074d4df1d149bf04001d766f5 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 @@ -1542,6 +1542,14 @@ def add_parser_update_modifiers(solver_mode_options): help="Update all installed packages in the environment.", ...
88,743
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8912", "repo": "conda/conda", "base_commit": "25745cc9b7e3133074d4df1d149bf04001d766f5", "pull_number": 8912, "issue_numbers": [ "8858" ...
conda__conda-8917
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: 296a67dd74c1c6c78058c1b94d6aeec33691fe3b 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 @@ -113,7 +113,8 @@ class Resolve(object): self._pool_cache = {} self._strict_channel_cache = {} - self._system_precs = {_ for _ in index if _.package_type == PackageTy...
41,603
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8917", "repo": "conda/conda", "base_commit": "296a67dd74c1c6c78058c1b94d6aeec33691fe3b", "pull_number": 8917, "issue_numbers": [ "8916" ...
conda__conda-8924
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: 3cf5819a2ee04abf3dcdc094f4d27e1696bc43c7 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 @@ -402,8 +402,7 @@ class Resolve(object): # should start with `spec` and end with the first encountered conflict. A # conflict is something that is either not av...
46,115
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8924", "repo": "conda/conda", "base_commit": "3cf5819a2ee04abf3dcdc094f4d27e1696bc43c7", "pull_number": 8924, "issue_numbers": [ "8898" ...
conda__conda-8925
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: 3cf5819a2ee04abf3dcdc094f4d27e1696bc43c7 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 @@ -602,6 +602,11 @@ class UnlinkLinkTransaction(object): if exc: exceptions.append(exc) + # post link scripts m...
34,175
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8925", "repo": "conda/conda", "base_commit": "3cf5819a2ee04abf3dcdc094f4d27e1696bc43c7", "pull_number": 8925, "issue_numbers": [ "8914" ...
conda__conda-8938
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: 3ca57b16effb02f961631305fcd941d96cd856eb 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 @@ -90,14 +90,26 @@ def _supplement_index_with_prefix(index, prefix): assert prefix for prefix_record in PrefixData(prefix).iter_records(): if prefix_record in inde...
6,598
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8938", "repo": "conda/conda", "base_commit": "3ca57b16effb02f961631305fcd941d96cd856eb", "pull_number": 8938, "issue_numbers": [ "8302" ...
conda__conda-8998
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: 3a77f1ba53e2b17150e4f1cbc0b0a570f14b9246 Changed files: - conda/cli/install.py ## Proble...
diff --git a/conda/cli/install.py b/conda/cli/install.py index 0000000..0000000 100644 --- a/conda/cli/install.py +++ b/conda/cli/install.py @@ -225,8 +225,8 @@ def install(args, parser, command='install'): repodata_fns = args.repodata_fns if not repodata_fns: - repodata_fns = ["current_repodata.json...
9,565
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-8998", "repo": "conda/conda", "base_commit": "3a77f1ba53e2b17150e4f1cbc0b0a570f14b9246", "pull_number": 8998, "issue_numbers": [ "8996" ...
conda__conda-9045
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: 8bef991e3c23658435aa2e1fc90c62ac01d3a461 Changed files: - conda/common/pkg_formats/python...
diff --git a/conda/common/pkg_formats/python.py b/conda/common/pkg_formats/python.py index 0000000..0000000 100644 --- a/conda/common/pkg_formats/python.py +++ b/conda/common/pkg_formats/python.py @@ -17,6 +17,7 @@ import re import sys import warnings +from ... import CondaError from ..compat import PY2, StringIO,...
36,103
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9045", "repo": "conda/conda", "base_commit": "8bef991e3c23658435aa2e1fc90c62ac01d3a461", "pull_number": 9045, "issue_numbers": [ "8948" ...
conda__conda-9135
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: 3ac7898ee41188659418685c5f4e38c227af8e3d Changed files: - conda_env/cli/main_export.py #...
diff --git a/conda_env/cli/main_export.py b/conda_env/cli/main_export.py index 0000000..0000000 100644 --- a/conda_env/cli/main_export.py +++ b/conda_env/cli/main_export.py @@ -94,7 +94,11 @@ def execute(args, parser): * Re-run this command inside an activated conda environment.""").lstrip() ...
4,737
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9135", "repo": "conda/conda", "base_commit": "3ac7898ee41188659418685c5f4e38c227af8e3d", "pull_number": 9135, "issue_numbers": [ "9128" ...
conda__conda-9166
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: b9a7c17eb13f4e32c25ba0dce2fbabb0ee1bfcd2 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 @@ -11,6 +11,7 @@ from os.path import dirname, isdir, isfile, join, normpath from .prefix_data import PrefixData from ..base.context import context from...
3,791
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9166", "repo": "conda/conda", "base_commit": "b9a7c17eb13f4e32c25ba0dce2fbabb0ee1bfcd2", "pull_number": 9166, "issue_numbers": [ "9165" ...
conda__conda-9261
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: a0ae1898a00423d504bf204f8cde664ecdfd30d0 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 @@ -181,8 +181,16 @@ class MatchSpec(object): if dist_str.endswith(CONDA_PACKAGE_EXTENSION_V1): dist_str = dist_str[:-len(CONDA_PACKA...
38,991
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9261", "repo": "conda/conda", "base_commit": "a0ae1898a00423d504bf204f8cde664ecdfd30d0", "pull_number": 9261, "issue_numbers": [ "9116" ...
conda__conda-9284
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: 700b23fe2b96cc6089f09295e85a0a4673d43797 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 @@ -1233,7 +1233,7 @@ def _bashrc_content(conda_prefix, shell): if ( -f "%(conda_prefix)s/etc/profile.d/conda.csh" ) then source "%(c...
47,292
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9284", "repo": "conda/conda", "base_commit": "700b23fe2b96cc6089f09295e85a0a4673d43797", "pull_number": 9284, "issue_numbers": [ "9283" ...
conda__conda-9381
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: 63c9c1cc27fe6380278554c830f5dbf0153e77df Changed files: - conda/cli/main_run.py - conda/c...
diff --git a/conda/cli/main_run.py b/conda/cli/main_run.py index 0000000..0000000 100644 --- a/conda/cli/main_run.py +++ b/conda/cli/main_run.py @@ -3,7 +3,7 @@ from __future__ import absolute_import, division, print_function, unicode_litera from logging import getLogger import os -from subprocess import PIPE, Pope...
10,337
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9381", "repo": "conda/conda", "base_commit": "63c9c1cc27fe6380278554c830f5dbf0153e77df", "pull_number": 9381, "issue_numbers": [ "8386" ...
conda__conda-9385
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: 216b1c126b0f460694f9f97edc4fafcd4ecf472b 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 @@ -22,12 +22,13 @@ import warnings from .. import CondaError from .._vendor.auxlib.ish import dals from .._vendor.auxlib.logz import stringify -from .._ven...
26,523
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9385", "repo": "conda/conda", "base_commit": "216b1c126b0f460694f9f97edc4fafcd4ecf472b", "pull_number": 9385, "issue_numbers": [ "8028" ...
conda__conda-9418
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: 89d91d639ac661e71af1fdf640c06390cc7df688 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 @@ -181,8 +181,16 @@ class MatchSpec(object): if dist_str.endswith(CONDA_PACKAGE_EXTENSION_V1): dist_str = dist_str[:-len(CONDA_PACKA...
38,979
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9418", "repo": "conda/conda", "base_commit": "89d91d639ac661e71af1fdf640c06390cc7df688", "pull_number": 9418, "issue_numbers": [ "9116" ...
conda__conda-9464
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: 89d91d639ac661e71af1fdf640c06390cc7df688 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 @@ -109,17 +109,17 @@ def touch(path, mkdir=False, sudo_safe=False): mkdir_p(dirpath) else: ...
3,711
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9464", "repo": "conda/conda", "base_commit": "89d91d639ac661e71af1fdf640c06390cc7df688", "pull_number": 9464, "issue_numbers": [ "8243", ...
conda__conda-9614
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: d527576f8033731cac9196494b9a1061b29091ba 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 @@ -281,6 +281,8 @@ class Solver: the solved state of the environment. """ + if prune and update_modifier == UpdateModifier.FREEZE_INSTALLED: + ...
42,643
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9614", "repo": "conda/conda", "base_commit": "d527576f8033731cac9196494b9a1061b29091ba", "pull_number": 9614, "issue_numbers": [ "7279" ...
conda__conda-9660
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: 50093e14c6a96c7cd4f6c4570cc09bc5b763ede4 Changed files: - conda_env/cli/main_config.py #...
diff --git a/conda_env/cli/main_config.py b/conda_env/cli/main_config.py index 0000000..0000000 100644 --- a/conda_env/cli/main_config.py +++ b/conda_env/cli/main_config.py @@ -24,5 +24,10 @@ def configure_parser(sub_parsers): help=config_description, epilog=config_example, ) + config_parser.s...
3,467
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9660", "repo": "conda/conda", "base_commit": "50093e14c6a96c7cd4f6c4570cc09bc5b763ede4", "pull_number": 9660, "issue_numbers": [ "9625" ...
conda__conda-9665
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: 2cdd7ab052c2b96c088137f52dc40c613e99ce33 Changed files: - conda/cli/main.py ## Problem s...
diff --git a/conda/cli/main.py b/conda/cli/main.py index 0000000..0000000 100644 --- a/conda/cli/main.py +++ b/conda/cli/main.py @@ -84,6 +84,8 @@ def _main(*args, **kwargs): exit_code = do_call(args, p) if isinstance(exit_code, int): return exit_code + elif hasattr(exit_code, 'rc'): + retu...
4,272
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9665", "repo": "conda/conda", "base_commit": "2cdd7ab052c2b96c088137f52dc40c613e99ce33", "pull_number": 9665, "issue_numbers": [ "9599" ...
conda__conda-9730
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: 901afcffb77b9a1132bfdb8381b2ce8afdc28c69 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 @@ -14,7 +14,7 @@ from io import open as io_open import json from logging import DEBUG, getLogger from mmap import ACCESS_READ, mmap -from os.path import di...
24,435
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9730", "repo": "conda/conda", "base_commit": "901afcffb77b9a1132bfdb8381b2ce8afdc28c69", "pull_number": 9730, "issue_numbers": [ "9661" ...
conda__conda-9738
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: 901afcffb77b9a1132bfdb8381b2ce8afdc28c69 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 @@ -485,8 +485,8 @@ class Solver(object): if inconsistent_precs: print(dedent(""" The environment is inconsistent, please check the package plan car...
44,416
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9738", "repo": "conda/conda", "base_commit": "901afcffb77b9a1132bfdb8381b2ce8afdc28c69", "pull_number": 9738, "issue_numbers": [ "9737" ...
conda__conda-9841
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: a7ad4df5882e2ae6bf7a62aecfe94c3c15ea0718 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 @@ -1222,7 +1222,7 @@ def messages(prefix): m = fi.read() if hasattr(m, "decode"): m = m.decode('utf-8') - print(m.en...
36,134
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9841", "repo": "conda/conda", "base_commit": "a7ad4df5882e2ae6bf7a62aecfe94c3c15ea0718", "pull_number": 9841, "issue_numbers": [ "9819" ...
conda__conda-9999
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: 45ad4a4b8e38aaa9299e971f69c630b4fcfd93b2 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 @@ -376,6 +376,8 @@ def get_python_version_for_prefix(prefix): next_record = next(py_record_iter, None) if next_record is not None: raise Co...
10,476
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-9999", "repo": "conda/conda", "base_commit": "45ad4a4b8e38aaa9299e971f69c630b4fcfd93b2", "pull_number": 9999, "issue_numbers": [ "9917" ...
conda__conda-10022
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: 45ad4a4b8e38aaa9299e971f69c630b4fcfd93b2 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 @@ -55,6 +55,7 @@ def generate_parser(): sub_parsers.required = True configure_parser_clean(sub_parsers) + configure_parser_compare(sub_...
42,630
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-10022", "repo": "conda/conda", "base_commit": "45ad4a4b8e38aaa9299e971f69c630b4fcfd93b2", "pull_number": 10022, "issue_numbers": [ "3781"...
conda__conda-10028
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: 45ad4a4b8e38aaa9299e971f69c630b4fcfd93b2 Changed files: - conda/cli/install.py ## Proble...
diff --git a/conda/cli/install.py b/conda/cli/install.py index 0000000..0000000 100644 --- a/conda/cli/install.py +++ b/conda/cli/install.py @@ -148,7 +148,7 @@ def install(args, parser, command='install'): # fall-through expected under normal operation pass else: - ...
10,118
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-10028", "repo": "conda/conda", "base_commit": "45ad4a4b8e38aaa9299e971f69c630b4fcfd93b2", "pull_number": 10028, "issue_numbers": [ "10027...
conda__conda-10057
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: 45ad4a4b8e38aaa9299e971f69c630b4fcfd93b2 Changed files: - conda/core/solve.py - conda/exc...
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 @@ -390,6 +390,14 @@ class Solver(object): if pkg_name not in ssc.specs_map and ssc.prefix_data.get(pkg_name, None): ssc.specs_map[pkg_name] = MatchSpec(...
126,942
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-10057", "repo": "conda/conda", "base_commit": "45ad4a4b8e38aaa9299e971f69c630b4fcfd93b2", "pull_number": 10057, "issue_numbers": [ "9896"...
conda__conda-10086
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: 63204e684c8a6ea609c789bb83da4fc111ebd1f5 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 @@ -4,6 +4,7 @@ from __future__ import absolute_import, division, print_function, unicode_literals import logging +from os.path import isfile, join import sys...
13,834
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-10086", "repo": "conda/conda", "base_commit": "63204e684c8a6ea609c789bb83da4fc111ebd1f5", "pull_number": 10086, "issue_numbers": [ "9755"...
conda__conda-10090
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: ac6487bf6b79dac1d620fb9ddbadb334b613596b Changed files: - conda/cli/main_create.py ## Pr...
diff --git a/conda/cli/main_create.py b/conda/cli/main_create.py index 0000000..0000000 100644 --- a/conda/cli/main_create.py +++ b/conda/cli/main_create.py @@ -21,6 +21,10 @@ def execute(args, parser): if is_conda_environment(context.target_prefix): if paths_equal(context.target_prefix, context.root_pref...
4,299
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-10090", "repo": "conda/conda", "base_commit": "ac6487bf6b79dac1d620fb9ddbadb334b613596b", "pull_number": 10090, "issue_numbers": [ "9997"...
conda__conda-10117
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: 9785db1271ae83d7d44828c04fa01dab7a44af9e 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 @@ -369,6 +369,8 @@ class Solver(object): return update_constrained for pkg in self.specs_to_add: + if pkg.name.startswith('__'): # ignore virtual ...
45,133
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-10117", "repo": "conda/conda", "base_commit": "9785db1271ae83d7d44828c04fa01dab7a44af9e", "pull_number": 10117, "issue_numbers": [ "10116...
conda__conda-10261
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: 10953ebc9e06c6f189ed923994b1d4d1bf9edac4 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 @@ -73,8 +73,9 @@ def execute(args, parser): handle_txn(txn, prefix, args, False, True) except PackagesNotFoundError: ...
6,446
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-10261", "repo": "conda/conda", "base_commit": "10953ebc9e06c6f189ed923994b1d4d1bf9edac4", "pull_number": 10261, "issue_numbers": [ "10231...
conda__conda-10356
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: e5a596438122ae15347aec16a2370423d7917b46 Changed files: - conda_env/env.py ## Problem st...
diff --git a/conda_env/env.py b/conda_env/env.py index 0000000..0000000 100644 --- a/conda_env/env.py +++ b/conda_env/env.py @@ -155,8 +155,12 @@ def from_file(filename): elif not os.path.exists(filename): raise exceptions.EnvironmentFileNotFound(filename) else: - with open(filename, 'r') as f...
11,119
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-10356", "repo": "conda/conda", "base_commit": "e5a596438122ae15347aec16a2370423d7917b46", "pull_number": 10356, "issue_numbers": [ "9749"...
conda__conda-10413
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: ca16b2c4747c6464a30615d7462fac646c63743e 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 @@ -450,7 +450,10 @@ def make_initialize_plan(conda_prefix, shells, for_user, for_system, anaconda_pr }) if 'zsh' in shells and for_user: -...
48,851
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-10413", "repo": "conda/conda", "base_commit": "ca16b2c4747c6464a30615d7462fac646c63743e", "pull_number": 10413, "issue_numbers": [ "9362"...
conda__conda-10542
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: 86b4aea54b27666e33b835063c8e37f7dfb35264 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 @@ -783,7 +783,7 @@ class Context(Configuration): # 'Windows', '10.0.17134' platform_name = self.platform_system_release[0] if platform_name == 'L...
47,565
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-10542", "repo": "conda/conda", "base_commit": "86b4aea54b27666e33b835063c8e37f7dfb35264", "pull_number": 10542, "issue_numbers": [ "10490...
conda__conda-10552
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: 4f7c7fe89c5d172e425f549a1c260f7b69769995 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 @@ -172,6 +172,8 @@ def _supplement_index_with_system(index): libc_family, libc_version = context.libc_family_version is_linux = context.subdir.startswith("linux-") if ...
8,457
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-10552", "repo": "conda/conda", "base_commit": "4f7c7fe89c5d172e425f549a1c260f7b69769995", "pull_number": 10552, "issue_numbers": [ "10551...
conda__conda-10638
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: b6d32c8d761163cf42099f02ca564f55602b1a11 Changed files: - conda_env/env.py ## Problem st...
diff --git a/conda_env/env.py b/conda_env/env.py index 0000000..0000000 100644 --- a/conda_env/env.py +++ b/conda_env/env.py @@ -63,6 +63,7 @@ def validate_keys(data, kwargs): "in the wrong place. Please add an explicit pip dependency. I'm adding one" " for you, but still nagging...
22,701
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "conda__conda-10638", "repo": "conda/conda", "base_commit": "b6d32c8d761163cf42099f02ca564f55602b1a11", "pull_number": 10638, "issue_numbers": [ "10614...
zulip__zulip-183
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: zulip/zulip Base commit: 6569018de7658bddf1ea1afd7d65b79009df1485 Changed files: - provision.py ## Problem statem...
diff --git a/provision.py b/provision.py index 0000000..0000000 100644 --- a/provision.py +++ b/provision.py @@ -51,6 +51,12 @@ NPM_DEPENDENCIES = { VENV_PATH="/srv/zulip-venv" ZULIP_PATH="/srv/zulip" +if not os.path.exists(os.path.join(os.path.dirname(__file__), ".git")): + print "Error: No Zulip git repository...
5,141
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-183", "repo": "zulip/zulip", "base_commit": "6569018de7658bddf1ea1afd7d65b79009df1485", "pull_number": 183, "issue_numbers": [ "148" ],...
zulip__zulip-471
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: zulip/zulip Base commit: 668d0d9dfa52d88ec720b3c6a4aa7b36a604e0f8 Changed files: - provision.py ## Problem statem...
diff --git a/provision.py b/provision.py index 0000000..0000000 100644 --- a/provision.py +++ b/provision.py @@ -36,6 +36,8 @@ APT_DEPENDENCIES = { "git", "npm", "yui-compressor", + "wget", + "ca-certificates", # Explicit dependency in case e.g. wget is already installed ...
4,997
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-471", "repo": "zulip/zulip", "base_commit": "668d0d9dfa52d88ec720b3c6a4aa7b36a604e0f8", "pull_number": 471, "issue_numbers": [ "470" ],...
zulip__zulip-597
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: zulip/zulip Base commit: 6d0e868897b1fdc4ae7c844bac2e99f47b7aea57 Changed files: - zerver/management/commands/proc...
diff --git a/zerver/management/commands/process_queue.py b/zerver/management/commands/process_queue.py index 0000000..0000000 100644 --- a/zerver/management/commands/process_queue.py +++ b/zerver/management/commands/process_queue.py @@ -38,6 +38,7 @@ class Command(BaseCommand): logger.info("Worker %d con...
2,626
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-597", "repo": "zulip/zulip", "base_commit": "6d0e868897b1fdc4ae7c844bac2e99f47b7aea57", "pull_number": 597, "issue_numbers": [ "586" ],...
zulip__zulip-837
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: zulip/zulip Base commit: 09400a7e508b2d9007a6f92fa504c6b6528b2fd8 Changed files: - provision.py - tools/setup/emoj...
diff --git a/provision.py b/provision.py index 0000000..0000000 100644 --- a/provision.py +++ b/provision.py @@ -146,7 +146,8 @@ def main(): run(["wget", "-O", temp_deb_path, TSEARCH_URL]) run(["sudo", "dpkg", "--install", temp_deb_path]) - setup_virtualenv(PY3_VENV_PATH, os.path.join(ZULIP_PATH, "tools"...
7,057
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-837", "repo": "zulip/zulip", "base_commit": "09400a7e508b2d9007a6f92fa504c6b6528b2fd8", "pull_number": 837, "issue_numbers": [ "708" ],...
zulip__zulip-1065
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: zulip/zulip Base commit: aceee3da11b79bfc34d5af3231ab46082b6ce77d Changed files: - scripts/setup/generate_secrets....
diff --git a/scripts/setup/generate_secrets.py b/scripts/setup/generate_secrets.py index 0000000..0000000 100755 --- a/scripts/setup/generate_secrets.py +++ b/scripts/setup/generate_secrets.py @@ -8,6 +8,8 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..')) os.environ['DJANGO_SETTINGS_MODULE'] =...
2,117
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-1065", "repo": "zulip/zulip", "base_commit": "aceee3da11b79bfc34d5af3231ab46082b6ce77d", "pull_number": 1065, "issue_numbers": [ "1035" ...
zulip__zulip-1112
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: zulip/zulip Base commit: 8cecb3774321adf638b93781a175e74e68a6564b Changed files: - scripts/lib/setup_venv.py ## P...
diff --git a/scripts/lib/setup_venv.py b/scripts/lib/setup_venv.py index 0000000..0000000 100644 --- a/scripts/lib/setup_venv.py +++ b/scripts/lib/setup_venv.py @@ -18,6 +18,7 @@ if False: from typing import List, Optional VENV_DEPENDENCIES = [ + "build-essential", "libffi-dev", "libfreetype6-dev",...
3,323
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-1112", "repo": "zulip/zulip", "base_commit": "8cecb3774321adf638b93781a175e74e68a6564b", "pull_number": 1112, "issue_numbers": [ "1111" ...
zulip__zulip-1152
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: zulip/zulip Base commit: 17b6d136d566fde2de889aeb22440bf0db83c138 Changed files: - tools/run-dev.py - zproject/set...
diff --git a/tools/run-dev.py b/tools/run-dev.py index 0000000..0000000 100755 --- a/tools/run-dev.py +++ b/tools/run-dev.py @@ -74,7 +74,6 @@ os.setpgrp() # Pass --nostatic because we configure static serving ourselves in # zulip/urls.py. cmds = [['./tools/compile-handlebars-templates', 'forever'], - ['./too...
26,856
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-1152", "repo": "zulip/zulip", "base_commit": "17b6d136d566fde2de889aeb22440bf0db83c138", "pull_number": 1152, "issue_numbers": [ "878" ...
zulip__zulip-2024
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: zulip/zulip Base commit: a85f9a951a8b06f9f4c7852b57cd58146e27776b Changed files: - scripts/lib/node_cache.py ## P...
diff --git a/scripts/lib/node_cache.py b/scripts/lib/node_cache.py index 0000000..0000000 100644 --- a/scripts/lib/node_cache.py +++ b/scripts/lib/node_cache.py @@ -5,7 +5,7 @@ import hashlib from os.path import dirname, abspath if False: - from typing import Optional, List, Tuple + from typing import Optiona...
1,905
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-2024", "repo": "zulip/zulip", "base_commit": "a85f9a951a8b06f9f4c7852b57cd58146e27776b", "pull_number": 2024, "issue_numbers": [ "1981" ...
zulip__zulip-2778
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: zulip/zulip Base commit: 3227484fbf9e5cec3caf969b87fbf98cbd75d972 Changed files: - zerver/lib/cache.py ## Problem...
diff --git a/zerver/lib/cache.py b/zerver/lib/cache.py index 0000000..0000000 100644 --- a/zerver/lib/cache.py +++ b/zerver/lib/cache.py @@ -312,7 +312,7 @@ def user_profile_by_id_cache_key(user_profile_id): return u"user_profile_by_id:%s" % (user_profile_id,) # TODO: Refactor these cache helpers into another f...
12,028
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-2778", "repo": "zulip/zulip", "base_commit": "3227484fbf9e5cec3caf969b87fbf98cbd75d972", "pull_number": 2778, "issue_numbers": [ "2435" ...
zulip__zulip-2809
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: zulip/zulip Base commit: 56e1fb6df664bcf1629b7b69ef953680b1a7954c Changed files: - zilencer/management/commands/po...
diff --git a/zilencer/management/commands/populate_db.py b/zilencer/management/commands/populate_db.py index 0000000..0000000 100644 --- a/zilencer/management/commands/populate_db.py +++ b/zilencer/management/commands/populate_db.py @@ -17,7 +17,6 @@ from zerver.lib.bulk_create import bulk_create_realms, \ bulk_cr...
12,553
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-2809", "repo": "zulip/zulip", "base_commit": "56e1fb6df664bcf1629b7b69ef953680b1a7954c", "pull_number": 2809, "issue_numbers": [ "2729" ...
zulip__zulip-3035
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: zulip/zulip Base commit: 8b6a28dfa6d253f648a3a9818df4db4bb1b7d589 Changed files: - api/zulip/__init__.py - zerver/...
diff --git a/api/zulip/__init__.py b/api/zulip/__init__.py index 0000000..0000000 100644 --- a/api/zulip/__init__.py +++ b/api/zulip/__init__.py @@ -641,13 +641,30 @@ class Client(object): request=request, ) + def get_stream_id(self, stream): + # type: (str) -> Dict[str, Any] + ...
45,422
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-3035", "repo": "zulip/zulip", "base_commit": "8b6a28dfa6d253f648a3a9818df4db4bb1b7d589", "pull_number": 3035, "issue_numbers": [ "2930" ...
zulip__zulip-3044
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: zulip/zulip Base commit: c199c73b939d187cf8b8ab22caa90bbd1ed3a451 Changed files: - tools/test-help-documentation.p...
diff --git a/tools/test-help-documentation.py b/tools/test-help-documentation.py index 0000000..0000000 100755 --- a/tools/test-help-documentation.py +++ b/tools/test-help-documentation.py @@ -1,5 +1,6 @@ #!/usr/bin/env python from __future__ import print_function +import optparse import os import sys import subpr...
1,960
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-3044", "repo": "zulip/zulip", "base_commit": "c199c73b939d187cf8b8ab22caa90bbd1ed3a451", "pull_number": 3044, "issue_numbers": [ "2996" ...
zulip__zulip-3139
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: zulip/zulip Base commit: 196cf4367b72bccc441c52e26e64b44b12f237c1 Changed files: - tools/lib/html_branches.py ## ...
diff --git a/tools/lib/html_branches.py b/tools/lib/html_branches.py index 0000000..0000000 100644 --- a/tools/lib/html_branches.py +++ b/tools/lib/html_branches.py @@ -4,6 +4,7 @@ from __future__ import print_function from typing import Optional import re +from collections import defaultdict from .template_pars...
4,387
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-3139", "repo": "zulip/zulip", "base_commit": "196cf4367b72bccc441c52e26e64b44b12f237c1", "pull_number": 3139, "issue_numbers": [ "2950" ...
zulip__zulip-3190
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: zulip/zulip Base commit: e6c3aaae120c1cd818bfdbd6c8b8de2376965ac6 Changed files: - zerver/context_processors.py - ...
diff --git a/zerver/context_processors.py b/zerver/context_processors.py index 0000000..0000000 100644 --- a/zerver/context_processors.py +++ b/zerver/context_processors.py @@ -61,6 +61,8 @@ def add_settings(request): 'development_environment': settings.DEVELOPMENT, 'support_email': sett...
42,933
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-3190", "repo": "zulip/zulip", "base_commit": "e6c3aaae120c1cd818bfdbd6c8b8de2376965ac6", "pull_number": 3190, "issue_numbers": [ "2628" ...
zulip__zulip-3217
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: zulip/zulip Base commit: 4d10c4274bf83d208ebb2d92727e3e203c19674c Changed files: - contrib_bots/run.py ## Problem...
diff --git a/contrib_bots/run.py b/contrib_bots/run.py index 0000000..0000000 100755 --- a/contrib_bots/run.py +++ b/contrib_bots/run.py @@ -6,6 +6,7 @@ import logging import optparse import os import sys +import time our_dir = os.path.dirname(os.path.abspath(__file__)) @@ -15,11 +16,27 @@ if os.path.exists(os....
3,319
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-3217", "repo": "zulip/zulip", "base_commit": "4d10c4274bf83d208ebb2d92727e3e203c19674c", "pull_number": 3217, "issue_numbers": [ "3210" ...
zulip__zulip-3275
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: zulip/zulip Base commit: b6476fdd81ccadb4c24b026025497472a3168f13 Changed files: - api/zulip/__init__.py - zprojec...
diff --git a/api/zulip/__init__.py b/api/zulip/__init__.py index 0000000..0000000 100644 --- a/api/zulip/__init__.py +++ b/api/zulip/__init__.py @@ -681,7 +681,7 @@ class Client(object): ''' return self.call_endpoint( url='messages/render', - method='GET', + method='...
31,937
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-3275", "repo": "zulip/zulip", "base_commit": "b6476fdd81ccadb4c24b026025497472a3168f13", "pull_number": 3275, "issue_numbers": [ "3271" ...
zulip__zulip-3286
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: zulip/zulip Base commit: b6476fdd81ccadb4c24b026025497472a3168f13 Changed files: - api/zulip/__init__.py ## Probl...
diff --git a/api/zulip/__init__.py b/api/zulip/__init__.py index 0000000..0000000 100644 --- a/api/zulip/__init__.py +++ b/api/zulip/__init__.py @@ -659,11 +659,11 @@ class Client(object): ''' Example usage: client.get_subscribers(stream='devel') ''' - request_stream_id = self.get_...
17,798
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-3286", "repo": "zulip/zulip", "base_commit": "b6476fdd81ccadb4c24b026025497472a3168f13", "pull_number": 3286, "issue_numbers": [ "3281" ...
zulip__zulip-3414
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: zulip/zulip Base commit: 15c4ae9ea94d416caf16230e7480af6c37068e67 Changed files: - zproject/backends.py - zproject...
diff --git a/zproject/backends.py b/zproject/backends.py index 0000000..0000000 100644 --- a/zproject/backends.py +++ b/zproject/backends.py @@ -17,9 +17,9 @@ from zerver.models import UserProfile, Realm, get_user_profile_by_id, \ from apiclient.sample_tools import client as googleapiclient from oauth2client.crypt ...
53,873
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-3414", "repo": "zulip/zulip", "base_commit": "15c4ae9ea94d416caf16230e7480af6c37068e67", "pull_number": 3414, "issue_numbers": [ "3403" ...
zulip__zulip-3428
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: zulip/zulip Base commit: c49789778cafe8fb1d8a955c631daf4f137d8138 Changed files: - tools/lib/pretty_print.py ## P...
diff --git a/tools/lib/pretty_print.py b/tools/lib/pretty_print.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/tools/lib/pretty_print.py @@ -0,0 +1,119 @@ +from __future__ import absolute_import +from __future__ import print_function + +from typing import Any + +from .template_parser import ( + t...
1,735
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-3428", "repo": "zulip/zulip", "base_commit": "c49789778cafe8fb1d8a955c631daf4f137d8138", "pull_number": 3428, "issue_numbers": [ "1778" ...
zulip__zulip-3596
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: zulip/zulip Base commit: 7a174791f19f45cd99305ad9acbf3da089ac40ea Changed files: - contrib_bots/bots/wikipedia/wik...
diff --git a/contrib_bots/bots/wikipedia/wikipedia.py b/contrib_bots/bots/wikipedia/wikipedia.py index 0000000..0000000 100644 --- a/contrib_bots/bots/wikipedia/wikipedia.py +++ b/contrib_bots/bots/wikipedia/wikipedia.py @@ -60,12 +60,12 @@ class WikipediaHandler(object): logging.error('unsuccessful data')...
1,947
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-3596", "repo": "zulip/zulip", "base_commit": "7a174791f19f45cd99305ad9acbf3da089ac40ea", "pull_number": 3596, "issue_numbers": [ "3508" ...
zulip__zulip-3693
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: zulip/zulip Base commit: 5f2e320feebe16caa8c84565bc2d43a529d91152 Changed files: - zproject/prod_settings_template...
diff --git a/zproject/prod_settings_template.py b/zproject/prod_settings_template.py index 0000000..0000000 100644 --- a/zproject/prod_settings_template.py +++ b/zproject/prod_settings_template.py @@ -68,21 +68,23 @@ AUTHENTICATION_BACKENDS = ( # SSO_APPEND_DOMAIN = "example.com") SSO_APPEND_DOMAIN = None # type: str...
43,568
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-3693", "repo": "zulip/zulip", "base_commit": "5f2e320feebe16caa8c84565bc2d43a529d91152", "pull_number": 3693, "issue_numbers": [ "3669" ...
zulip__zulip-3742
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: zulip/zulip Base commit: 7a75ed9c4a8219e4ad1efe3f6863e13e2ffc1de6 Changed files: - tools/lib/template_parser.py #...
diff --git a/tools/lib/template_parser.py b/tools/lib/template_parser.py index 0000000..0000000 100644 --- a/tools/lib/template_parser.py +++ b/tools/lib/template_parser.py @@ -5,8 +5,19 @@ from six.moves import range import re class TemplateParserException(Exception): - # TODO: Have callers pass in line numbers...
7,346
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-3742", "repo": "zulip/zulip", "base_commit": "7a75ed9c4a8219e4ad1efe3f6863e13e2ffc1de6", "pull_number": 3742, "issue_numbers": [ "1268" ...
zulip__zulip-4356
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: zulip/zulip Base commit: 9aa77e491e45dd8002162ea2e9ef62a9cc414aff Changed files: - zerver/lib/bulk_create.py - zer...
diff --git a/zerver/lib/bulk_create.py b/zerver/lib/bulk_create.py index 0000000..0000000 100644 --- a/zerver/lib/bulk_create.py +++ b/zerver/lib/bulk_create.py @@ -21,7 +21,8 @@ def bulk_create_users(realm, users_raw, bot_type=None, tos_version=None): profile = create_user_profile(realm, email, ...
6,140
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-4356", "repo": "zulip/zulip", "base_commit": "9aa77e491e45dd8002162ea2e9ef62a9cc414aff", "pull_number": 4356, "issue_numbers": [ "4355" ...
zulip__zulip-5188
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: zulip/zulip Base commit: 3905602da54dd43e2f1cfa707732ec479bbd9fcd Changed files: - tools/lib/provision.py - zproje...
diff --git a/tools/lib/provision.py b/tools/lib/provision.py index 0000000..0000000 100755 --- a/tools/lib/provision.py +++ b/tools/lib/provision.py @@ -240,18 +240,28 @@ def main(options): if not options.is_production_travis: # These won't be used anyway run(["scripts/setup/configure-rabbitmq"])...
10,019
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-5188", "repo": "zulip/zulip", "base_commit": "3905602da54dd43e2f1cfa707732ec479bbd9fcd", "pull_number": 5188, "issue_numbers": [ "5182" ...
zulip__zulip-5385
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: zulip/zulip Base commit: 6c722843ef0279b89283f188a6048ca9deb0eaca Changed files: - zproject/settings.py ## Proble...
diff --git a/zproject/settings.py b/zproject/settings.py index 0000000..0000000 100644 --- a/zproject/settings.py +++ b/zproject/settings.py @@ -335,6 +335,8 @@ non_html_template_engine_settings.update({ }) non_html_template_engine_settings['OPTIONS'].update({ 'autoescape': False, + 'trim_blocks': True, + ...
34,966
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-5385", "repo": "zulip/zulip", "base_commit": "6c722843ef0279b89283f188a6048ca9deb0eaca", "pull_number": 5385, "issue_numbers": [ "5274" ...
zulip__zulip-5403
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: zulip/zulip Base commit: 4f223c19d83c7d2ef32f9ae5218dbf76c61e0b27 Changed files: - tools/lib/provision.py ## Prob...
diff --git a/tools/lib/provision.py b/tools/lib/provision.py index 0000000..0000000 100755 --- a/tools/lib/provision.py +++ b/tools/lib/provision.py @@ -6,6 +6,7 @@ import logging import argparse import platform import subprocess +import hashlib os.environ["PYTHONUNBUFFERED"] = "y" @@ -183,12 +184,35 @@ def mai...
12,105
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-5403", "repo": "zulip/zulip", "base_commit": "4f223c19d83c7d2ef32f9ae5218dbf76c61e0b27", "pull_number": 5403, "issue_numbers": [ "5186" ...
zulip__zulip-5407
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: zulip/zulip Base commit: 205d523ab2fb585c2f869729f32b509b47f2fb09 Changed files: - tools/documentation_crawler/doc...
diff --git a/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py b/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py index 0000000..0000000 100644 --- a/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py +++ b/tools/documentation_crawler/documen...
3,537
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-5407", "repo": "zulip/zulip", "base_commit": "205d523ab2fb585c2f869729f32b509b47f2fb09", "pull_number": 5407, "issue_numbers": [ "5366" ...
zulip__zulip-5423
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: zulip/zulip Base commit: 081e0405dc42cbe0e5b8050f475cedf0bb7aa073 Changed files: - zerver/lib/bugdown/fenced_code....
diff --git a/zerver/lib/bugdown/fenced_code.py b/zerver/lib/bugdown/fenced_code.py index 0000000..0000000 100644 --- a/zerver/lib/bugdown/fenced_code.py +++ b/zerver/lib/bugdown/fenced_code.py @@ -98,7 +98,7 @@ FENCE_RE = re.compile(u""" ( \\{?\\.? (?P<lang> - [a-zA-Z0-9_+-]* + ...
9,635
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-5423", "repo": "zulip/zulip", "base_commit": "081e0405dc42cbe0e5b8050f475cedf0bb7aa073", "pull_number": 5423, "issue_numbers": [ "5412", ...
zulip__zulip-5457
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: zulip/zulip Base commit: 7e992623315534adfc3b5a44c926b3e28cf738f1 Changed files: - zerver/lib/narrow.py - zerver/v...
diff --git a/zerver/lib/narrow.py b/zerver/lib/narrow.py index 0000000..0000000 100644 --- a/zerver/lib/narrow.py +++ b/zerver/lib/narrow.py @@ -43,6 +43,9 @@ def build_narrow_filter(narrow): elif operator == "is" and operand in ["starred"]: if operand not in flags: re...
35,373
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-5457", "repo": "zulip/zulip", "base_commit": "7e992623315534adfc3b5a44c926b3e28cf738f1", "pull_number": 5457, "issue_numbers": [ "1423" ...
zulip__zulip-5459
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: zulip/zulip Base commit: 79804620106b77a70c32fb6d885cbc8a7bbbc5ef Changed files: - zerver/views/messages.py ## Pr...
diff --git a/zerver/views/messages.py b/zerver/views/messages.py index 0000000..0000000 100644 --- a/zerver/views/messages.py +++ b/zerver/views/messages.py @@ -261,7 +261,8 @@ class NarrowBuilder(object): if ',' in operand: # Huddle try: - emails = [e.strip() for e in ...
34,359
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-5459", "repo": "zulip/zulip", "base_commit": "79804620106b77a70c32fb6d885cbc8a7bbbc5ef", "pull_number": 5459, "issue_numbers": [ "2360" ...
zulip__zulip-5463
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: zulip/zulip Base commit: 23dc32a0f3c37454d0c28bcc4fff1442386eace2 Changed files: - zerver/forms.py ## Problem sta...
diff --git a/zerver/forms.py b/zerver/forms.py index 0000000..0000000 100644 --- a/zerver/forms.py +++ b/zerver/forms.py @@ -257,6 +257,12 @@ Please contact %s to reactivate this group.""" % ( settings.ZULIP_ADMINISTRATOR) raise ValidationError(mark_safe(error_msg)) + if not user_...
8,676
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-5463", "repo": "zulip/zulip", "base_commit": "23dc32a0f3c37454d0c28bcc4fff1442386eace2", "pull_number": 5463, "issue_numbers": [ "4757" ...
zulip__zulip-5478
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: zulip/zulip Base commit: bccd2caacba63b561a66ba3fa8591a2a54e6d845 Changed files: - zerver/migrations/0085_fix_bots...
diff --git a/zerver/migrations/0085_fix_bots_with_none_bot_type.py b/zerver/migrations/0085_fix_bots_with_none_bot_type.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/zerver/migrations/0085_fix_bots_with_none_bot_type.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.2 on 2017...
677
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-5478", "repo": "zulip/zulip", "base_commit": "bccd2caacba63b561a66ba3fa8591a2a54e6d845", "pull_number": 5478, "issue_numbers": [ "5440" ...
zulip__zulip-5484
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: zulip/zulip Base commit: 4f223c19d83c7d2ef32f9ae5218dbf76c61e0b27 Changed files: - docs/conf.py ## Problem statem...
diff --git a/docs/conf.py b/docs/conf.py index 0000000..0000000 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -44,7 +44,7 @@ master_doc = 'index' # General information about the project. project = u'Zulip' -copyright = u'2015-2016, The Zulip Team' +copyright = u'2015-2017, The Zulip Team' author = u'The Zulip Te...
7,865
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-5484", "repo": "zulip/zulip", "base_commit": "4f223c19d83c7d2ef32f9ae5218dbf76c61e0b27", "pull_number": 5484, "issue_numbers": [ "5482" ...
zulip__zulip-5496
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: zulip/zulip Base commit: bd9459f27d67442343f8a2f6a1ed81e363c60c92 Changed files: - zproject/backends.py ## Proble...
diff --git a/zproject/backends.py b/zproject/backends.py index 0000000..0000000 100644 --- a/zproject/backends.py +++ b/zproject/backends.py @@ -440,6 +440,8 @@ class ZulipLDAPAuthBackend(ZulipLDAPAuthBackendBase): raise ZulipLDAPException("LDAP Authentication is not enabled") return user_...
17,289
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-5496", "repo": "zulip/zulip", "base_commit": "bd9459f27d67442343f8a2f6a1ed81e363c60c92", "pull_number": 5496, "issue_numbers": [ "5431" ...
zulip__zulip-5499
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: zulip/zulip Base commit: e49afe3ebc2924b3cffa65a47c3b14cf24cbbf5c Changed files: - zerver/lib/users.py - zerver/vi...
diff --git a/zerver/lib/users.py b/zerver/lib/users.py index 0000000..0000000 100644 --- a/zerver/lib/users.py +++ b/zerver/lib/users.py @@ -18,6 +18,13 @@ def check_full_name(full_name_raw): raise JsonableError(_("Invalid characters in name!")) return full_name +def check_short_name(short_name_raw): + ...
12,195
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-5499", "repo": "zulip/zulip", "base_commit": "e49afe3ebc2924b3cffa65a47c3b14cf24cbbf5c", "pull_number": 5499, "issue_numbers": [ "5487" ...
zulip__zulip-5615
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: zulip/zulip Base commit: e1ce3daaffc42a883d9520be381d21ef5262554a Changed files: - tools/linter_lib/custom_check.p...
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py index 0000000..0000000 100644 --- a/tools/linter_lib/custom_check.py +++ b/tools/linter_lib/custom_check.py @@ -385,6 +385,12 @@ def build_custom_checkers(by_lang): 'description': "Period should be part of the translatable string...
15,118
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "zulip__zulip-5615", "repo": "zulip/zulip", "base_commit": "e1ce3daaffc42a883d9520be381d21ef5262554a", "pull_number": 5615, "issue_numbers": [ "5544" ...