id stringlengths 13 54 | prompt stringlengths 708 2.91M | answer stringlengths 110 352k | prompt_input_token_count int64 206 1.14M | metadata dict |
|---|---|---|---|---|
pretix__pretix-808 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 6a61a113b06ce09a77e904805f53a0484b161f57
Changed files:
- src/pretix/presale/forms/chec... | diff --git a/src/pretix/presale/forms/checkout.py b/src/pretix/presale/forms/checkout.py
index 0000000..0000000 100644
--- a/src/pretix/presale/forms/checkout.py
+++ b/src/pretix/presale/forms/checkout.py
@@ -152,6 +152,9 @@ class AddOnsForm(forms.Form):
n += ' – {}'.format(_('SOLD OUT'))
elif ava... | 6,420 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-808",
"repo": "pretix/pretix",
"base_commit": "6a61a113b06ce09a77e904805f53a0484b161f57",
"pull_number": 808,
"issue_numbers": [
"798",... |
pretix__pretix-849 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 6fe02f156aaf8120ced4b6f2d346c9ee924c8947
Changed files:
- src/pretix/control/urls.py
- ... | diff --git a/src/pretix/control/urls.py b/src/pretix/control/urls.py
index 0000000..0000000 100644
--- a/src/pretix/control/urls.py
+++ b/src/pretix/control/urls.py
@@ -151,6 +151,7 @@ urlpatterns = [
url(r'^vouchers/(?P<voucher>\d+)/delete$', vouchers.VoucherDelete.as_view(),
name='event.voucher.... | 18,021 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-849",
"repo": "pretix/pretix",
"base_commit": "6fe02f156aaf8120ced4b6f2d346c9ee924c8947",
"pull_number": 849,
"issue_numbers": [
"357"
... |
pretix__pretix-862 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 9dace592c0c89838b4a0245a89bb13ef927bdbe2
Changed files:
- src/pretix/base/notifications... | diff --git a/src/pretix/base/notifications.py b/src/pretix/base/notifications.py
index 0000000..0000000 100644
--- a/src/pretix/base/notifications.py
+++ b/src/pretix/base/notifications.py
@@ -174,6 +174,7 @@ class ParametrizedOrderNotificationType(NotificationType):
title=self._title.format(order=order, e... | 5,674 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-862",
"repo": "pretix/pretix",
"base_commit": "9dace592c0c89838b4a0245a89bb13ef927bdbe2",
"pull_number": 862,
"issue_numbers": [
"861"
... |
pretix__pretix-882 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 093eb28463ff84d04fd51c4e64f78ab669ce00be
Changed files:
- src/pretix/base/templatetags/... | diff --git a/src/pretix/base/templatetags/rich_text.py b/src/pretix/base/templatetags/rich_text.py
index 0000000..0000000 100644
--- a/src/pretix/base/templatetags/rich_text.py
+++ b/src/pretix/base/templatetags/rich_text.py
@@ -58,6 +58,8 @@ ALLOWED_ATTRIBUTES = {
# Update doc/user/markdown.rst if you change this... | 2,453 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-882",
"repo": "pretix/pretix",
"base_commit": "093eb28463ff84d04fd51c4e64f78ab669ce00be",
"pull_number": 882,
"issue_numbers": [
"881"
... |
pretix__pretix-883 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 6df0597c5e7f8980dd31c7b52c5308d642050f3b
Changed files:
- src/pretix/base/templatetags/... | diff --git a/src/pretix/base/templatetags/rich_text.py b/src/pretix/base/templatetags/rich_text.py
index 0000000..0000000 100644
--- a/src/pretix/base/templatetags/rich_text.py
+++ b/src/pretix/base/templatetags/rich_text.py
@@ -63,7 +63,7 @@ ALLOWED_PROTOCOLS = ['http', 'https', 'mailto', 'tel']
def safelink_callba... | 2,653 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-883",
"repo": "pretix/pretix",
"base_commit": "6df0597c5e7f8980dd31c7b52c5308d642050f3b",
"pull_number": 883,
"issue_numbers": [
"881",... |
pretix__pretix-906 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: f509b2680018d2bec159d2fcd17f711871fbb418
Changed files:
- src/pretix/base/models/event.... | diff --git a/src/pretix/base/models/event.py b/src/pretix/base/models/event.py
index 0000000..0000000 100644
--- a/src/pretix/base/models/event.py
+++ b/src/pretix/base/models/event.py
@@ -2,6 +2,7 @@ import string
import uuid
from collections import OrderedDict
from datetime import datetime, time
+from operator imp... | 66,892 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-906",
"repo": "pretix/pretix",
"base_commit": "f509b2680018d2bec159d2fcd17f711871fbb418",
"pull_number": 906,
"issue_numbers": [
"898"
... |
pretix__pretix-926 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 6ecddfc6c0059a4ffb7372a1753244b7d40104ad
Changed files:
- src/pretix/control/forms/even... | diff --git a/src/pretix/control/forms/event.py b/src/pretix/control/forms/event.py
index 0000000..0000000 100644
--- a/src/pretix/control/forms/event.py
+++ b/src/pretix/control/forms/event.py
@@ -984,6 +984,7 @@ class WidgetCodeForm(forms.Form):
)
compatibility_mode = forms.BooleanField(
label=_("Co... | 31,954 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-926",
"repo": "pretix/pretix",
"base_commit": "6ecddfc6c0059a4ffb7372a1753244b7d40104ad",
"pull_number": 926,
"issue_numbers": [
"922",... |
pretix__pretix-1000 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 099b08f0097d60f0832542f7f548515c86c19250
Changed files:
- src/pretix/base/forms/auth.py... | diff --git a/src/pretix/base/forms/auth.py b/src/pretix/base/forms/auth.py
index 0000000..0000000 100644
--- a/src/pretix/base/forms/auth.py
+++ b/src/pretix/base/forms/auth.py
@@ -180,12 +180,4 @@ class PasswordForgotForm(forms.Form):
super().__init__(*args, **kwargs)
def clean_email(self):
- em... | 13,929 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1000",
"repo": "pretix/pretix",
"base_commit": "099b08f0097d60f0832542f7f548515c86c19250",
"pull_number": 1000,
"issue_numbers": [
"997... |
pretix__pretix-1043 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 250e0a930dd2f358a1c47f6ae19a604865c3ad32
Changed files:
- src/pretix/base/forms/questio... | diff --git a/src/pretix/base/forms/questions.py b/src/pretix/base/forms/questions.py
index 0000000..0000000 100644
--- a/src/pretix/base/forms/questions.py
+++ b/src/pretix/base/forms/questions.py
@@ -216,6 +216,8 @@ class BaseInvoiceAddressForm(forms.ModelForm):
def clean(self):
data = self.cleaned_dat... | 7,080 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1043",
"repo": "pretix/pretix",
"base_commit": "250e0a930dd2f358a1c47f6ae19a604865c3ad32",
"pull_number": 1043,
"issue_numbers": [
"970... |
pretix__pretix-1086 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: e523a4e610c7871b522cb8f0ca766822c58ae955
Changed files:
- src/pretix/base/models/invoic... | diff --git a/src/pretix/base/models/invoices.py b/src/pretix/base/models/invoices.py
index 0000000..0000000 100644
--- a/src/pretix/base/models/invoices.py
+++ b/src/pretix/base/models/invoices.py
@@ -2,6 +2,8 @@ import string
from decimal import Decimal
from django.db import DatabaseError, models, transaction
+fro... | 9,081 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1086",
"repo": "pretix/pretix",
"base_commit": "e523a4e610c7871b522cb8f0ca766822c58ae955",
"pull_number": 1086,
"issue_numbers": [
"108... |
pretix__pretix-1120 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 62c2e7765b9f60c0885c3a9868620cb8aaf4dcf6
Changed files:
- src/pretix/presale/signals.py... | diff --git a/src/pretix/presale/signals.py b/src/pretix/presale/signals.py
index 0000000..0000000 100644
--- a/src/pretix/presale/signals.py
+++ b/src/pretix/presale/signals.py
@@ -26,7 +26,7 @@ footer_link = EventPluginSignal(
providing_args=["request"]
)
"""
-The signal ``pretix.presale.signals.footer_links`` ... | 5,224 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1120",
"repo": "pretix/pretix",
"base_commit": "62c2e7765b9f60c0885c3a9868620cb8aaf4dcf6",
"pull_number": 1120,
"issue_numbers": [
"111... |
pretix__pretix-1142 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 589401e8d29c7a5ea9901ce5cec75265ec2aa79d
Changed files:
- src/pretix/base/models/vouche... | diff --git a/src/pretix/base/models/vouchers.py b/src/pretix/base/models/vouchers.py
index 0000000..0000000 100644
--- a/src/pretix/base/models/vouchers.py
+++ b/src/pretix/base/models/vouchers.py
@@ -13,6 +13,7 @@ from ..decimal import round_decimal
from .base import LoggedModel
from .event import Event, SubEvent
f... | 10,020 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1142",
"repo": "pretix/pretix",
"base_commit": "589401e8d29c7a5ea9901ce5cec75265ec2aa79d",
"pull_number": 1142,
"issue_numbers": [
"111... |
pretix__pretix-1245 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: b6869780742bc441888f5c2e98edb3dd582830d7
Changed files:
- src/setup.py
## Problem stat... | diff --git a/src/setup.py b/src/setup.py
index 0000000..0000000 100644
--- a/src/setup.py
+++ b/src/setup.py
@@ -104,8 +104,8 @@ setup(
'django-otp==0.4.*',
'python-u2flib-server==4.*',
'django-formtools==2.1',
- 'celery>=4.1.1,<4.2.0',
- 'kombu==4.2.*',
+ 'celery==4.3.*'... | 6,798 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1245",
"repo": "pretix/pretix",
"base_commit": "b6869780742bc441888f5c2e98edb3dd582830d7",
"pull_number": 1245,
"issue_numbers": [
"102... |
pretix__pretix-1250 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 66dd7c448b712556b935a058630f10c764eae120
Changed files:
- src/pretix/control/logdisplay... | diff --git a/src/pretix/control/logdisplay.py b/src/pretix/control/logdisplay.py
index 0000000..0000000 100644
--- a/src/pretix/control/logdisplay.py
+++ b/src/pretix/control/logdisplay.py
@@ -389,6 +389,9 @@ def pretixcontrol_logentry_display(sender: Event, logentry: LogEntry, **kwargs):
if logentry.action_type =... | 35,959 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1250",
"repo": "pretix/pretix",
"base_commit": "66dd7c448b712556b935a058630f10c764eae120",
"pull_number": 1250,
"issue_numbers": [
"124... |
pretix__pretix-1423 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 9e85d3c94c0209e9f461330573008ad6e47a6312
Changed files:
- src/pretix/control/forms/vouc... | diff --git a/src/pretix/control/forms/vouchers.py b/src/pretix/control/forms/vouchers.py
index 0000000..0000000 100644
--- a/src/pretix/control/forms/vouchers.py
+++ b/src/pretix/control/forms/vouchers.py
@@ -179,9 +179,7 @@ class VoucherForm(I18nModelForm):
return data
def save(self, commit=True):
- ... | 15,730 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1423",
"repo": "pretix/pretix",
"base_commit": "9e85d3c94c0209e9f461330573008ad6e47a6312",
"pull_number": 1423,
"issue_numbers": [
"137... |
pretix__pretix-1433 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 143fe6c1a6a67dad87d09243e01316e87c2c5099
Changed files:
- src/pretix/control/urls.py
- ... | diff --git a/src/pretix/control/urls.py b/src/pretix/control/urls.py
index 0000000..0000000 100644
--- a/src/pretix/control/urls.py
+++ b/src/pretix/control/urls.py
@@ -165,6 +165,7 @@ urlpatterns = [
name='event.items.categories.edit'),
url(r'^categories/add$', item.CategoryCreate.as_view(), name... | 45,205 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1433",
"repo": "pretix/pretix",
"base_commit": "143fe6c1a6a67dad87d09243e01316e87c2c5099",
"pull_number": 1433,
"issue_numbers": [
"807... |
pretix__pretix-1443 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 49bff3cc33ca87db095d0746976626b18addb844
Changed files:
- src/pretix/base/forms/widgets... | diff --git a/src/pretix/base/forms/widgets.py b/src/pretix/base/forms/widgets.py
index 0000000..0000000 100644
--- a/src/pretix/base/forms/widgets.py
+++ b/src/pretix/base/forms/widgets.py
@@ -46,6 +46,14 @@ class TimePickerWidget(forms.TimeInput):
class UploadedFileWidget(forms.ClearableFileInput):
def __init_... | 4,222 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1443",
"repo": "pretix/pretix",
"base_commit": "49bff3cc33ca87db095d0746976626b18addb844",
"pull_number": 1443,
"issue_numbers": [
"140... |
pretix__pretix-1510 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 3c87272fdc87894d1e516d35786e3802e647a753
Changed files:
- src/pretix/base/services/mail... | diff --git a/src/pretix/base/services/mail.py b/src/pretix/base/services/mail.py
index 0000000..0000000 100644
--- a/src/pretix/base/services/mail.py
+++ b/src/pretix/base/services/mail.py
@@ -14,7 +14,10 @@ import requests
from bs4 import BeautifulSoup
from celery import chain
from django.conf import settings
-from... | 12,616 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1510",
"repo": "pretix/pretix",
"base_commit": "3c87272fdc87894d1e516d35786e3802e647a753",
"pull_number": 1510,
"issue_numbers": [
"141... |
pretix__pretix-1525 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 529e2a028683e9227a4fc20498a5311c5c9ac437
Changed files:
- src/pretix/base/forms/auth.py... | diff --git a/src/pretix/base/forms/auth.py b/src/pretix/base/forms/auth.py
index 0000000..0000000 100644
--- a/src/pretix/base/forms/auth.py
+++ b/src/pretix/base/forms/auth.py
@@ -32,7 +32,8 @@ class LoginForm(forms.Form):
for k, f in backend.login_form_fields.items():
self.fields[k] = f
- ... | 5,652 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1525",
"repo": "pretix/pretix",
"base_commit": "529e2a028683e9227a4fc20498a5311c5c9ac437",
"pull_number": 1525,
"issue_numbers": [
"152... |
pretix__pretix-1540 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 8e2821b39881d4d0233676ecb026e31251e7544a
Changed files:
- src/pretix/base/pdf.py
## Pr... | diff --git a/src/pretix/base/pdf.py b/src/pretix/base/pdf.py
index 0000000..0000000 100644
--- a/src/pretix/base/pdf.py
+++ b/src/pretix/base/pdf.py
@@ -472,10 +472,21 @@ class Renderer:
text = "<br/>".join(get_display(reshaper.reshape(l)) for l in text.split("<br/>"))
p = Paragraph(text, style=styl... | 14,474 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1540",
"repo": "pretix/pretix",
"base_commit": "8e2821b39881d4d0233676ecb026e31251e7544a",
"pull_number": 1540,
"issue_numbers": [
"505... |
pretix__pretix-1732 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 89e8d3d12f2266628653b3bb3fd5b6316db5d1cc
Changed files:
- src/pretix/base/forms/questio... | diff --git a/src/pretix/base/forms/questions.py b/src/pretix/base/forms/questions.py
index 0000000..0000000 100644
--- a/src/pretix/base/forms/questions.py
+++ b/src/pretix/base/forms/questions.py
@@ -550,7 +550,8 @@ class BaseQuestionsForm(forms.Form):
if not self.all_optional:
for q in questio... | 41,047 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1732",
"repo": "pretix/pretix",
"base_commit": "89e8d3d12f2266628653b3bb3fd5b6316db5d1cc",
"pull_number": 1732,
"issue_numbers": [
"167... |
pretix__pretix-1743 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: aef09003d90231b791e2454e49644ac928ecfae0
Changed files:
- src/pretix/presale/views/__in... | diff --git a/src/pretix/presale/views/__init__.py b/src/pretix/presale/views/__init__.py
index 0000000..0000000 100644
--- a/src/pretix/presale/views/__init__.py
+++ b/src/pretix/presale/views/__init__.py
@@ -112,16 +112,28 @@ class CartMixin:
or self.request.event.settings.attendee_emails_asked
... | 8,827 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1743",
"repo": "pretix/pretix",
"base_commit": "aef09003d90231b791e2454e49644ac928ecfae0",
"pull_number": 1743,
"issue_numbers": [
"174... |
pretix__pretix-1776 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 1e2b30537674bedf8c1aa3781083a26b780004fd
Changed files:
- src/pretix/base/services/orde... | diff --git a/src/pretix/base/services/orderimport.py b/src/pretix/base/services/orderimport.py
index 0000000..0000000 100644
--- a/src/pretix/base/services/orderimport.py
+++ b/src/pretix/base/services/orderimport.py
@@ -103,7 +103,7 @@ def import_orders(event: Event, fileid: str, settings: dict, locale: str, user)
... | 4,247 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1776",
"repo": "pretix/pretix",
"base_commit": "1e2b30537674bedf8c1aa3781083a26b780004fd",
"pull_number": 1776,
"issue_numbers": [
"175... |
pretix__pretix-1777 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: a76f74b161e140f4445568b97cb26fc57247e0d2
Changed files:
- src/pretix/settings.py
## Pr... | diff --git a/src/pretix/settings.py b/src/pretix/settings.py
index 0000000..0000000 100644
--- a/src/pretix/settings.py
+++ b/src/pretix/settings.py
@@ -561,7 +561,7 @@ MESSAGE_TAGS = {
}
MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'
-loglevel = 'DEBUG' if DEBUG else 'INFO'
+loglevel = ... | 18,782 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1777",
"repo": "pretix/pretix",
"base_commit": "a76f74b161e140f4445568b97cb26fc57247e0d2",
"pull_number": 1777,
"issue_numbers": [
"112... |
pretix__pretix-1853 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 97b9c1029a0c4ef956c5098ba258b3c959fef06d
Changed files:
- src/pretix/base/migrations/01... | diff --git a/src/pretix/base/migrations/0170_remove_hidden_urls.py b/src/pretix/base/migrations/0170_remove_hidden_urls.py
new file mode 100644
index 0000000..0000000
--- /dev/null
+++ b/src/pretix/base/migrations/0170_remove_hidden_urls.py
@@ -0,0 +1,20 @@
+# Generated by Django 3.0.9 on 2020-11-23 15:51
+
+from djang... | 37,563 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1853",
"repo": "pretix/pretix",
"base_commit": "97b9c1029a0c4ef956c5098ba258b3c959fef06d",
"pull_number": 1853,
"issue_numbers": [
"179... |
pretix__pretix-1909 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: f51155a5df6383dca4dceb4c7f2695f15dc56807
Changed files:
- src/pretix/settings.py
- src/... | diff --git a/src/pretix/settings.py b/src/pretix/settings.py
index 0000000..0000000 100644
--- a/src/pretix/settings.py
+++ b/src/pretix/settings.py
@@ -38,6 +38,7 @@ import logging
import os
import sys
from urllib.parse import urlparse
+from json import loads
import django.conf.locale
from django.utils.crypto i... | 29,047 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-1909",
"repo": "pretix/pretix",
"base_commit": "f51155a5df6383dca4dceb4c7f2695f15dc56807",
"pull_number": 1909,
"issue_numbers": [
"190... |
pretix__pretix-2030 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 24bccf8b9cf2392b93b1b0b412174b69e36b7c8c
Changed files:
- src/pretix/base/metrics.py
#... | diff --git a/src/pretix/base/metrics.py b/src/pretix/base/metrics.py
index 0000000..0000000 100755
--- a/src/pretix/base/metrics.py
+++ b/src/pretix/base/metrics.py
@@ -286,17 +286,19 @@ def metric_values():
metrics['pretix_model_instances']['{model="%s"}' % m._meta] = estimate_count_fast(m)
if sett... | 8,549 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2030",
"repo": "pretix/pretix",
"base_commit": "24bccf8b9cf2392b93b1b0b412174b69e36b7c8c",
"pull_number": 2030,
"issue_numbers": [
"202... |
pretix__pretix-2032 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 1844a1fe6d8cfb6e0337fd404276286ca0e32f39
Changed files:
- src/pretix/control/forms/item... | diff --git a/src/pretix/control/forms/item.py b/src/pretix/control/forms/item.py
index 0000000..0000000 100644
--- a/src/pretix/control/forms/item.py
+++ b/src/pretix/control/forms/item.py
@@ -415,7 +415,7 @@ class ItemCreateForm(I18nModelForm):
for a in self.cleaned_data['copy_from'].addons.all():
... | 21,649 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2032",
"repo": "pretix/pretix",
"base_commit": "1844a1fe6d8cfb6e0337fd404276286ca0e32f39",
"pull_number": 2032,
"issue_numbers": [
"203... |
pretix__pretix-2089 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 8955efc890f3afb6e19a541acccb3963622c18da
Changed files:
- src/pretix/base/models/event.... | diff --git a/src/pretix/base/models/event.py b/src/pretix/base/models/event.py
index 0000000..0000000 100644
--- a/src/pretix/base/models/event.py
+++ b/src/pretix/base/models/event.py
@@ -631,6 +631,11 @@ class Event(EventMixin, LoggedModel):
Quota,
)
+ # Note: avoid self.set_active_plu... | 88,588 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2089",
"repo": "pretix/pretix",
"base_commit": "8955efc890f3afb6e19a541acccb3963622c18da",
"pull_number": 2089,
"issue_numbers": [
"208... |
pretix__pretix-2249 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 8121167d5e8a23c844d68bd2a84b9ca03eecb80b
Changed files:
- src/pretix/control/views/item... | diff --git a/src/pretix/control/views/item.py b/src/pretix/control/views/item.py
index 0000000..0000000 100644
--- a/src/pretix/control/views/item.py
+++ b/src/pretix/control/views/item.py
@@ -102,7 +102,8 @@ class ItemList(ListView):
).annotate(
var_count=Count('variations')
).prefetch_r... | 39,807 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2249",
"repo": "pretix/pretix",
"base_commit": "8121167d5e8a23c844d68bd2a84b9ca03eecb80b",
"pull_number": 2249,
"issue_numbers": [
"224... |
pretix__pretix-2399 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 451d3fce0575d85a0ea93fd64aa0631feaced967
Changed files:
- src/pretix/base/forms/widgets... | diff --git a/src/pretix/base/forms/widgets.py b/src/pretix/base/forms/widgets.py
index 0000000..0000000 100644
--- a/src/pretix/base/forms/widgets.py
+++ b/src/pretix/base/forms/widgets.py
@@ -86,14 +86,6 @@ class TimePickerWidget(forms.TimeInput):
class UploadedFileWidget(forms.ClearableFileInput):
def __init_... | 6,149 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2399",
"repo": "pretix/pretix",
"base_commit": "451d3fce0575d85a0ea93fd64aa0631feaced967",
"pull_number": 2399,
"issue_numbers": [
"232... |
pretix__pretix-2436 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: fdc77f6bd8d05971a4e8215e9a7bfa4b50315762
Changed files:
- src/pretix/base/forms/__init_... | diff --git a/src/pretix/base/forms/__init__.py b/src/pretix/base/forms/__init__.py
index 0000000..0000000 100644
--- a/src/pretix/base/forms/__init__.py
+++ b/src/pretix/base/forms/__init__.py
@@ -38,6 +38,7 @@ import i18nfield.forms
from django import forms
from django.forms.models import ModelFormMetaclass
from dj... | 6,514 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2436",
"repo": "pretix/pretix",
"base_commit": "fdc77f6bd8d05971a4e8215e9a7bfa4b50315762",
"pull_number": 2436,
"issue_numbers": [
"243... |
pretix__pretix-2453 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: adced71706fa64925f8050ea09e7b21c582275ff
Changed files:
- src/pretix/base/models/items.... | diff --git a/src/pretix/base/models/items.py b/src/pretix/base/models/items.py
index 0000000..0000000 100644
--- a/src/pretix/base/models/items.py
+++ b/src/pretix/base/models/items.py
@@ -44,7 +44,7 @@ import dateutil.parser
import pytz
from django.conf import settings
from django.core.exceptions import ValidationE... | 73,561 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2453",
"repo": "pretix/pretix",
"base_commit": "adced71706fa64925f8050ea09e7b21c582275ff",
"pull_number": 2453,
"issue_numbers": [
"245... |
pretix__pretix-2462 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 1d32d7a2d213834781385052d1d92b392bf1386a
Changed files:
- src/pretix/base/shredder.py
... | diff --git a/src/pretix/base/shredder.py b/src/pretix/base/shredder.py
index 0000000..0000000 100644
--- a/src/pretix/base/shredder.py
+++ b/src/pretix/base/shredder.py
@@ -34,7 +34,6 @@
import json
import os
-from datetime import timedelta
from typing import List, Tuple
from django.db import transaction
@@ -70... | 12,941 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2462",
"repo": "pretix/pretix",
"base_commit": "1d32d7a2d213834781385052d1d92b392bf1386a",
"pull_number": 2462,
"issue_numbers": [
"245... |
pretix__pretix-2497 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 2fd2462ef1fe36264c89b45182150e9184e96174
Changed files:
- src/pretix/control/views/main... | diff --git a/src/pretix/control/views/main.py b/src/pretix/control/views/main.py
index 0000000..0000000 100644
--- a/src/pretix/control/views/main.py
+++ b/src/pretix/control/views/main.py
@@ -265,8 +265,6 @@ class EventWizard(SafeSessionWizardView):
event.has_subevents = foundation_data['has_subevents']
... | 9,519 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2497",
"repo": "pretix/pretix",
"base_commit": "2fd2462ef1fe36264c89b45182150e9184e96174",
"pull_number": 2497,
"issue_numbers": [
"249... |
pretix__pretix-2537 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 31eda014645d5ce825c4bbb523baa203d9fddba8
Changed files:
- src/pretix/presale/views/orga... | diff --git a/src/pretix/presale/views/organizer.py b/src/pretix/presale/views/organizer.py
index 0000000..0000000 100644
--- a/src/pretix/presale/views/organizer.py
+++ b/src/pretix/presale/views/organizer.py
@@ -225,7 +225,7 @@ class EventListMixin:
def _set_month_year(self):
if 'date' in self.request.GE... | 34,440 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2537",
"repo": "pretix/pretix",
"base_commit": "31eda014645d5ce825c4bbb523baa203d9fddba8",
"pull_number": 2537,
"issue_numbers": [
"243... |
pretix__pretix-2544 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 5bde98e34901c62df9756f2918e781e7ae4e2752
Changed files:
- src/pretix/control/views/orde... | diff --git a/src/pretix/control/views/orders.py b/src/pretix/control/views/orders.py
index 0000000..0000000 100644
--- a/src/pretix/control/views/orders.py
+++ b/src/pretix/control/views/orders.py
@@ -2229,8 +2229,9 @@ class ExportMixin:
def exporters(self):
exporters = []
responses = register_da... | 65,294 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2544",
"repo": "pretix/pretix",
"base_commit": "5bde98e34901c62df9756f2918e781e7ae4e2752",
"pull_number": 2544,
"issue_numbers": [
"254... |
pretix__pretix-2558 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 645a7489df72aa2e185e308f5504ccbb2799d8a9
Changed files:
- src/pretix/control/views/user... | diff --git a/src/pretix/control/views/user.py b/src/pretix/control/views/user.py
index 0000000..0000000 100644
--- a/src/pretix/control/views/user.py
+++ b/src/pretix/control/views/user.py
@@ -399,7 +399,8 @@ class User2FADeviceConfirmWebAuthnView(RecentAuthenticationRequiredMixin, Templa
ukey,
... | 22,683 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2558",
"repo": "pretix/pretix",
"base_commit": "645a7489df72aa2e185e308f5504ccbb2799d8a9",
"pull_number": 2558,
"issue_numbers": [
"255... |
pretix__pretix-2661 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: d4825d00fb47a5a58dc567cbf5846cd129a8f1d1
Changed files:
- src/pretix/presale/views/orde... | diff --git a/src/pretix/presale/views/order.py b/src/pretix/presale/views/order.py
index 0000000..0000000 100644
--- a/src/pretix/presale/views/order.py
+++ b/src/pretix/presale/views/order.py
@@ -1255,7 +1255,7 @@ class OrderChange(EventViewMixin, OrderDetailMixin, TemplateView):
allow_add... | 44,276 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2661",
"repo": "pretix/pretix",
"base_commit": "d4825d00fb47a5a58dc567cbf5846cd129a8f1d1",
"pull_number": 2661,
"issue_numbers": [
"265... |
pretix__pretix-2773 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 8226e6c6d5ee40d7c10aa339314f3e5296370fd9
Changed files:
- src/pretix/base/models/event.... | diff --git a/src/pretix/base/models/event.py b/src/pretix/base/models/event.py
index 0000000..0000000 100644
--- a/src/pretix/base/models/event.py
+++ b/src/pretix/base/models/event.py
@@ -69,6 +69,7 @@ from pretix.base.reldate import RelativeDateWrapper
from pretix.base.validators import EventSlugBanlistValidator
fr... | 45,260 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2773",
"repo": "pretix/pretix",
"base_commit": "8226e6c6d5ee40d7c10aa339314f3e5296370fd9",
"pull_number": 2773,
"issue_numbers": [
"277... |
pretix__pretix-2983 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: bd5c9a4cb5a3b0408602eac31dab75bba6a2fdb7
Changed files:
- src/setup.py
## Problem stat... | diff --git a/src/setup.py b/src/setup.py
index 0000000..0000000 100644
--- a/src/setup.py
+++ b/src/setup.py
@@ -162,7 +162,7 @@ setup(
'babel',
'BeautifulSoup4==4.11.*',
'bleach==5.0.*',
- 'celery==4.4.*',
+ 'celery==5.2.*',
'chardet==5.1.*',
'cryptography>=3.... | 7,533 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-2983",
"repo": "pretix/pretix",
"base_commit": "bd5c9a4cb5a3b0408602eac31dab75bba6a2fdb7",
"pull_number": 2983,
"issue_numbers": [
"205... |
pretix__pretix-3037 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: e8269ed1bfb0964cbdac61ab1e6c67fc96792a8d
Changed files:
- src/pretix/presale/ical.py
#... | diff --git a/src/pretix/presale/ical.py b/src/pretix/presale/ical.py
index 0000000..0000000 100644
--- a/src/pretix/presale/ical.py
+++ b/src/pretix/presale/ical.py
@@ -57,7 +57,7 @@ def get_public_ical(events):
vevent.add('summary').value = str(ev.name)
vevent.add('dtstamp').value = creation_time
... | 5,279 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-3037",
"repo": "pretix/pretix",
"base_commit": "e8269ed1bfb0964cbdac61ab1e6c67fc96792a8d",
"pull_number": 3037,
"issue_numbers": [
"303... |
pretix__pretix-3463 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 8a9f14db03024e3d458ea0fced79f152c017a4c8
Changed files:
- src/pretix/base/services/expo... | diff --git a/src/pretix/base/services/export.py b/src/pretix/base/services/export.py
index 0000000..0000000 100644
--- a/src/pretix/base/services/export.py
+++ b/src/pretix/base/services/export.py
@@ -88,7 +88,7 @@ def export(self, event: Event, fileid: str, provider: str, form_data: Dict[str,
file.fil... | 9,341 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-3463",
"repo": "pretix/pretix",
"base_commit": "8a9f14db03024e3d458ea0fced79f152c017a4c8",
"pull_number": 3463,
"issue_numbers": [
"345... |
pretix__pretix-3728 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: baf6144ee7b480e94354be86e80c47351485609c
Changed files:
- src/pretix/presale/views/__in... | diff --git a/src/pretix/presale/views/__init__.py b/src/pretix/presale/views/__init__.py
index 0000000..0000000 100644
--- a/src/pretix/presale/views/__init__.py
+++ b/src/pretix/presale/views/__init__.py
@@ -54,6 +54,7 @@ from pretix.base.models import (
from pretix.base.services.cart import get_fees
from pretix.bas... | 14,604 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-3728",
"repo": "pretix/pretix",
"base_commit": "baf6144ee7b480e94354be86e80c47351485609c",
"pull_number": 3728,
"issue_numbers": [
"370... |
pretix__pretix-3816 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 6cf8c7d4f02173d8d5ccc17644d7cf38e485f28b
Changed files:
- src/pretix/plugins/stripe/pay... | diff --git a/src/pretix/plugins/stripe/payment.py b/src/pretix/plugins/stripe/payment.py
index 0000000..0000000 100644
--- a/src/pretix/plugins/stripe/payment.py
+++ b/src/pretix/plugins/stripe/payment.py
@@ -842,6 +842,11 @@ class StripeMethod(BasePaymentProvider):
}
})
... | 49,319 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-3816",
"repo": "pretix/pretix",
"base_commit": "6cf8c7d4f02173d8d5ccc17644d7cf38e485f28b",
"pull_number": 3816,
"issue_numbers": [
"381... |
pretix__pretix-3847 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: a5d4434a64f485fdcd504c98917ccd4bcc2d1619
Changed files:
- src/pretix/base/migrations/02... | diff --git a/src/pretix/base/migrations/0257_item_default_price_not_null.py b/src/pretix/base/migrations/0257_item_default_price_not_null.py
new file mode 100644
index 0000000..0000000
--- /dev/null
+++ b/src/pretix/base/migrations/0257_item_default_price_not_null.py
@@ -0,0 +1,19 @@
+# Generated by Django 4.2.9 on 202... | 62,135 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-3847",
"repo": "pretix/pretix",
"base_commit": "a5d4434a64f485fdcd504c98917ccd4bcc2d1619",
"pull_number": 3847,
"issue_numbers": [
"65"... |
pretix__pretix-3992 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 4fd7d406a0646cb4d5bc3d18766150cc8711e517
Changed files:
- src/pretix/api/serializers/or... | diff --git a/src/pretix/api/serializers/organizer.py b/src/pretix/api/serializers/organizer.py
index 0000000..0000000 100644
--- a/src/pretix/api/serializers/organizer.py
+++ b/src/pretix/api/serializers/organizer.py
@@ -79,8 +79,8 @@ class CustomerSerializer(I18nAwareModelSerializer):
class Meta:
model... | 10,705 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-3992",
"repo": "pretix/pretix",
"base_commit": "4fd7d406a0646cb4d5bc3d18766150cc8711e517",
"pull_number": 3992,
"issue_numbers": [
"398... |
pretix__pretix-3994 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 9513b6e8d79bb127b9a68db25dd026c43d03e7ce
Changed files:
- src/pretix/api/webhooks.py
#... | diff --git a/src/pretix/api/webhooks.py b/src/pretix/api/webhooks.py
index 0000000..0000000 100644
--- a/src/pretix/api/webhooks.py
+++ b/src/pretix/api/webhooks.py
@@ -176,7 +176,7 @@ class ParametrizedItemWebhookEvent(ParametrizedWebhookEvent):
}
-class ParametrizedOrderPositionWebhookEvent(ParametrizedO... | 14,673 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-3994",
"repo": "pretix/pretix",
"base_commit": "9513b6e8d79bb127b9a68db25dd026c43d03e7ce",
"pull_number": 3994,
"issue_numbers": [
"397... |
pretix__pretix-4016 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: pretix/pretix
Base commit: 50838b9cea675e6d218bc937761126b39738c646
Changed files:
- src/pretix/settings.py
## Pr... | diff --git a/src/pretix/settings.py b/src/pretix/settings.py
index 0000000..0000000 100644
--- a/src/pretix/settings.py
+++ b/src/pretix/settings.py
@@ -142,6 +142,8 @@ if USE_DATABASE_TLS or USE_DATABASE_MTLS:
db_options.update(tls_config)
+db_disable_server_side_cursors = db_backend == 'postgresql' and confi... | 21,190 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "pretix__pretix-4016",
"repo": "pretix/pretix",
"base_commit": "50838b9cea675e6d218bc937761126b39738c646",
"pull_number": 4016,
"issue_numbers": [
"401... |
easybuilders__easybuild-easyconfigs-4547 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: easybuilders/easybuild-easyconfigs
Base commit: ad056a8f002adc5eaa3df118fc810c31ed42121a
Changed files:
- setup.py... | diff --git a/setup.py b/setup.py
index 0000000..0000000 100644
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ from distutils import log
# recent setuptools versions will *TRANSFORM* something like 'X.Y.Zdev' into 'X.Y.Z.dev0', with a warning like
# UserWarning: Normalizing '2.4.0dev' to '2.4.0.dev0'
# This causes... | 4,591 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "easybuilders__easybuild-easyconfigs-4547",
"repo": "easybuilders/easybuild-easyconfigs",
"base_commit": "ad056a8f002adc5eaa3df118fc810c31ed42121a",
"pull_nu... |
easybuilders__easybuild-easyconfigs-7509 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: easybuilders/easybuild-easyconfigs
Base commit: fc1373f7ae02f84a84d6400ca293fb1bfe9b608b
Changed files:
- setup.py... | diff --git a/setup.py b/setup.py
index 0000000..0000000 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,5 @@
##
-# Copyright 2012-2018 Ghent University
+# Copyright 2012-2019 Ghent University
#
# This file is part of EasyBuild,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
@@ -4... | 3,985 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "easybuilders__easybuild-easyconfigs-7509",
"repo": "easybuilders/easybuild-easyconfigs",
"base_commit": "fc1373f7ae02f84a84d6400ca293fb1bfe9b608b",
"pull_nu... |
easybuilders__easybuild-easyconfigs-9431 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: easybuilders/easybuild-easyconfigs
Base commit: 898f2111da13aa293eb62a064a66731fcf156e3e
Changed files:
- setup.py... | diff --git a/setup.py b/setup.py
index 0000000..0000000 100644
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,7 @@ from distutils.core import setup
# recent setuptools versions will *TRANSFORM* something like 'X.Y.Zdev' into 'X.Y.Z.dev0', with a warning like
# UserWarning: Normalizing '2.4.0dev' to '2.4.0.dev0'
# This... | 7,643 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "easybuilders__easybuild-easyconfigs-9431",
"repo": "easybuilders/easybuild-easyconfigs",
"base_commit": "898f2111da13aa293eb62a064a66731fcf156e3e",
"pull_nu... |
easybuilders__easybuild-easyconfigs-9690 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: easybuilders/easybuild-easyconfigs
Base commit: 5ee24bb9de5b9bdabe296afadc69ac495685cf8e
Changed files:
- setup.py... | diff --git a/setup.py b/setup.py
index 0000000..0000000 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,5 @@
##
-# Copyright 2012-2019 Ghent University
+# Copyright 2012-2020 Ghent University
#
# This file is part of EasyBuild,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
@@ -4... | 3,435 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "easybuilders__easybuild-easyconfigs-9690",
"repo": "easybuilders/easybuild-easyconfigs",
"base_commit": "5ee24bb9de5b9bdabe296afadc69ac495685cf8e",
"pull_nu... |
easybuilders__easybuild-easyconfigs-10390 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: easybuilders/easybuild-easyconfigs
Base commit: 9a9429201010321d8a1b28b8205e5316613a5aa6
Changed files:
- setup.py... | diff --git a/setup.py b/setup.py
index 0000000..0000000 100644
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,7 @@ from distutils.core import setup
# recent setuptools versions will *TRANSFORM* something like 'X.Y.Zdev' into 'X.Y.Z.dev0', with a warning like
# UserWarning: Normalizing '2.4.0dev' to '2.4.0.dev0'
# This... | 3,359 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "easybuilders__easybuild-easyconfigs-10390",
"repo": "easybuilders/easybuild-easyconfigs",
"base_commit": "9a9429201010321d8a1b28b8205e5316613a5aa6",
"pull_n... |
oobabooga__text-generation-webui-235 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 026d60bd3424b5426c5ef80632aa6b71fe12d4c5
Changed files:
- modules/cha... | diff --git a/modules/chat.py b/modules/chat.py
index 0000000..0000000 100644
--- a/modules/chat.py
+++ b/modules/chat.py
@@ -120,6 +120,9 @@ def chatbot_wrapper(text, max_new_tokens, do_sample, temperature, top_p, typical
else:
prompt = custom_generate_chat_prompt(text, max_new_tokens, name1, name2, conte... | 30,853 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-235",
"repo": "oobabooga/text-generation-webui",
"base_commit": "026d60bd3424b5426c5ef80632aa6b71fe12d4c5",
"pull_number": ... |
oobabooga__text-generation-webui-628 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 1c413ed593b8024b1965ff7306bf9ebd076a870e
Changed files:
- extensions/... | diff --git a/extensions/silero_tts/script.py b/extensions/silero_tts/script.py
index 0000000..0000000 100644
--- a/extensions/silero_tts/script.py
+++ b/extensions/silero_tts/script.py
@@ -21,6 +21,7 @@ params = {
'autoplay': True,
'voice_pitch': 'medium',
'voice_speed': 'medium',
+ 'local_cache_path'... | 7,496 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-628",
"repo": "oobabooga/text-generation-webui",
"base_commit": "1c413ed593b8024b1965ff7306bf9ebd076a870e",
"pull_number": ... |
oobabooga__text-generation-webui-1082 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 4f7e88c0431b2929f542fc3f2d4cf33eb7de6ce0
Changed files:
- extensions/... | diff --git a/extensions/sd_api_pictures/script.py b/extensions/sd_api_pictures/script.py
index 0000000..0000000 100644
--- a/extensions/sd_api_pictures/script.py
+++ b/extensions/sd_api_pictures/script.py
@@ -138,14 +138,19 @@ def get_SD_pictures(description):
visible_result = ""
for img_str in r['images']:... | 8,858 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-1082",
"repo": "oobabooga/text-generation-webui",
"base_commit": "4f7e88c0431b2929f542fc3f2d4cf33eb7de6ce0",
"pull_number":... |
oobabooga__text-generation-webui-1261 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: a2127239debf37432489fefa41ed36bd2b6083f6
Changed files:
- modules/tex... | diff --git a/modules/text_generation.py b/modules/text_generation.py
index 0000000..0000000 100644
--- a/modules/text_generation.py
+++ b/modules/text_generation.py
@@ -209,7 +209,7 @@ def generate_reply(question, state, eos_token=None, stopping_strings=[]):
else:
for k in ['max_new_tokens', 'do_sample', ... | 9,295 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-1261",
"repo": "oobabooga/text-generation-webui",
"base_commit": "a2127239debf37432489fefa41ed36bd2b6083f6",
"pull_number":... |
oobabooga__text-generation-webui-1547 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: da812600f49309cd7090464d7ffcfa1246d3a309
Changed files:
- extensions/... | diff --git a/extensions/llava/script.py b/extensions/llava/script.py
index 0000000..0000000 100644
--- a/extensions/llava/script.py
+++ b/extensions/llava/script.py
@@ -245,7 +245,9 @@ def tokenizer_modifier(state, prompt, input_ids, input_embeds):
prompt, input_ids, input_embeds, total_embedded = llava_embedder... | 9,335 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-1547",
"repo": "oobabooga/text-generation-webui",
"base_commit": "da812600f49309cd7090464d7ffcfa1246d3a309",
"pull_number":... |
oobabooga__text-generation-webui-1929 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 68dcbc7ebda3f0d9700dde43d0d29324f5c244b1
Changed files:
- extensions/... | diff --git a/extensions/superbooga/script.py b/extensions/superbooga/script.py
index 0000000..0000000 100644
--- a/extensions/superbooga/script.py
+++ b/extensions/superbooga/script.py
@@ -52,10 +52,12 @@ class ChromaCollector(Collecter):
self.collection.add(documents=texts, ids=self.ids)
def get(self, ... | 8,022 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-1929",
"repo": "oobabooga/text-generation-webui",
"base_commit": "68dcbc7ebda3f0d9700dde43d0d29324f5c244b1",
"pull_number":... |
oobabooga__text-generation-webui-1935 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 943b5e5f804c34821b2598b47d754a0834869636
Changed files:
- extensions/... | diff --git a/extensions/openai/cache_embedding_model.py b/extensions/openai/cache_embedding_model.py
new file mode 100755
index 0000000..0000000
--- /dev/null
+++ b/extensions/openai/cache_embedding_model.py
@@ -0,0 +1,8 @@
+#!/usr/bin/env python3
+# preload the embedding model, useful for Docker images to prevent re-d... | 16,857 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-1935",
"repo": "oobabooga/text-generation-webui",
"base_commit": "943b5e5f804c34821b2598b47d754a0834869636",
"pull_number":... |
oobabooga__text-generation-webui-2382 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 2cf711f35ec8453d8af818be631cb60447e759e2
Changed files:
- extensions/... | diff --git a/extensions/openai/script.py b/extensions/openai/script.py
index 0000000..0000000 100644
--- a/extensions/openai/script.py
+++ b/extensions/openai/script.py
@@ -259,7 +259,7 @@ class Handler(BaseHTTPRequestHandler):
role_formats = {
'user': 'user: {message}\n',
- ... | 21,059 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-2382",
"repo": "oobabooga/text-generation-webui",
"base_commit": "2cf711f35ec8453d8af818be631cb60447e759e2",
"pull_number":... |
oobabooga__text-generation-webui-2383 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 2cf711f35ec8453d8af818be631cb60447e759e2
Changed files:
- extensions/... | diff --git a/extensions/openai/script.py b/extensions/openai/script.py
index 0000000..0000000 100644
--- a/extensions/openai/script.py
+++ b/extensions/openai/script.py
@@ -315,7 +315,7 @@ class Handler(BaseHTTPRequestHandler):
# can't really truncate the system messages
system_msg =... | 21,099 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-2383",
"repo": "oobabooga/text-generation-webui",
"base_commit": "2cf711f35ec8453d8af818be631cb60447e759e2",
"pull_number":... |
oobabooga__text-generation-webui-2443 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 9ab90d8b608170fe57d893c2150eda3bc11a8b06
Changed files:
- extensions/... | diff --git a/extensions/openai/script.py b/extensions/openai/script.py
index 0000000..0000000 100644
--- a/extensions/openai/script.py
+++ b/extensions/openai/script.py
@@ -18,6 +18,41 @@ params = {
debug = True if 'OPENEDAI_DEBUG' in os.environ else False
+# Slightly different defaults for OpenAI's API
+default_r... | 23,126 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-2443",
"repo": "oobabooga/text-generation-webui",
"base_commit": "9ab90d8b608170fe57d893c2150eda3bc11a8b06",
"pull_number":... |
oobabooga__text-generation-webui-2533 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 97f3fa843fea65fc3b89f56c47e34bf52e3a4d40
Changed files:
- extensions/... | diff --git a/extensions/openai/script.py b/extensions/openai/script.py
index 0000000..0000000 100644
--- a/extensions/openai/script.py
+++ b/extensions/openai/script.py
@@ -20,6 +20,7 @@ params = {
debug = True if 'OPENEDAI_DEBUG' in os.environ else False
# Slightly different defaults for OpenAI's API
+# Data type ... | 21,916 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-2533",
"repo": "oobabooga/text-generation-webui",
"base_commit": "97f3fa843fea65fc3b89f56c47e34bf52e3a4d40",
"pull_number":... |
oobabooga__text-generation-webui-2643 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 5d2a8b31be17a2992308d58b674274375a3f360c
Changed files:
- modules/cha... | diff --git a/modules/chat.py b/modules/chat.py
index 0000000..0000000 100644
--- a/modules/chat.py
+++ b/modules/chat.py
@@ -479,11 +479,16 @@ def load_character(character, name1, name2, instruct=False):
if character != 'None':
folder = 'characters' if not instruct else 'characters/instruction-following'
... | 16,623 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-2643",
"repo": "oobabooga/text-generation-webui",
"base_commit": "5d2a8b31be17a2992308d58b674274375a3f360c",
"pull_number":... |
oobabooga__text-generation-webui-2849 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: cec5fb0ef6a2d74901f70824e15089b17670f2c8
Changed files:
- extensions/... | diff --git a/extensions/openai/script.py b/extensions/openai/script.py
index 0000000..0000000 100644
--- a/extensions/openai/script.py
+++ b/extensions/openai/script.py
@@ -54,7 +54,7 @@ default_req_params = {
'mirostat_eta': 0.1,
'ban_eos_token': False,
'skip_special_tokens': True,
- 'custom_stopping... | 29,494 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-2849",
"repo": "oobabooga/text-generation-webui",
"base_commit": "cec5fb0ef6a2d74901f70824e15089b17670f2c8",
"pull_number":... |
oobabooga__text-generation-webui-2912 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 5d2a8b31be17a2992308d58b674274375a3f360c
Changed files:
- modules/exl... | diff --git a/modules/exllama.py b/modules/exllama.py
index 0000000..0000000 100644
--- a/modules/exllama.py
+++ b/modules/exllama.py
@@ -1,6 +1,8 @@
import sys
from pathlib import Path
+from torch import version as torch_version
+
from modules import shared
from modules.logging_colors import logger
@@ -51,6 +53... | 6,722 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-2912",
"repo": "oobabooga/text-generation-webui",
"base_commit": "5d2a8b31be17a2992308d58b674274375a3f360c",
"pull_number":... |
oobabooga__text-generation-webui-3014 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: e0a50fb77a9985205433317a82a132c7f4f12631
Changed files:
- download-mo... | diff --git a/download-model.py b/download-model.py
index 0000000..0000000 100644
--- a/download-model.py
+++ b/download-model.py
@@ -23,7 +23,7 @@ from tqdm.contrib.concurrent import thread_map
class ModelDownloader:
- def __init__(self, max_retries):
+ def __init__(self, max_retries = 5):
self.s = ... | 7,450 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-3014",
"repo": "oobabooga/text-generation-webui",
"base_commit": "e0a50fb77a9985205433317a82a132c7f4f12631",
"pull_number":... |
oobabooga__text-generation-webui-3120 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 63688004dcf9093479d082950713f390f338f98e
Changed files:
- modules/LoR... | diff --git a/modules/LoRA.py b/modules/LoRA.py
index 0000000..0000000 100644
--- a/modules/LoRA.py
+++ b/modules/LoRA.py
@@ -8,6 +8,14 @@ from modules.logging_colors import logger
from modules.models import reload_model
+def merge_loras():
+ if len(list({shared.model.peft_config[adapter].r for adapter in shared... | 6,356 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-3120",
"repo": "oobabooga/text-generation-webui",
"base_commit": "63688004dcf9093479d082950713f390f338f98e",
"pull_number":... |
oobabooga__text-generation-webui-3309 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: d6314fd5394bbfe2edd9030d953892dcfc4de105
Changed files:
- extensions/... | diff --git a/extensions/openai/completions.py b/extensions/openai/completions.py
index 0000000..0000000 100644
--- a/extensions/openai/completions.py
+++ b/extensions/openai/completions.py
@@ -48,7 +48,7 @@ class LogprobProcessor(LogitsProcessor):
top_tokens = [ decode(tok) for tok in top_indices[0] ]
... | 24,743 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-3309",
"repo": "oobabooga/text-generation-webui",
"base_commit": "d6314fd5394bbfe2edd9030d953892dcfc4de105",
"pull_number":... |
oobabooga__text-generation-webui-3732 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 57e9ded00cb023d5ea846eee53711650054147cf
Changed files:
- download-mo... | diff --git a/download-model.py b/download-model.py
index 0000000..0000000 100644
--- a/download-model.py
+++ b/download-model.py
@@ -47,7 +47,7 @@ class ModelDownloader:
return model, branch
- def get_download_links_from_huggingface(self, model, branch, text_only=False):
+ def get_download_links_from... | 8,021 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-3732",
"repo": "oobabooga/text-generation-webui",
"base_commit": "57e9ded00cb023d5ea846eee53711650054147cf",
"pull_number":... |
oobabooga__text-generation-webui-3878 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: df123a20fccda29439d70c5590de2e33937acbed
Changed files:
- extensions/... | diff --git a/extensions/silero_tts/script.py b/extensions/silero_tts/script.py
index 0000000..0000000 100644
--- a/extensions/silero_tts/script.py
+++ b/extensions/silero_tts/script.py
@@ -28,7 +28,25 @@ params = {
}
current_params = params.copy()
-voices_by_gender = ['en_99', 'en_45', 'en_18', 'en_117', 'en_49', '... | 8,391 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-3878",
"repo": "oobabooga/text-generation-webui",
"base_commit": "df123a20fccda29439d70c5590de2e33937acbed",
"pull_number":... |
oobabooga__text-generation-webui-4541 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: f7534b2f4b6ceca5e00d9cf6af2d25b744af3d06
Changed files:
- extensions/... | diff --git a/extensions/api/util.py b/extensions/api/util.py
index 0000000..0000000 100644
--- a/extensions/api/util.py
+++ b/extensions/api/util.py
@@ -74,8 +74,8 @@ def build_parameters(body, chat=False):
if str(character) == "None":
character = "Assistant"
- name1, name2, _, greeting, ... | 12,448 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-4541",
"repo": "oobabooga/text-generation-webui",
"base_commit": "f7534b2f4b6ceca5e00d9cf6af2d25b744af3d06",
"pull_number":... |
oobabooga__text-generation-webui-4597 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 8a9d5a0cea66d23645aa274817ff077185c54b37
Changed files:
- modules/mod... | diff --git a/modules/models.py b/modules/models.py
index 0000000..0000000 100644
--- a/modules/models.py
+++ b/modules/models.py
@@ -381,15 +381,13 @@ def RWKV_loader(model_name):
def get_max_memory_dict():
- max_memory = {}
+ max_cpu_memory = shared.args.cpu_memory.strip() if shared.args.cpu_memory is not N... | 12,124 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-4597",
"repo": "oobabooga/text-generation-webui",
"base_commit": "8a9d5a0cea66d23645aa274817ff077185c54b37",
"pull_number":... |
oobabooga__text-generation-webui-4827 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 8956f3ebe21c3297faecc786cc3dd4859a4314e3
Changed files:
- extensions/... | diff --git a/extensions/openai/completions.py b/extensions/openai/completions.py
index 0000000..0000000 100644
--- a/extensions/openai/completions.py
+++ b/extensions/openai/completions.py
@@ -1,10 +1,15 @@
+import base64
import copy
+import re
import time
from collections import deque
+from io import BytesIO
+imp... | 13,349 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-4827",
"repo": "oobabooga/text-generation-webui",
"base_commit": "8956f3ebe21c3297faecc786cc3dd4859a4314e3",
"pull_number":... |
oobabooga__text-generation-webui-4851 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 884871c10751b0de405d22494a75796ed761d640
Changed files:
- modules/tex... | diff --git a/modules/text_generation.py b/modules/text_generation.py
index 0000000..0000000 100644
--- a/modules/text_generation.py
+++ b/modules/text_generation.py
@@ -265,9 +265,8 @@ def apply_stopping_strings(reply, all_stop_strings):
def get_reply_from_output_ids(output_ids, state, starting_from=0):
reply =... | 10,733 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-4851",
"repo": "oobabooga/text-generation-webui",
"base_commit": "884871c10751b0de405d22494a75796ed761d640",
"pull_number":... |
oobabooga__text-generation-webui-4865 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 8c8825b777516f189c0fc3eb46c22f552fecc300
Changed files:
- modules/ui_... | diff --git a/modules/ui_model_menu.py b/modules/ui_model_menu.py
index 0000000..0000000 100644
--- a/modules/ui_model_menu.py
+++ b/modules/ui_model_menu.py
@@ -58,7 +58,7 @@ def create_ui():
with gr.Row():
with gr.Column():
with gr.Row():
- ... | 12,277 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-4865",
"repo": "oobabooga/text-generation-webui",
"base_commit": "8c8825b777516f189c0fc3eb46c22f552fecc300",
"pull_number":... |
oobabooga__text-generation-webui-4905 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: c2802bc3ac88b6f0268b6fe82bd15308982083a6
Changed files:
- extensions/... | diff --git a/extensions/coqui_tts/script.py b/extensions/coqui_tts/script.py
index 0000000..0000000 100644
--- a/extensions/coqui_tts/script.py
+++ b/extensions/coqui_tts/script.py
@@ -1,3 +1,4 @@
+import os
import html
import json
import random
@@ -26,6 +27,7 @@ except ModuleNotFoundError:
raise
+os.enviro... | 6,599 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-4905",
"repo": "oobabooga/text-generation-webui",
"base_commit": "c2802bc3ac88b6f0268b6fe82bd15308982083a6",
"pull_number":... |
oobabooga__text-generation-webui-5125 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 20a2eaaf95eeb77c2e6b38de1de0f7977a98c21b
Changed files:
- modules/mod... | diff --git a/modules/models_settings.py b/modules/models_settings.py
index 0000000..0000000 100644
--- a/modules/models_settings.py
+++ b/modules/models_settings.py
@@ -35,7 +35,7 @@ def get_model_metadata(model):
path = Path(f'{shared.args.model_dir}/{model}/config.json')
if path.exists():
- hf_meta... | 8,403 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-5125",
"repo": "oobabooga/text-generation-webui",
"base_commit": "20a2eaaf95eeb77c2e6b38de1de0f7977a98c21b",
"pull_number":... |
oobabooga__text-generation-webui-5641 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 60f3d87309bd5fa8e3d77ed1fc66b25ef84db8c5
Changed files:
- modules/ext... | diff --git a/modules/extensions.py b/modules/extensions.py
index 0000000..0000000 100644
--- a/modules/extensions.py
+++ b/modules/extensions.py
@@ -36,7 +36,7 @@ def load_extensions():
try:
extension = importlib.import_module(f"extensions.{name}.script")
except Mo... | 18,657 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-5641",
"repo": "oobabooga/text-generation-webui",
"base_commit": "60f3d87309bd5fa8e3d77ed1fc66b25ef84db8c5",
"pull_number":... |
oobabooga__text-generation-webui-5722 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 49b111e2dd2e5c4f1e6f2a25df38c3a1b1dbf4d7
Changed files:
- extensions/... | diff --git a/extensions/openai/typing.py b/extensions/openai/typing.py
index 0000000..0000000 100644
--- a/extensions/openai/typing.py
+++ b/extensions/openai/typing.py
@@ -107,7 +107,7 @@ class ChatCompletionRequestParams(BaseModel):
context: str | None = Field(default=None, description="Overwrites the value set ... | 6,031 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-5722",
"repo": "oobabooga/text-generation-webui",
"base_commit": "49b111e2dd2e5c4f1e6f2a25df38c3a1b1dbf4d7",
"pull_number":... |
oobabooga__text-generation-webui-5794 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 9ab7365b5637f0474dec1b655680e3eda9c31c24
Changed files:
- modules/ui.... | diff --git a/modules/ui.py b/modules/ui.py
index 0000000..0000000 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -233,14 +233,16 @@ def save_settings(state, preset, extensions_list, show_controls, theme_state):
# Save extension values in the UI
for extension_name in extensions_list:
- extension = ... | 6,311 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-5794",
"repo": "oobabooga/text-generation-webui",
"base_commit": "9ab7365b5637f0474dec1b655680e3eda9c31c24",
"pull_number":... |
oobabooga__text-generation-webui-5900 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 0877741b0350d200be7f1e6cca2780a25ee29cd0
Changed files:
- modules/gra... | diff --git a/modules/grammar/grammar_utils.py b/modules/grammar/grammar_utils.py
index 0000000..0000000 100644
--- a/modules/grammar/grammar_utils.py
+++ b/modules/grammar/grammar_utils.py
@@ -60,7 +60,7 @@ def hex_to_int(c):
return int(c)
elif "a" <= c.lower() <= "f":
return ord(c.lower()) - ord... | 18,142 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-5900",
"repo": "oobabooga/text-generation-webui",
"base_commit": "0877741b0350d200be7f1e6cca2780a25ee29cd0",
"pull_number":... |
oobabooga__text-generation-webui-6203 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: oobabooga/text-generation-webui
Base commit: 3315d0065100c1c349d510d33679370b29a45385
Changed files:
- modules/cha... | diff --git a/modules/chat.py b/modules/chat.py
index 0000000..0000000 100644
--- a/modules/chat.py
+++ b/modules/chat.py
@@ -577,7 +577,7 @@ def find_all_histories_with_first_prompts(state):
data = json.load(f)
first_prompt = ""
- if 'visible' in data and len(data['vis... | 27,976 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "oobabooga__text-generation-webui-6203",
"repo": "oobabooga/text-generation-webui",
"base_commit": "3315d0065100c1c349d510d33679370b29a45385",
"pull_number":... |
Showndarya__Hacktoberfest-435 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: Showndarya/Hacktoberfest
Base commit: 34c250833bec45885d85b6a3edb9b771b1ba9316
Changed files:
- .travis.py
## Pro... | diff --git a/.travis.py b/.travis.py
index 0000000..0000000 100644
--- a/.travis.py
+++ b/.travis.py
@@ -19,13 +19,13 @@ if changed_files:
if re.search(r"\.json$", changed_file):
changed_files_json.append(changed_file)
-
+
# Iterate over list of changed JSON files.
for changed_file_json in ch... | 1,602 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "Showndarya__Hacktoberfest-435",
"repo": "Showndarya/Hacktoberfest",
"base_commit": "34c250833bec45885d85b6a3edb9b771b1ba9316",
"pull_number": 435,
"issue_... |
Showndarya__Hacktoberfest-545 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: Showndarya/Hacktoberfest
Base commit: 546d2c4bbf43427d0875939f4a1bc9c26be892fc
Changed files:
- .travis.py
## Pro... | diff --git a/.travis.py b/.travis.py
index 0000000..0000000 100644
--- a/.travis.py
+++ b/.travis.py
@@ -34,7 +34,7 @@ for changed_file_json in changed_files_json:
file_content = json.loads(data_file.read())
except json.decoder.JSONDecodeError:
there_was_an_error = True
- print("🔥 JSO... | 1,679 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "Showndarya__Hacktoberfest-545",
"repo": "Showndarya/Hacktoberfest",
"base_commit": "546d2c4bbf43427d0875939f4a1bc9c26be892fc",
"pull_number": 545,
"issue_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.