Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringclasses
697 values
pull_number
int64
5
127k
instance_id
stringlengths
13
58
issue_numbers
listlengths
1
5
base_commit
stringlengths
40
40
patch
stringlengths
87
224k
test_patch
stringlengths
106
31.3M
problem_statement
stringlengths
3
217k
hints_text
stringlengths
0
279k
source_code_files
unknown
source_test_files
unknown
conda/conda
2,291
conda__conda-2291
[ "2284" ]
c3d54a1bd6a15dcea2ce900b0900c369bb848907
diff --git a/conda/cli/activate.py b/conda/cli/activate.py --- a/conda/cli/activate.py +++ b/conda/cli/activate.py @@ -124,10 +124,13 @@ def main(): if rootpath: path = path.replace(translate_stream(rootpath, win_path_to_cygwin), "") else: - path = translate_stream(path...
diff --git a/tests/test_activate.py b/tests/test_activate.py --- a/tests/test_activate.py +++ b/tests/test_activate.py @@ -226,12 +226,12 @@ def _format_vars(shell): def test_path_translation(): - test_cygwin_path = "/usr/bin:/cygdrive/z/documents (x86)/code/conda/tests/envskhkzts/test1:/cygdrive/z/documents/co...
activate on master is broken in OSX @msarahan I'm on master, and I get: ``` $ source activate koo path:usage: conda [-h] [-V] [--debug] command ... conda: error: argument command: invalid choice: '..changeps1' (choose from 'info', 'help', 'list', 'search', 'create', 'install', 'update', 'upgrade', 'remove', 'uninstall...
> the new activate scripts The usage of awk and dirname are not new: https://github.com/conda/conda-env/blame/develop/bin/activate#L32 That's conda-env, of course, but that's where the scripts that are now in conda came from. Something else is going wrong. It might be a bug in the path translation stuff. It is su...
{ "conda/cli/activate.py": "from __future__ import print_function, division, absolute_import\n\nimport errno\nimport os\nfrom os.path import isdir, join, abspath\nimport re\nimport sys\n\nfrom conda.cli.common import find_prefix_name\nfrom conda.utils import translate_stream, unix_path_to_win, win_path_to_unix, win_p...
{ "tests/test_activate.py": "# -*- coding: utf-8 -*-\nfrom __future__ import print_function, absolute_import\n\nimport os\nfrom os.path import dirname, join, pathsep\nimport shutil\nimport shlex\nimport stat\nimport subprocess\nimport sys\n\nimport pytest\n\nfrom conda.compat import TemporaryDirectory\nfrom conda.con...
conda/conda
3,748
conda__conda-3748
[ "3717", "3717" ]
2604c2bd504996d1acf627ae9dcc1158a1d73fa5
diff --git a/conda/models/channel.py b/conda/models/channel.py --- a/conda/models/channel.py +++ b/conda/models/channel.py @@ -73,9 +73,14 @@ def _get_channel_for_name_helper(name): def _read_channel_configuration(scheme, host, port, path): # return location, name, scheme, auth, token - test_url = Url(host=h...
diff --git a/tests/models/test_channel.py b/tests/models/test_channel.py --- a/tests/models/test_channel.py +++ b/tests/models/test_channel.py @@ -5,6 +5,7 @@ from conda.base.context import context, reset_context from conda.common.compat import odict from conda.common.configuration import YamlRawParameter +from cond...
regression bug: https://github.com/conda/conda/issues/3235 appears to have resurrected itself in another place The bug was that conda handled the channel "http://conda-01" incorrectly. Here's the stack trace in conda 4.2.11: ``` Traceback (most recent call last): File "C:\Miniconda3\lib\site-packages\conda\e...
Adding some print statements gives the following specific variable values from split_conda_url_easy_parts in the innermost calls: ``` url=http://conda-01/win-64/qt5-5.6.1.1-msvc2015rel_2.tar.bz2 host=conda-01 port=None path=None query=None scheme=http ``` Yeah I know where the bug is. 4.2.11 introduced the requireme...
{ "conda/models/channel.py": "# -*- coding: utf-8 -*-\nfrom __future__ import absolute_import, division, print_function, unicode_literals\n\nfrom itertools import chain\nfrom logging import getLogger\nfrom requests.packages.urllib3.util import Url\n\nfrom ..base.constants import DEFAULT_CHANNELS_UNIX, DEFAULT_CHANNEL...
{ "tests/models/test_channel.py": "# -*- coding: utf-8 -*-\nfrom __future__ import absolute_import, division, print_function, unicode_literals\n\nfrom conda._vendor.auxlib.ish import dals\nfrom conda.base.context import context, reset_context\nfrom conda.common.compat import odict\nfrom conda.common.configuration imp...
conda/conda
5,310
conda__conda-5310
[ "4302" ]
19c3c149801bbc4a9a0b834306e21cab6f7c81f0
"diff --git a/conda/cli/main_config.py b/conda/cli/main_config.py\n--- a/conda/cli/main_config.py\n+(...TRUNCATED)
"diff --git a/tests/test_config.py b/tests/test_config.py\n--- a/tests/test_config.py\n+++ b/tests/t(...TRUNCATED)
"Unable to set conda-build.root-dir with config\nNot sure the right way to do this, but it looks lik(...TRUNCATED)
"cc @msarahan\n`conda config --set` doesn't currently support map-type parameters.\nIt should be pos(...TRUNCATED)
{"conda/cli/main_config.py":"# (c) 2012-2013 Continuum Analytics, Inc. / http://continuum.io\n# All (...TRUNCATED)
{"tests/test_config.py":"# (c) 2012-2014 Continuum Analytics, Inc. / http://continuum.io\n# All Righ(...TRUNCATED)
conda/conda
6,275
conda__conda-6275
[ "5680" ]
b934b58893b19c6d3a0b16322d4f7c020f5edcaf
"diff --git a/conda_env/cli/main_create.py b/conda_env/cli/main_create.py\n--- a/conda_env/cli/main_(...TRUNCATED)
"diff --git a/tests/conda_env/test_env.py b/tests/conda_env/test_env.py\n--- a/tests/conda_env/test_(...TRUNCATED)
"Trivial pip subsection breaks conda env create\nI observe that an empty-but-present pip subsection (...TRUNCATED)
"Same here, that's because `pip_args` [returns `None`](https://github.com/conda/conda/blob/master/co(...TRUNCATED)
{"conda_env/cli/main_create.py":"from __future__ import print_function\n\nfrom argparse import RawDe(...TRUNCATED)
{"tests/conda_env/test_env.py":"from collections import OrderedDict\nimport os\nimport random\nimpor(...TRUNCATED)
conda/conda
6,881
conda__conda-6881
[ "6880" ]
31a52a8a8771aafb0582822dd2e00b3274e1ffba
"diff --git a/conda/models/version.py b/conda/models/version.py\n--- a/conda/models/version.py\n+++ (...TRUNCATED)
"diff --git a/tests/models/test_match_spec.py b/tests/models/test_match_spec.py\n--- a/tests/models/(...TRUNCATED)
"build_number comparison not functional in match_spec\nVersion comparisons work.\r\n\r\n conda se(...TRUNCATED)
{"conda/models/version.py":"# -*- coding: utf-8 -*-\nfrom __future__ import absolute_import, divisio(...TRUNCATED)
{"tests/models/test_match_spec.py":"# -*- coding: utf-8 -*-\nfrom __future__ import absolute_import,(...TRUNCATED)
conda/conda
7,598
conda__conda-7598
[ "7522" ]
7c70170fa62ec69b433a4f099b1fabe6d6e0ebdd
"diff --git a/conda/core/solve.py b/conda/core/solve.py\n--- a/conda/core/solve.py\n+++ b/conda/core(...TRUNCATED)
"diff --git a/tests/core/test_solve.py b/tests/core/test_solve.py\n--- a/tests/core/test_solve.py\n+(...TRUNCATED)
"Prevent conda from scheduling downgrades of conda when no version is explicitly given\nTo go along (...TRUNCATED)
{"conda/core/solve.py":"# -*- coding: utf-8 -*-\nfrom __future__ import absolute_import, division, p(...TRUNCATED)
{"tests/core/test_solve.py":"# -*- coding: utf-8 -*-\nfrom __future__ import absolute_import, divisi(...TRUNCATED)
zulip/zulip
3,275
zulip__zulip-3275
[ "3271" ]
b6476fdd81ccadb4c24b026025497472a3168f13
"diff --git a/api/zulip/__init__.py b/api/zulip/__init__.py\n--- a/api/zulip/__init__.py\n+++ b/api/(...TRUNCATED)
"diff --git a/zerver/tests/test_bugdown.py b/zerver/tests/test_bugdown.py\n--- a/zerver/tests/test_b(...TRUNCATED)
"Preview feature doesn't work with long messages\nIf you put this message into the compose box and c(...TRUNCATED)
{"zproject/urls.py":"from django.conf import settings\nfrom django.conf.urls import url, include\nfr(...TRUNCATED)
{"zerver/tests/test_bugdown.py":"# -*- coding: utf-8 -*-\nfrom __future__ import print_function\nfro(...TRUNCATED)
zulip/zulip
15,773
zulip__zulip-15773
[ "15518" ]
46c966576d65eaec0e9a185d62a2082060b129dc
"diff --git a/zerver/lib/markdown/__init__.py b/zerver/lib/markdown/__init__.py\n--- a/zerver/lib/ma(...TRUNCATED)
"diff --git a/zerver/tests/test_markdown.py b/zerver/tests/test_markdown.py\n--- a/zerver/tests/test(...TRUNCATED)
"Twitter preview embeds show outside of spoiler blocks\nWhen a tweet is linked to inside of a spoile(...TRUNCATED)
"I agree. This may be somewhat messy to change because of how tweets are rendered in a post-process(...TRUNCATED)
{"zerver/lib/markdown/__init__.py":"# Zulip's main markdown implementation. See docs/subsystems/mar(...TRUNCATED)
{"zerver/tests/test_markdown.py":"import copy\nimport os\nimport re\nfrom textwrap import dedent\nfr(...TRUNCATED)
zulip/zulip
17,019
zulip__zulip-17019
[ "16642" ]
3ef6f6e2e20a40ce4581f457680b1d0f482b3ac2
"diff --git a/zerver/lib/email_mirror.py b/zerver/lib/email_mirror.py\n--- a/zerver/lib/email_mirror(...TRUNCATED)
"diff --git a/zerver/tests/test_email_mirror.py b/zerver/tests/test_email_mirror.py\n--- a/zerver/te(...TRUNCATED)
"Failures to send message in email gateway should notify the user in some way\nReplying to an email (...TRUNCATED)
"Hello @zulip/server-development members, this issue was labeled with the \"area: emails\" label, so(...TRUNCATED)
{"zerver/lib/email_mirror.py":"import logging\nimport re\nimport secrets\nfrom email.headerregistry (...TRUNCATED)
{"zerver/tests/test_email_mirror.py":"import base64\nimport email.policy\nimport os\nimport subproce(...TRUNCATED)
zulip/zulip
18,399
zulip__zulip-18399
[ "18393" ]
ad0be6cea1db64d43a0e1f402a03632535ab9863
"diff --git a/zerver/webhooks/github/view.py b/zerver/webhooks/github/view.py\n--- a/zerver/webhooks(...TRUNCATED)
"diff --git a/zerver/webhooks/github/tests.py b/zerver/webhooks/github/tests.py\n--- a/zerver/webhoo(...TRUNCATED)
"github integration: Duplicate requested_reviewer notifications when adding two reviewers in new PR\(...TRUNCATED)
"Hello @zulip/server-integrations members, this issue was labeled with the \"area: integrations\" la(...TRUNCATED)
{"zerver/webhooks/github/view.py":"import re\nfrom functools import partial\nfrom typing import Any,(...TRUNCATED)
{"zerver/webhooks/github/tests.py":"from unittest.mock import patch\n\nimport orjson\n\nfrom zerver.(...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
10