Dataset Viewer
Auto-converted to Parquet Duplicate
instance_id
stringlengths
17
36
text
stringlengths
14k
547k
repo
stringclasses
4 values
base_commit
stringlengths
40
40
problem_statement
stringclasses
10 values
hints_text
stringclasses
8 values
created_at
stringlengths
20
20
patch
stringclasses
10 values
test_patch
stringclasses
10 values
version
stringclasses
2 values
FAIL_TO_PASS
stringclasses
1 value
PASS_TO_PASS
stringclasses
1 value
environment_setup_commit
stringclasses
1 value
mixpanel__mixpanel-python-64
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> flush function for Buffered Consumer not working Hi, in class BufferedConsumer the flush function in line 338 should change to def flush (self,api_key=None) and then in line 444-445 should change to: ...
mixpanel/mixpanel-python
40c98e0b285898384cc4aa6cc803d8d0f46f6218
flush function for Buffered Consumer not working Hi, in class BufferedConsumer the flush function in line 338 should change to def flush (self,api_key=None) and then in line 444-445 should change to: for endpoint in self._buffers.keys(): self._flush_endpoint(endpoint,api_key=api_key)
+1 I have the same issue. The exception is: "Mixpanel error: token, missing or empty" because of this bug. +1 I also just ran into this. Is it worth submitting a PR for this? I see 3 unmerged PRs that are a few years old.
2016-12-22T00:07:05Z
<patch> diff --git a/mixpanel/__init__.py b/mixpanel/__init__.py --- a/mixpanel/__init__.py +++ b/mixpanel/__init__.py @@ -345,6 +345,7 @@ def send(self, endpoint, json_message, api_key=None): :param endpoint: the Mixpanel API endpoint appropriate for the message :type endpoint: "events" | "people" | ...
diff --git a/test_mixpanel.py b/test_mixpanel.py --- a/test_mixpanel.py +++ b/test_mixpanel.py @@ -353,40 +353,32 @@ class TestBufferedConsumer: def setup_class(cls): cls.MAX_LENGTH = 10 cls.consumer = mixpanel.BufferedConsumer(cls.MAX_LENGTH) - cls.mock = Mock() - cls.mock.read.ret...
4.3
NVIDIA__NeMo-7124
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Installation instructions should better indicate mandatory steps to make tests pass (or reinstall.sh needs an update) **Is your feature request related to a problem? Please describe.** I wanted to setup a de...
NVIDIA/NeMo
fcfc0ebb23b428a9bee6d847d1e0b37ca0784ba5
Installation instructions should better indicate mandatory steps to make tests pass (or reinstall.sh needs an update) **Is your feature request related to a problem? Please describe.** I wanted to setup a dev conda environment for NeMo, so I followed steps at https://github.com/NVIDIA/NeMo/tree/main#from-source A...
These libraries cannot be installed automatically due to this dependence on on extra index for distribution. But these tests and the dali support itself should be import guarded. Do you have a stack trace of which tests failed ? Sure, here's the stack trace: ```shell > pytest --cpu A valid `test_data.tar.gz` t...
2023-07-28T19:34:30Z
<patch> diff --git a/nemo/utils/model_utils.py b/nemo/utils/model_utils.py --- a/nemo/utils/model_utils.py +++ b/nemo/utils/model_utils.py @@ -576,7 +576,7 @@ def check_lib_version(lib_name: str, checked_version: str, operator) -> Tuple[Op f"Could not check version compatibility." ) ...
diff --git a/tests/collections/nlp/test_flash_attention.py b/tests/collections/nlp/test_flash_attention.py --- a/tests/collections/nlp/test_flash_attention.py +++ b/tests/collections/nlp/test_flash_attention.py @@ -44,16 +44,23 @@ except (ImportError, ModuleNotFoundError): HAVE_TRITON = False -import pynvml +tr...
1.0
slackapi__python-slack-events-api-34
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Add support for request signing ### Description Request signing went live and we should add support into our SDKs. https://api.slack.com/docs/verifying-requests-from-slack ### What type of issue is this? ...
slackapi/python-slack-events-api
79949e66cc442b241eaed08ffe79d8dc7a166638
Add support for request signing ### Description Request signing went live and we should add support into our SDKs. https://api.slack.com/docs/verifying-requests-from-slack ### What type of issue is this? (place an `x` in one of the `[ ]`) - [ ] bug - [x] enhancement (feature request) - [ ] question - [ ] docu...
someone has a branch somewhere with this implemented, i hear 👂 we'll get some more details into here asap.
2018-08-08T18:22:04Z
<patch> diff --git a/example/example.py b/example/example.py --- a/example/example.py +++ b/example/example.py @@ -3,12 +3,12 @@ import os # Our app's Slack Event Adapter for receiving actions via the Events API -SLACK_VERIFICATION_TOKEN = os.environ["SLACK_VERIFICATION_TOKEN"] -slack_events_adapter = SlackEventAda...
diff --git a/tests/conftest.py b/tests/conftest.py --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,8 +1,19 @@ -import pytest import json +import hashlib +import hmac +import pytest from slackeventsapi import SlackEventAdapter +def create_signature(secret, timestamp, data): + req = str.encode('v0:' + str(...
1.0
celery__celery-2666
"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)
celery/celery
6bf4664e076c4d8b6d728190802124aa5c112c5d
"Celerybeat runs periodic tasks every 5 seconds regardless of interval\nI recently upgraded to celer(...TRUNCATED)
"Could you try upgrading to celery 3.0.7? Also please delete an existing `celerybeat-schedule` file(...TRUNCATED)
2015-06-19T00:01:16Z
"<patch>\ndiff --git a/celery/schedules.py b/celery/schedules.py\n--- a/celery/schedules.py\n+++ b/c(...TRUNCATED)
"diff --git a/celery/tests/app/test_beat.py b/celery/tests/app/test_beat.py\n--- a/celery/tests/app/(...TRUNCATED)
1.0
NVIDIA__NeMo-5724
"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)
NVIDIA/NeMo
eee715f831f2b088075f75cc7c95de60f4ef1d38
"EMA Doesn't delete previous EMA ckpts when k > 0 for checkpointing\n**Describe the bug**\r\n\r\nEMA(...TRUNCATED)
"cc @carmocca\nIdeally, we would find a better solution. However, since that would require a larger (...TRUNCATED)
2023-01-03T11:05:25Z
"<patch>\ndiff --git a/nemo/collections/common/callbacks/ema.py b/nemo/collections/common/callbacks/(...TRUNCATED)
"diff --git a/tests/collections/common/test_ema.py b/tests/collections/common/test_ema.py\n--- a/tes(...TRUNCATED)
1.0
NVIDIA__NeMo-6097
"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)
NVIDIA/NeMo
66aeb4c36dd86a777cc47e9878e701bd8029b654
"Spectrogram Enhancer doesn't generalize to spectrogram lengths unseen during training\n**Describe t(...TRUNCATED)
"A temporary fix: given a trained model, clone first patch of the initial tensor length-wise:\r\n```(...TRUNCATED)
2023-02-23T22:43:15Z
"<patch>\ndiff --git a/nemo/collections/tts/modules/spectrogram_enhancer.py b/nemo/collections/tts/m(...TRUNCATED)
"diff --git a/tests/collections/tts/test_spectrogram_enhancer.py b/tests/collections/tts/test_spectr(...TRUNCATED)
1.0
NVIDIA__NeMo-3159
"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)
NVIDIA/NeMo
c607061264713c9f4c35d1fbc5afaaf41471317e
"Punctuation data set uses too much memory\n**Describe the bug**\r\n\r\nPunctuation datasets cannot (...TRUNCATED)
2021-11-10T13:43:43Z
"<patch>\ndiff --git a/examples/nlp/token_classification/data/create_punctuation_capitalization_tarr(...TRUNCATED)
"diff --git a/tests/collections/nlp/test_pretrained_models_performance.py b/tests/collections/nlp/te(...TRUNCATED)
1.0
NVIDIA__NeMo-6060
"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)
NVIDIA/NeMo
64b74dc9eaa6a23e52b697c9f9b7ad87528a2373
"Spectrogram Enhancer doesn't generalize to spectrogram lengths unseen during training\n**Describe t(...TRUNCATED)
"A temporary fix: given a trained model, clone first patch of the initial tensor length-wise:\r\n```(...TRUNCATED)
2023-02-20T16:02:45Z
"<patch>\ndiff --git a/nemo/collections/tts/modules/spectrogram_enhancer.py b/nemo/collections/tts/m(...TRUNCATED)
"diff --git a/tests/collections/tts/test_spectrogram_enhancer.py b/tests/collections/tts/test_spectr(...TRUNCATED)
1.0
celery__celery-567
"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)
celery/celery
9998b55af267446a077b31fdf35806c59b943b2d
"Introduce CELERYCTL variable in /etc/init.d/celeryd and /etc/default/celeryd\nI ran into a problem (...TRUNCATED)
2011-12-12T12:49:09Z
"<patch>\ndiff --git a/celery/__init__.py b/celery/__init__.py\n--- a/celery/__init__.py\n+++ b/cele(...TRUNCATED)
"diff --git a/celery/tests/config.py b/celery/tests/config.py\n--- a/celery/tests/config.py\n+++ b/c(...TRUNCATED)
1.0
NVIDIA__NeMo-1323
"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)
NVIDIA/NeMo
5cf042856bf718d27233a7538e0b094ce576d5c4
"Loading NLP and ASR models might result in `Missing key(s) in state_dict` error\n**Describe the bug(...TRUNCATED)
2020-10-21T20:01:26Z
"<patch>\ndiff --git a/examples/asr/speech_to_text_infer.py b/examples/asr/speech_to_text_infer.py\n(...TRUNCATED)
"diff --git a/examples/tts/test_tts_infer.py b/examples/tts/test_tts_infer.py\n--- a/examples/tts/te(...TRUNCATED)
1.0
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
9