id stringlengths 13 54 | prompt stringlengths 708 2.91M | answer stringlengths 110 352k | prompt_input_token_count int64 206 1.14M | metadata dict |
|---|---|---|---|---|
common-workflow-language__cwltool-1346 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: d355599c3bf706a1f67afe2d1e6e8c5ca9e9f667
Changed files:
- setup.py
... | diff --git a/setup.py b/setup.py
index 0000000..0000000 100755
--- a/setup.py
+++ b/setup.py
@@ -107,11 +107,10 @@ setup(
'pydot >= 1.4.1',
],
extras_require={
- ':python_version<"3.6"': ["typing >= 3.5.3"],
"deps": ["galaxy-tool-util"],
"docs": ["sphinx >= 2.2", "sphinx-rtd-... | 4,586 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1346",
"repo": "common-workflow-language/cwltool",
"base_commit": "d355599c3bf706a1f67afe2d1e6e8c5ca9e9f667",
"pull_number... |
common-workflow-language__cwltool-1362 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 2cec4eebeb3461844b9102b89551b8765c7be348
Changed files:
- cwltool/ma... | diff --git a/cwltool/main.py b/cwltool/main.py
index 0000000..0000000 100755
--- a/cwltool/main.py
+++ b/cwltool/main.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python3
"""Entry point for cwltool."""
+import argcomplete
import argparse
import functools
import io
@@ -100,7 +101,7 @@ from .utils import (
windows_defau... | 37,057 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1362",
"repo": "common-workflow-language/cwltool",
"base_commit": "2cec4eebeb3461844b9102b89551b8765c7be348",
"pull_number... |
common-workflow-language__cwltool-1415 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 828e48a21c189b0265be98e85a3fb7e95cf62ef2
Changed files:
- cwltool/ar... | diff --git a/cwltool/argparser.py b/cwltool/argparser.py
index 0000000..0000000 100644
--- a/cwltool/argparser.py
+++ b/cwltool/argparser.py
@@ -64,8 +64,8 @@ def arg_parser() -> argparse.ArgumentParser:
dest="preserve_entire_environment",
)
- exgroup = parser.add_mutually_exclusive_group()
- exgr... | 56,842 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1415",
"repo": "common-workflow-language/cwltool",
"base_commit": "828e48a21c189b0265be98e85a3fb7e95cf62ef2",
"pull_number... |
common-workflow-language__cwltool-1420 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 8bdc1529fd49ccdfa4734daa6646bcf5f1a65cba
Changed files:
- cwltool/co... | diff --git a/cwltool/command_line_tool.py b/cwltool/command_line_tool.py
index 0000000..0000000 100644
--- a/cwltool/command_line_tool.py
+++ b/cwltool/command_line_tool.py
@@ -10,6 +10,7 @@ import re
import shutil
import threading
import urllib
+import urllib.parse
from functools import cmp_to_key, partial
from t... | 34,275 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1420",
"repo": "common-workflow-language/cwltool",
"base_commit": "8bdc1529fd49ccdfa4734daa6646bcf5f1a65cba",
"pull_number... |
common-workflow-language__cwltool-1426 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 3758687feaceb7cecce02940d79360924af50934
Changed files:
- cwltool/do... | diff --git a/cwltool/docker.py b/cwltool/docker.py
index 0000000..0000000 100644
--- a/cwltool/docker.py
+++ b/cwltool/docker.py
@@ -8,7 +8,6 @@ import shutil
import subprocess # nosec
import sys
import threading
-from distutils import spawn
from io import StringIO # pylint: disable=redefined-builtin
from typing... | 21,980 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1426",
"repo": "common-workflow-language/cwltool",
"base_commit": "3758687feaceb7cecce02940d79360924af50934",
"pull_number... |
common-workflow-language__cwltool-1439 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: feda25448484697c47f58cbc5d84368e2ffecf1d
Changed files:
- cwltool/pr... | diff --git a/cwltool/process.py b/cwltool/process.py
index 0000000..0000000 100644
--- a/cwltool/process.py
+++ b/cwltool/process.py
@@ -578,7 +578,15 @@ class Process(HasReqsHints, metaclass=abc.ABCMeta):
self.names = make_avro_schema([SCHEMA_FILE, SCHEMA_DIR, SCHEMA_ANY], Loader({}))
self.tool = too... | 34,637 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1439",
"repo": "common-workflow-language/cwltool",
"base_commit": "feda25448484697c47f58cbc5d84368e2ffecf1d",
"pull_number... |
common-workflow-language__cwltool-1446 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 63c7c724f37d6ef0502ac8f7721c8ed3c556188f
Changed files:
- cwltool/co... | diff --git a/cwltool/command_line_tool.py b/cwltool/command_line_tool.py
index 0000000..0000000 100644
--- a/cwltool/command_line_tool.py
+++ b/cwltool/command_line_tool.py
@@ -200,9 +200,7 @@ def revmap_file(
outside the container. Recognizes files in the pathmapper or remaps
internal output directories to t... | 40,248 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1446",
"repo": "common-workflow-language/cwltool",
"base_commit": "63c7c724f37d6ef0502ac8f7721c8ed3c556188f",
"pull_number... |
common-workflow-language__cwltool-1457 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: d91e812e8aafe58692991f04cbeeeb9b823cf7bc
Changed files:
- setup.py
... | diff --git a/setup.py b/setup.py
index 0000000..0000000 100644
--- a/setup.py
+++ b/setup.py
@@ -115,7 +115,7 @@ setup(
# https://github.com/common-workflow-language/schema_salad/issues/385
"schema-salad >= 7.1.20210518142926, < 8",
"mypy-extensions",
- "psutil",
+ "psutil != 5.... | 7,088 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1457",
"repo": "common-workflow-language/cwltool",
"base_commit": "d91e812e8aafe58692991f04cbeeeb9b823cf7bc",
"pull_number... |
common-workflow-language__cwltool-1462 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 0e89055b41fc769af48782b57991039c84673a6f
Changed files:
- cwltool/pr... | diff --git a/cwltool/process.py b/cwltool/process.py
index 0000000..0000000 100644
--- a/cwltool/process.py
+++ b/cwltool/process.py
@@ -356,19 +356,28 @@ def relocateOutputs(
return
# If the source is not contained in source_directories we're not allowed to delete it
- src = fs_access.re... | 35,732 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1462",
"repo": "common-workflow-language/cwltool",
"base_commit": "0e89055b41fc769af48782b57991039c84673a6f",
"pull_number... |
common-workflow-language__cwltool-1469 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: cef7385f242273060a584ebdac8334a8cb8c5c59
Changed files:
- cwltool/co... | diff --git a/cwltool/context.py b/cwltool/context.py
index 0000000..0000000 100644
--- a/cwltool/context.py
+++ b/cwltool/context.py
@@ -107,6 +107,7 @@ class RuntimeContext(ContextBase):
self.pull_image = True # type: bool
self.rm_container = True # type: bool
self.move_outputs = "move" #... | 32,537 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1469",
"repo": "common-workflow-language/cwltool",
"base_commit": "cef7385f242273060a584ebdac8334a8cb8c5c59",
"pull_number... |
common-workflow-language__cwltool-1475 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 7094ede917c2d5b16d11f9231fe0c05260b51be6
Changed files:
- cwltool/pr... | diff --git a/cwltool/process.py b/cwltool/process.py
index 0000000..0000000 100644
--- a/cwltool/process.py
+++ b/cwltool/process.py
@@ -633,7 +633,7 @@ class Process(HasReqsHints, metaclass=abc.ABCMeta):
sd, _ = self.get_requirement("SchemaDefRequirement")
if sd is not None:
- sdtypes = ... | 59,896 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1475",
"repo": "common-workflow-language/cwltool",
"base_commit": "7094ede917c2d5b16d11f9231fe0c05260b51be6",
"pull_number... |
common-workflow-language__cwltool-1490 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 3163e8980f4f539c3d49c2d4eded7817eeb586cc
Changed files:
- cwltool/ex... | diff --git a/cwltool/expression.py b/cwltool/expression.py
index 0000000..0000000 100644
--- a/cwltool/expression.py
+++ b/cwltool/expression.py
@@ -217,7 +217,7 @@ def evaluator(
if first_symbol_end + 1 == len(ex) and first_symbol == "null":
return None
try:
- if obj.get(first... | 9,878 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1490",
"repo": "common-workflow-language/cwltool",
"base_commit": "3163e8980f4f539c3d49c2d4eded7817eeb586cc",
"pull_number... |
common-workflow-language__cwltool-1499 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 05fc01bd00251217a219faaf63b9947d200eb849
Changed files:
- cwltool/si... | diff --git a/cwltool/singularity.py b/cwltool/singularity.py
index 0000000..0000000 100644
--- a/cwltool/singularity.py
+++ b/cwltool/singularity.py
@@ -74,6 +74,12 @@ def is_version_3_1_or_newer() -> bool:
return int(version[0]) >= 4 or (int(version[0]) == 3 and int(version[1]) >= 1)
+def is_version_3_4_or_ne... | 12,113 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1499",
"repo": "common-workflow-language/cwltool",
"base_commit": "05fc01bd00251217a219faaf63b9947d200eb849",
"pull_number... |
common-workflow-language__cwltool-1501 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: ffb7513293a3c6f895c40925b886a17933e5d796
Changed files:
- cwltool/pa... | diff --git a/cwltool/pack.py b/cwltool/pack.py
index 0000000..0000000 100644
--- a/cwltool/pack.py
+++ b/cwltool/pack.py
@@ -172,8 +172,15 @@ def pack(
raise Exception("loader should not be None")
return lr_loadingContext.loader.resolve_ref(lr_uri, base_url=base)[0]
- ids = set() # type: Set... | 7,802 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1501",
"repo": "common-workflow-language/cwltool",
"base_commit": "ffb7513293a3c6f895c40925b886a17933e5d796",
"pull_number... |
common-workflow-language__cwltool-1504 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: b67a5e0fc6b1e0dbd2277a112012bbe19a9dcc91
Changed files:
- cwltool/su... | diff --git a/cwltool/subgraph.py b/cwltool/subgraph.py
index 0000000..0000000 100644
--- a/cwltool/subgraph.py
+++ b/cwltool/subgraph.py
@@ -92,6 +92,8 @@ def get_subgraph(roots: MutableSequence[str], tool: Workflow) -> CommentedMap:
declare_node(nodes, src, None)
nodes[src].down.appen... | 5,925 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1504",
"repo": "common-workflow-language/cwltool",
"base_commit": "b67a5e0fc6b1e0dbd2277a112012bbe19a9dcc91",
"pull_number... |
common-workflow-language__cwltool-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: common-workflow-language/cwltool
Base commit: 0893cbeea9ab2c6dc659964d8ab849ebe753dc62
Changed files:
- cwltool/bu... | diff --git a/cwltool/builder.py b/cwltool/builder.py
index 0000000..0000000 100644
--- a/cwltool/builder.py
+++ b/cwltool/builder.py
@@ -344,6 +344,22 @@ class Builder(HasReqsHints):
)
)
else:
+ if schema["type"] == "org.w3id.cwl.salad.Any":
+ if ... | 20,018 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1510",
"repo": "common-workflow-language/cwltool",
"base_commit": "0893cbeea9ab2c6dc659964d8ab849ebe753dc62",
"pull_number... |
common-workflow-language__cwltool-1511 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 23c5aabc03f7217c62f574e58edf3e2cb9703237
Changed files:
- cwltool/wo... | diff --git a/cwltool/workflow.py b/cwltool/workflow.py
index 0000000..0000000 100644
--- a/cwltool/workflow.py
+++ b/cwltool/workflow.py
@@ -243,6 +243,14 @@ class WorkflowStep(Process):
validation_errors = []
self.tool = toolpath_object = copy.deepcopy(toolpath_object)
bound = set()
+
+ ... | 13,210 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1511",
"repo": "common-workflow-language/cwltool",
"base_commit": "23c5aabc03f7217c62f574e58edf3e2cb9703237",
"pull_number... |
common-workflow-language__cwltool-1521 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: c02bd925296c18b68476dedd2e51344c97932dd2
Changed files:
- cwltool/co... | diff --git a/cwltool/command_line_tool.py b/cwltool/command_line_tool.py
index 0000000..0000000 100644
--- a/cwltool/command_line_tool.py
+++ b/cwltool/command_line_tool.py
@@ -732,8 +732,10 @@ class CommandLineTool(Process):
initialWorkdir, "listing", WorkflowException, debug
... | 42,030 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1521",
"repo": "common-workflow-language/cwltool",
"base_commit": "c02bd925296c18b68476dedd2e51344c97932dd2",
"pull_number... |
common-workflow-language__cwltool-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: common-workflow-language/cwltool
Base commit: 5f99327858a8658864b9a178c2f3460e76b756f9
Changed files:
- cwltool/si... | diff --git a/cwltool/singularity.py b/cwltool/singularity.py
index 0000000..0000000 100644
--- a/cwltool/singularity.py
+++ b/cwltool/singularity.py
@@ -31,6 +31,8 @@ def get_version() -> str:
).strip()
if _SINGULARITY_VERSION.startswith("singularity version "):
_SINGULARITY_VERSION = _SI... | 12,039 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1547",
"repo": "common-workflow-language/cwltool",
"base_commit": "5f99327858a8658864b9a178c2f3460e76b756f9",
"pull_number... |
common-workflow-language__cwltool-1564 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 2b9d7b03c520275546ec66f36cef8192514e5529
Changed files:
- cwltool/ma... | diff --git a/cwltool/main.py b/cwltool/main.py
index 0000000..0000000 100755
--- a/cwltool/main.py
+++ b/cwltool/main.py
@@ -929,9 +929,11 @@ def print_targets(
_logger.info("%s steps targets:", prefix[:-1])
for t in tool.tool["steps"]:
stdout.write(f" {prefix}{shortname(t['id'])}\n")
- ... | 36,521 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1564",
"repo": "common-workflow-language/cwltool",
"base_commit": "2b9d7b03c520275546ec66f36cef8192514e5529",
"pull_number... |
common-workflow-language__cwltool-1565 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: b807e39039af9d3f2d6d36bd66eea38a76b178d2
Changed files:
- cwltool/co... | diff --git a/cwltool/command_line_tool.py b/cwltool/command_line_tool.py
index 0000000..0000000 100644
--- a/cwltool/command_line_tool.py
+++ b/cwltool/command_line_tool.py
@@ -527,13 +527,11 @@ class CommandLineTool(Process):
"not a File nor a Directory object."
... | 111,410 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1565",
"repo": "common-workflow-language/cwltool",
"base_commit": "b807e39039af9d3f2d6d36bd66eea38a76b178d2",
"pull_number... |
common-workflow-language__cwltool-1569 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 352daf6d53f12df4cd960c0343ef659924aa9712
Changed files:
- cwltool/jo... | diff --git a/cwltool/job.py b/cwltool/job.py
index 0000000..0000000 100644
--- a/cwltool/job.py
+++ b/cwltool/job.py
@@ -5,6 +5,7 @@ import logging
import os
import re
import shutil
+import signal
import stat
import subprocess # nosec
import sys
@@ -354,6 +355,16 @@ class JobBase(HasReqsHints, metaclass=ABCMeta)... | 27,294 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1569",
"repo": "common-workflow-language/cwltool",
"base_commit": "352daf6d53f12df4cd960c0343ef659924aa9712",
"pull_number... |
common-workflow-language__cwltool-1592 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 36432b79323929d8b70012d15feb23614c2598f1
Changed files:
- cwltool/lo... | diff --git a/cwltool/load_tool.py b/cwltool/load_tool.py
index 0000000..0000000 100644
--- a/cwltool/load_tool.py
+++ b/cwltool/load_tool.py
@@ -207,7 +207,7 @@ def _convert_stdstreams_to_files(
else:
workflowobj["stdin"] = (
"$(inputs.%s.path)"... | 13,129 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1592",
"repo": "common-workflow-language/cwltool",
"base_commit": "36432b79323929d8b70012d15feb23614c2598f1",
"pull_number... |
common-workflow-language__cwltool-1603 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 0c39dcc51ebc8e867210de2720dc4b26a7f9f84c
Changed files:
- cwltool/wo... | diff --git a/cwltool/workflow.py b/cwltool/workflow.py
index 0000000..0000000 100644
--- a/cwltool/workflow.py
+++ b/cwltool/workflow.py
@@ -207,11 +207,19 @@ class WorkflowStep(Process):
loadingContext = loadingContext.copy()
+ parent_requirements = copy.deepcopy(getdefault(loadingContext.requireme... | 11,188 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1603",
"repo": "common-workflow-language/cwltool",
"base_commit": "0c39dcc51ebc8e867210de2720dc4b26a7f9f84c",
"pull_number... |
common-workflow-language__cwltool-1608 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 528d31cbb065da69a6338e09d5b976ea9868837c
Changed files:
- cwltool/ma... | diff --git a/cwltool/main.py b/cwltool/main.py
index 0000000..0000000 100755
--- a/cwltool/main.py
+++ b/cwltool/main.py
@@ -959,7 +959,9 @@ def print_targets(
process = make_tool(cast(CommentedMap, cmap(run)), loading_context)
else:
process = run
- print_target... | 45,449 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1608",
"repo": "common-workflow-language/cwltool",
"base_commit": "528d31cbb065da69a6338e09d5b976ea9868837c",
"pull_number... |
common-workflow-language__cwltool-1623 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 16f4b115759af1f068d472dc26168ce84a6b0c24
Changed files:
- cwltool/ar... | diff --git a/cwltool/argparser.py b/cwltool/argparser.py
index 0000000..0000000 100644
--- a/cwltool/argparser.py
+++ b/cwltool/argparser.py
@@ -869,12 +869,24 @@ def add_argument(
fieldname = name + "." + shortname(field["name"])
fieldtype = field["type"]
fielddescription = field... | 58,566 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1623",
"repo": "common-workflow-language/cwltool",
"base_commit": "16f4b115759af1f068d472dc26168ce84a6b0c24",
"pull_number... |
common-workflow-language__cwltool-1675 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 202b682266b709100b376b3da25df1b4d8f76ddb
Changed files:
- cwltool/ar... | diff --git a/cwltool/argparser.py b/cwltool/argparser.py
index 0000000..0000000 100644
--- a/cwltool/argparser.py
+++ b/cwltool/argparser.py
@@ -817,6 +817,43 @@ class DirectoryAppendAction(FSAppendAction):
objclass = "Directory"
+class AppendAction(argparse.Action):
+ """An argparse action that clears the ... | 21,965 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1675",
"repo": "common-workflow-language/cwltool",
"base_commit": "202b682266b709100b376b3da25df1b4d8f76ddb",
"pull_number... |
common-workflow-language__cwltool-1690 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: b126a46b991da6689432dc2c626ede6f5ae9ac12
Changed files:
- cwltool/jo... | diff --git a/cwltool/job.py b/cwltool/job.py
index 0000000..0000000 100644
--- a/cwltool/job.py
+++ b/cwltool/job.py
@@ -79,7 +79,7 @@ def relink_initialworkdir(
container_outdir: str,
inplace_update: bool = False,
) -> None:
- for _, vol in pathmapper.items():
+ for _, vol in pathmapper.items_exclude_... | 69,503 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1690",
"repo": "common-workflow-language/cwltool",
"base_commit": "b126a46b991da6689432dc2c626ede6f5ae9ac12",
"pull_number... |
common-workflow-language__cwltool-1746 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 6f0e1d941a61063828aa074bcbaae55bedf05167
Changed files:
- cwltool/pr... | diff --git a/cwltool/process.py b/cwltool/process.py
index 0000000..0000000 100644
--- a/cwltool/process.py
+++ b/cwltool/process.py
@@ -32,6 +32,7 @@ from typing import (
)
from cwl_utils import expression
+from mypy_extensions import mypyc_attr
from pkg_resources import resource_stream
from rdflib import Graph
... | 48,268 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1746",
"repo": "common-workflow-language/cwltool",
"base_commit": "6f0e1d941a61063828aa074bcbaae55bedf05167",
"pull_number... |
common-workflow-language__cwltool-1760 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 14f402f643f86f72fa13a1d2e5fde3dcc7a90914
Changed files:
- cwltool/ma... | diff --git a/cwltool/main.py b/cwltool/main.py
index 0000000..0000000 100755
--- a/cwltool/main.py
+++ b/cwltool/main.py
@@ -195,13 +195,15 @@ def generate_example_input(
else:
comment = "optional"
else:
- example = CommentedSeq()
- for index, entry i... | 38,462 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1760",
"repo": "common-workflow-language/cwltool",
"base_commit": "14f402f643f86f72fa13a1d2e5fde3dcc7a90914",
"pull_number... |
common-workflow-language__cwltool-1818 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 5f3b605130550db10f768e1c0c464e1a0c02125a
Changed files:
- cwltool/pr... | diff --git a/cwltool/process.py b/cwltool/process.py
index 0000000..0000000 100644
--- a/cwltool/process.py
+++ b/cwltool/process.py
@@ -58,7 +58,7 @@ from .mpi import MPIRequirementName
from .pathmapper import MapperEnt, PathMapper
from .secrets import SecretStore
from .stdfsaccess import StdFsAccess
-from .update ... | 36,234 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1818",
"repo": "common-workflow-language/cwltool",
"base_commit": "5f3b605130550db10f768e1c0c464e1a0c02125a",
"pull_number... |
common-workflow-language__cwltool-1832 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: b4fd59099bc99c57384c9fdedf8724763b3f5385
Changed files:
- cwltool/bu... | diff --git a/cwltool/builder.py b/cwltool/builder.py
index 0000000..0000000 100644
--- a/cwltool/builder.py
+++ b/cwltool/builder.py
@@ -2,7 +2,8 @@
import copy
import logging
import math
-from typing import ( # pylint: disable=unused-import
+from decimal import Decimal
+from typing import (
IO,
TYPE_CHEC... | 16,917 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1832",
"repo": "common-workflow-language/cwltool",
"base_commit": "b4fd59099bc99c57384c9fdedf8724763b3f5385",
"pull_number... |
common-workflow-language__cwltool-1964 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: common-workflow-language/cwltool
Base commit: 8ff1fd05a12a124d104a67b7fd8ac3382c3e5212
Changed files:
- cwltool/ma... | diff --git a/cwltool/main.py b/cwltool/main.py
index 0000000..0000000 100755
--- a/cwltool/main.py
+++ b/cwltool/main.py
@@ -682,8 +682,8 @@ ProvOut = Union[io.TextIOWrapper, WritableBagFile]
def setup_provenance(
args: argparse.Namespace,
- argsl: List[str],
runtimeContext: RuntimeContext,
+ argsl: ... | 38,789 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "common-workflow-language__cwltool-1964",
"repo": "common-workflow-language/cwltool",
"base_commit": "8ff1fd05a12a124d104a67b7fd8ac3382c3e5212",
"pull_number... |
CiviWiki__OpenCiviWiki-28 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 549c928a43b7fe52e65eb4ae116c3d1b816cbdd0
Changed files:
- civiwiki/settings.py
... | diff --git a/civiwiki/settings.py b/civiwiki/settings.py
index 0000000..0000000 100644
--- a/civiwiki/settings.py
+++ b/civiwiki/settings.py
@@ -57,7 +57,7 @@ INSTALLED_APPS = (
MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
- # ... | 4,559 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-28",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "549c928a43b7fe52e65eb4ae116c3d1b816cbdd0",
"pull_number": 28,
"issue_numbers"... |
CiviWiki__OpenCiviWiki-71 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: da9180748acd7bc17daf8eb05992ce1fd6e4a6eb
Changed files:
- project/api/write.py
... | diff --git a/project/api/write.py b/project/api/write.py
index 0000000..0000000 100644
--- a/project/api/write.py
+++ b/project/api/write.py
@@ -1,6 +1,7 @@
import json, PIL, urllib, uuid
from notifications.signals import notify
+
# django packages
from django.contrib.auth.models import User
from django.http imp... | 15,627 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-71",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "da9180748acd7bc17daf8eb05992ce1fd6e4a6eb",
"pull_number": 71,
"issue_numbers"... |
CiviWiki__OpenCiviWiki-93 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: ee3d880d5eff6515cc355d9a1af6922f18835fa9
Changed files:
- project/api/migration... | diff --git a/project/api/migrations/0024_remove_civi_links.py b/project/api/migrations/0024_remove_civi_links.py
new file mode 100644
index 0000000..0000000
--- /dev/null
+++ b/project/api/migrations/0024_remove_civi_links.py
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from dja... | 3,019 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-93",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "ee3d880d5eff6515cc355d9a1af6922f18835fa9",
"pull_number": 93,
"issue_numbers"... |
CiviWiki__OpenCiviWiki-109 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 64f67ee846b10865e48b60e03fd596ccbb8f4f1f
Changed files:
- project/api/write.py
... | diff --git a/project/api/write.py b/project/api/write.py
index 0000000..0000000 100644
--- a/project/api/write.py
+++ b/project/api/write.py
@@ -36,6 +36,10 @@ def new_thread(request):
if state:
new_thread_data['state'] = state
+ is_draft = request.POST.get('is_draft', True)
+ if is_draft:
+ ... | 21,918 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-109",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "64f67ee846b10865e48b60e03fd596ccbb8f4f1f",
"pull_number": 109,
"issue_number... |
CiviWiki__OpenCiviWiki-516 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 3f0de8e1bf22076256e0a9f03ef5f2e905aa81f2
Changed files:
- project/api/write.py
... | diff --git a/project/api/write.py b/project/api/write.py
index 0000000..0000000 100644
--- a/project/api/write.py
+++ b/project/api/write.py
@@ -256,47 +256,50 @@ def deleteCivi(request):
@login_required
def editThread(request):
+ thread_id = request.POST.get("thread_id")
+ non_required_params = ["title", "su... | 16,339 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-516",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "3f0de8e1bf22076256e0a9f03ef5f2e905aa81f2",
"pull_number": 516,
"issue_number... |
CiviWiki__OpenCiviWiki-521 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 911a6db5b46da9878b333d4f5739da5e115978c4
Changed files:
- project/api/write.py
... | diff --git a/project/api/write.py b/project/api/write.py
index 0000000..0000000 100644
--- a/project/api/write.py
+++ b/project/api/write.py
@@ -263,7 +263,8 @@ def editThread(request):
if not thread_id:
return HttpResponseBadRequest(reason="Invalid Thread Reference")
- if not is_draft:
+ # for so... | 16,737 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-521",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "911a6db5b46da9878b333d4f5739da5e115978c4",
"pull_number": 521,
"issue_number... |
CiviWiki__OpenCiviWiki-622 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 9c2ee6df119453e3fba681895050014bfdef3e31
Changed files:
- project/api/write.py
... | diff --git a/project/api/write.py b/project/api/write.py
index 0000000..0000000 100644
--- a/project/api/write.py
+++ b/project/api/write.py
@@ -33,21 +33,25 @@ from core.constants import US_STATES
@login_required
@require_post_params(params=['title', 'summary', 'category_id'])
def new_thread(request):
- new_thre... | 15,449 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-622",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "9c2ee6df119453e3fba681895050014bfdef3e31",
"pull_number": 622,
"issue_number... |
CiviWiki__OpenCiviWiki-863 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: f152ad5986ebfd25ff60ad5ca7c34563818f1e17
Changed files:
- project/civiwiki/sett... | diff --git a/project/civiwiki/settings.py b/project/civiwiki/settings.py
index 0000000..0000000 100644
--- a/project/civiwiki/settings.py
+++ b/project/civiwiki/settings.py
@@ -5,13 +5,10 @@ Darius Calliet May 12, 2016
Production settings file to select proper environment variables.
"""
import os
-import sentry_sdk
... | 4,944 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-863",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "f152ad5986ebfd25ff60ad5ca7c34563818f1e17",
"pull_number": 863,
"issue_number... |
CiviWiki__OpenCiviWiki-873 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 283460fef79dc69dc526c7ef5c29e4ec82bb9874
Changed files:
- project/civiwiki/sett... | diff --git a/project/civiwiki/settings.py b/project/civiwiki/settings.py
index 0000000..0000000 100644
--- a/project/civiwiki/settings.py
+++ b/project/civiwiki/settings.py
@@ -5,24 +5,15 @@ Darius Calliet May 12, 2016
Production settings file to select proper environment variables.
"""
import os
-import environ
-
-... | 4,847 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-873",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "283460fef79dc69dc526c7ef5c29e4ec82bb9874",
"pull_number": 873,
"issue_number... |
CiviWiki__OpenCiviWiki-905 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: de9bd84d81a8e876155bfc2cffdec1d41869e408
Changed files:
- project/api/write.py
... | diff --git a/project/api/write.py b/project/api/write.py
index 0000000..0000000 100644
--- a/project/api/write.py
+++ b/project/api/write.py
@@ -313,12 +313,6 @@ def editUser(request):
request_data = request.POST
user = request.user
account = Account.objects.get(user=user)
- interests = request_data.g... | 25,662 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-905",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "de9bd84d81a8e876155bfc2cffdec1d41869e408",
"pull_number": 905,
"issue_number... |
CiviWiki__OpenCiviWiki-943 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 69ca57bb6a368c933c953b861589123599fc7951
Changed files:
- project/accounts/view... | diff --git a/project/accounts/views.py b/project/accounts/views.py
index 0000000..0000000 100644
--- a/project/accounts/views.py
+++ b/project/accounts/views.py
@@ -14,6 +14,7 @@ from django.utils.encoding import force_bytes
from django.utils.http import int_to_base36
from django.utils.crypto import salted_hmac
from... | 8,337 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-943",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "69ca57bb6a368c933c953b861589123599fc7951",
"pull_number": 943,
"issue_number... |
CiviWiki__OpenCiviWiki-966 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 76d49d5a01de3ae0e89c71a8b4499c7b5625e8de
Changed files:
- project/api/models/ci... | diff --git a/project/api/models/civi.py b/project/api/models/civi.py
index 0000000..0000000 100644
--- a/project/api/models/civi.py
+++ b/project/api/models/civi.py
@@ -43,7 +43,7 @@ class CiviManager(models.Manager):
"first_name": civi.author.first_name,
"last_name": civi.author.last_... | 13,190 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-966",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "76d49d5a01de3ae0e89c71a8b4499c7b5625e8de",
"pull_number": 966,
"issue_number... |
CiviWiki__OpenCiviWiki-978 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 50b7e5b492d3f5a93063f6cbfe1b1911b80d01c8
Changed files:
- project/api/read.py
-... | diff --git a/project/api/read.py b/project/api/read.py
index 0000000..0000000 100644
--- a/project/api/read.py
+++ b/project/api/read.py
@@ -34,6 +34,8 @@ def get_card(request, user):
a, Account.objects.get(user=request.user)
)
return JsonResponse(result)
+ except User.DoesNotExist:
+ ... | 18,636 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-978",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "50b7e5b492d3f5a93063f6cbfe1b1911b80d01c8",
"pull_number": 978,
"issue_number... |
CiviWiki__OpenCiviWiki-980 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: d93514ae5b48da8356ea81060fb070ba80bd9283
Changed files:
- project/core/settings... | diff --git a/project/core/settings.py b/project/core/settings.py
index 0000000..0000000 100644
--- a/project/core/settings.py
+++ b/project/core/settings.py
@@ -148,7 +148,7 @@ NOTIFICATIONS_USE_JSONFIELD = True
# Django REST API Settings
DEFAULT_RENDERER_CLASSES = ("rest_framework.renderers.JSONRenderer",)
-DEFAUL... | 6,217 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-980",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "d93514ae5b48da8356ea81060fb070ba80bd9283",
"pull_number": 980,
"issue_number... |
CiviWiki__OpenCiviWiki-1005 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 861ae050db680e60a88c90c2b90a3cc670650213
Changed files:
- project/accounts/api.... | diff --git a/project/accounts/api.py b/project/accounts/api.py
index 0000000..0000000 100644
--- a/project/accounts/api.py
+++ b/project/accounts/api.py
@@ -3,7 +3,7 @@ from rest_framework.viewsets import ModelViewSet
from rest_framework.decorators import action
from rest_framework.response import Response
from api.... | 15,385 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1005",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "861ae050db680e60a88c90c2b90a3cc670650213",
"pull_number": 1005,
"issue_numb... |
CiviWiki__OpenCiviWiki-1015 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 6c6e8a4a8374f6bdd6f6dcc97b3de55bf207fea3
Changed files:
- project/accounts/form... | diff --git a/project/accounts/forms.py b/project/accounts/forms.py
index 0000000..0000000 100644
--- a/project/accounts/forms.py
+++ b/project/accounts/forms.py
@@ -62,7 +62,7 @@ class UserRegistrationForm(ModelForm):
email = self.cleaned_data.get("email")
- if User.objects.filter(email=email).exist... | 7,357 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1015",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "6c6e8a4a8374f6bdd6f6dcc97b3de55bf207fea3",
"pull_number": 1015,
"issue_numb... |
CiviWiki__OpenCiviWiki-1019 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: da0ad36db74b992efc7acc31823eb05bffe5582f
Changed files:
- project/api/permissio... | diff --git a/project/api/permissions.py b/project/api/permissions.py
index 0000000..0000000 100644
--- a/project/api/permissions.py
+++ b/project/api/permissions.py
@@ -21,7 +21,7 @@ class IsProfileOwnerOrReadOnly(BasePermission):
class IsProfileOwnerOrDuringRegistrationOrReadOnly(IsProfileOwnerOrReadOnly):
""" "... | 6,707 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1019",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "da0ad36db74b992efc7acc31823eb05bffe5582f",
"pull_number": 1019,
"issue_numb... |
CiviWiki__OpenCiviWiki-1023 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: da0ad36db74b992efc7acc31823eb05bffe5582f
Changed files:
- project/api/migration... | diff --git a/project/api/migrations/0001_squashed_0029_civi_linked_bills.py b/project/api/migrations/0001_squashed_0029_civi_linked_bills.py
new file mode 100644
index 0000000..0000000
--- /dev/null
+++ b/project/api/migrations/0001_squashed_0029_civi_linked_bills.py
@@ -0,0 +1,416 @@
+# Generated by Django 3.2.7 on 20... | 8,411 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1023",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "da0ad36db74b992efc7acc31823eb05bffe5582f",
"pull_number": 1023,
"issue_numb... |
CiviWiki__OpenCiviWiki-1037 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: d29af4c8155e0cf8b599ffe09150d84ff5b47c65
Changed files:
- project/api/forms.py
... | diff --git a/project/api/forms.py b/project/api/forms.py
deleted file mode 100644
index 0000000..0000000
--- a/project/api/forms.py
+++ /dev/null
@@ -1,101 +0,0 @@
-from django import forms
-from django.core.files.images import get_image_dimensions
-from django.contrib.auth import get_user_model
-from accounts.models i... | 1,623 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1037",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "d29af4c8155e0cf8b599ffe09150d84ff5b47c65",
"pull_number": 1037,
"issue_numb... |
CiviWiki__OpenCiviWiki-1042 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: cbf3ee5dee481d2e9223374471351f1e43a68717
Changed files:
- project/accounts/mode... | diff --git a/project/accounts/models.py b/project/accounts/models.py
index 0000000..0000000 100644
--- a/project/accounts/models.py
+++ b/project/accounts/models.py
@@ -9,7 +9,7 @@ from django.core.files.uploadedfile import InMemoryUploadedFile
from taggit.managers import TaggableManager
-from api.models.category ... | 5,560 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1042",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "cbf3ee5dee481d2e9223374471351f1e43a68717",
"pull_number": 1042,
"issue_numb... |
CiviWiki__OpenCiviWiki-1044 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: cbf3ee5dee481d2e9223374471351f1e43a68717
Changed files:
- project/accounts/admi... | diff --git a/project/accounts/admin.py b/project/accounts/admin.py
index 0000000..0000000 100644
--- a/project/accounts/admin.py
+++ b/project/accounts/admin.py
@@ -1,3 +1,6 @@
from django.contrib import admin
+from .models import User
+
# Register your models here.
+admin.site.register(User)
diff --git a/project/a... | 5,260 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1044",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "cbf3ee5dee481d2e9223374471351f1e43a68717",
"pull_number": 1044,
"issue_numb... |
CiviWiki__OpenCiviWiki-1060 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: d38a17063c0dba58582442a8b801791df84d7f3b
Changed files:
- project/accounts/view... | diff --git a/project/accounts/views.py b/project/accounts/views.py
index 0000000..0000000 100644
--- a/project/accounts/views.py
+++ b/project/accounts/views.py
@@ -164,4 +164,4 @@ class ProfileSetupView(LoginRequiredMixin, View):
"username": request.user.username,
"email": request.use... | 4,132 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1060",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "d38a17063c0dba58582442a8b801791df84d7f3b",
"pull_number": 1060,
"issue_numb... |
CiviWiki__OpenCiviWiki-1085 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: d7f24fad7c0a2565da3bf2cd54e89a847d7479dd
Changed files:
- project/core/settings... | diff --git a/project/core/settings.py b/project/core/settings.py
index 0000000..0000000 100644
--- a/project/core/settings.py
+++ b/project/core/settings.py
@@ -107,7 +107,7 @@ else:
AWS_QUERYSTRING_AUTH = False
STATIC_URL = "/static/"
-STATICFILES_DIRS = (os.path.join(BASE_DIR, "threads/templates/static"),)
+S... | 9,297 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1085",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "d7f24fad7c0a2565da3bf2cd54e89a847d7479dd",
"pull_number": 1085,
"issue_numb... |
CiviWiki__OpenCiviWiki-1088 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: d7f24fad7c0a2565da3bf2cd54e89a847d7479dd
Changed files:
- project/threads/urls.... | diff --git a/project/threads/urls.py b/project/threads/urls.py
index 0000000..0000000 100644
--- a/project/threads/urls.py
+++ b/project/threads/urls.py
@@ -1,4 +1,5 @@
-from django.conf.urls import include, url
+from django.conf.urls import include
+from django.urls import path
from rest_framework.routers import Defa... | 2,785 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1088",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "d7f24fad7c0a2565da3bf2cd54e89a847d7479dd",
"pull_number": 1088,
"issue_numb... |
CiviWiki__OpenCiviWiki-1089 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: d7f24fad7c0a2565da3bf2cd54e89a847d7479dd
Changed files:
- project/frontend_view... | diff --git a/project/frontend_views/urls.py b/project/frontend_views/urls.py
index 0000000..0000000 100644
--- a/project/frontend_views/urls.py
+++ b/project/frontend_views/urls.py
@@ -1,14 +1,13 @@
-from django.conf.urls import url
-from . import views as v
+from django.urls import path
+from frontend_views import vie... | 770 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1089",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "d7f24fad7c0a2565da3bf2cd54e89a847d7479dd",
"pull_number": 1089,
"issue_numb... |
CiviWiki__OpenCiviWiki-1116 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 3c3282cd091246b041adc6c71099a288d4a77693
Changed files:
- project/frontend_view... | diff --git a/project/frontend_views/urls.py b/project/frontend_views/urls.py
index 0000000..0000000 100644
--- a/project/frontend_views/urls.py
+++ b/project/frontend_views/urls.py
@@ -3,10 +3,10 @@ from frontend_views import views
urlpatterns = [
path("about/", views.about_view, name="about"),
- path("suppo... | 737 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1116",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "3c3282cd091246b041adc6c71099a288d4a77693",
"pull_number": 1116,
"issue_numb... |
CiviWiki__OpenCiviWiki-1130 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 364b9b1fe85b7610b25d97454342d9c80f5bdb0f
Changed files:
- project/threads/migra... | diff --git a/project/threads/migrations/0002_auto_20211012_2014.py b/project/threads/migrations/0002_auto_20211012_2014.py
new file mode 100644
index 0000000..0000000
--- /dev/null
+++ b/project/threads/migrations/0002_auto_20211012_2014.py
@@ -0,0 +1,58 @@
+# Generated by Django 3.2.7 on 2021-10-12 14:44
+
+from djang... | 13,504 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1130",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "364b9b1fe85b7610b25d97454342d9c80f5bdb0f",
"pull_number": 1130,
"issue_numb... |
CiviWiki__OpenCiviWiki-1156 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 6880c5f4a96b61590315c53a4ccb0886708ab0c2
Changed files:
- project/accounts/view... | diff --git a/project/accounts/views.py b/project/accounts/views.py
index 0000000..0000000 100644
--- a/project/accounts/views.py
+++ b/project/accounts/views.py
@@ -82,7 +82,7 @@ class SettingsView(LoginRequiredMixin, UpdateView):
login_url = "accounts_login"
form_class = ProfileEditForm
success_url = re... | 4,572 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1156",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "6880c5f4a96b61590315c53a4ccb0886708ab0c2",
"pull_number": 1156,
"issue_numb... |
CiviWiki__OpenCiviWiki-1186 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 1e60abc8420e970be621f6e82be6cbdfbcbf8725
Changed files:
- project/accounts/view... | diff --git a/project/accounts/views.py b/project/accounts/views.py
index 0000000..0000000 100644
--- a/project/accounts/views.py
+++ b/project/accounts/views.py
@@ -177,7 +177,6 @@ def user_profile(request, username=None):
is_owner = username == request.user.username
try:
user... | 5,329 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1186",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "1e60abc8420e970be621f6e82be6cbdfbcbf8725",
"pull_number": 1186,
"issue_numb... |
CiviWiki__OpenCiviWiki-1232 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 3275f968d22888617f8451bc677a0a1d900d373c
Changed files:
- project/accounts/urls... | diff --git a/project/accounts/urls/urls.py b/project/accounts/urls/urls.py
index 0000000..0000000 100644
--- a/project/accounts/urls/urls.py
+++ b/project/accounts/urls/urls.py
@@ -9,7 +9,7 @@ from accounts.views import (
PasswordResetConfirmView,
PasswordResetCompleteView,
ProfileSetupView,
- user_pr... | 5,835 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1232",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "3275f968d22888617f8451bc677a0a1d900d373c",
"pull_number": 1232,
"issue_numb... |
CiviWiki__OpenCiviWiki-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: CiviWiki/OpenCiviWiki
Base commit: ca520212e1229437d6a389fc29eba68e70241280
Changed files:
- project/accounts/form... | diff --git a/project/accounts/forms.py b/project/accounts/forms.py
index 0000000..0000000 100644
--- a/project/accounts/forms.py
+++ b/project/accounts/forms.py
@@ -3,7 +3,7 @@ from django.core.files.images import get_image_dimensions
from django import forms
from django.forms.models import ModelForm
from django.con... | 6,601 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1250",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "ca520212e1229437d6a389fc29eba68e70241280",
"pull_number": 1250,
"issue_numb... |
CiviWiki__OpenCiviWiki-1264 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: bbe8627954cf28947cc9b0f23cd7114cb6adf23b
Changed files:
- project/accounts/api.... | diff --git a/project/accounts/api.py b/project/accounts/api.py
index 0000000..0000000 100644
--- a/project/accounts/api.py
+++ b/project/accounts/api.py
@@ -461,3 +461,41 @@ def edit_user_categories(request):
return HttpResponseBadRequest(reason=str(e))
except Exception as e:
return HttpResponseS... | 13,960 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1264",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "bbe8627954cf28947cc9b0f23cd7114cb6adf23b",
"pull_number": 1264,
"issue_numb... |
CiviWiki__OpenCiviWiki-1359 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 150e0b48d3ed800177f5d4a809b6bf6af06af8de
Changed files:
- project/core/manageme... | diff --git a/project/core/management/commands/makemigrations.py b/project/core/management/commands/makemigrations.py
new file mode 100644
index 0000000..0000000
--- /dev/null
+++ b/project/core/management/commands/makemigrations.py
@@ -0,0 +1,19 @@
+
+from django.core.management.base import CommandError
+from django.co... | 493 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1359",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "150e0b48d3ed800177f5d4a809b6bf6af06af8de",
"pull_number": 1359,
"issue_numb... |
CiviWiki__OpenCiviWiki-1375 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 29ab1252ecc6e3d341b562bb25bc612056c9a61f
Changed files:
- project/core/settings... | diff --git a/project/core/settings.py b/project/core/settings.py
index 0000000..0000000 100644
--- a/project/core/settings.py
+++ b/project/core/settings.py
@@ -107,9 +107,7 @@ STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles")
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
MEDIA_URL = "/media/"
-# TODO: re-organize... | 4,661 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1375",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "29ab1252ecc6e3d341b562bb25bc612056c9a61f",
"pull_number": 1375,
"issue_numb... |
CiviWiki__OpenCiviWiki-1380 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: b4d1e6e80b3cdb1785fbaa9fbfffeac70d9616b4
Changed files:
- project/core/settings... | diff --git a/project/core/settings.py b/project/core/settings.py
index 0000000..0000000 100644
--- a/project/core/settings.py
+++ b/project/core/settings.py
@@ -184,3 +184,20 @@ AUTH_PASSWORD_VALIDATORS = [
"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator",
},
]
+
+LOGGING = {
+ ... | 4,531 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1380",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "b4d1e6e80b3cdb1785fbaa9fbfffeac70d9616b4",
"pull_number": 1380,
"issue_numb... |
CiviWiki__OpenCiviWiki-1381 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 4a43ed9409261b187070196a2bcaeb184635154e
Changed files:
- project/core/settings... | diff --git a/project/core/settings.py b/project/core/settings.py
index 0000000..0000000 100644
--- a/project/core/settings.py
+++ b/project/core/settings.py
@@ -34,9 +34,11 @@ INSTALLED_APPS = (
"taggit",
"categories",
"notification",
+ "debug_toolbar",
)
MIDDLEWARE = [
+ "debug_toolbar.middlew... | 6,102 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1381",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "4a43ed9409261b187070196a2bcaeb184635154e",
"pull_number": 1381,
"issue_numb... |
CiviWiki__OpenCiviWiki-1390 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 29ab1252ecc6e3d341b562bb25bc612056c9a61f
Changed files:
- project/core/settings... | diff --git a/project/core/settings.py b/project/core/settings.py
index 0000000..0000000 100644
--- a/project/core/settings.py
+++ b/project/core/settings.py
@@ -24,6 +24,7 @@ INSTALLED_APPS = (
"django.contrib.messages",
"django.contrib.staticfiles",
"django_extensions",
+ "django_linear_migrations",
... | 4,938 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1390",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "29ab1252ecc6e3d341b562bb25bc612056c9a61f",
"pull_number": 1390,
"issue_numb... |
CiviWiki__OpenCiviWiki-1393 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: eda75d4598597d113619a7ac3595a5d835b1ab32
Changed files:
- project/threads/api.p... | diff --git a/project/threads/api.py b/project/threads/api.py
index 0000000..0000000 100644
--- a/project/threads/api.py
+++ b/project/threads/api.py
@@ -240,12 +240,13 @@ def create_civi(request):
if u.username != request.user.username:
notify.send(
request... | 23,739 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1393",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "eda75d4598597d113619a7ac3595a5d835b1ab32",
"pull_number": 1393,
"issue_numb... |
CiviWiki__OpenCiviWiki-1436 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 555f32ed70743a2136ec5c647cbd77c856bb0180
Changed files:
- project/threads/api.p... | diff --git a/project/threads/api.py b/project/threads/api.py
index 0000000..0000000 100644
--- a/project/threads/api.py
+++ b/project/threads/api.py
@@ -355,6 +355,11 @@ def delete_civi(request):
return JsonResponse({"error": "No Edit Rights"}, status=400)
try:
+ if c.c_type == "cause":
+ ... | 11,380 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1436",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "555f32ed70743a2136ec5c647cbd77c856bb0180",
"pull_number": 1436,
"issue_numb... |
CiviWiki__OpenCiviWiki-1463 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 220ce4087b76b309882db9e2a692bed0ac4718ae
Changed files:
- project/accounts/urls... | diff --git a/project/accounts/urls.py b/project/accounts/urls.py
index 0000000..0000000 100644
--- a/project/accounts/urls.py
+++ b/project/accounts/urls.py
@@ -8,6 +8,7 @@ from accounts.views import (
ProfileUnfollow,
RegisterView,
SettingsView,
+ ProfileFollowing,
UserProfileView,
expunge_... | 6,548 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1463",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "220ce4087b76b309882db9e2a692bed0ac4718ae",
"pull_number": 1463,
"issue_numb... |
CiviWiki__OpenCiviWiki-1468 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 220ce4087b76b309882db9e2a692bed0ac4718ae
Changed files:
- project/threads/model... | diff --git a/project/threads/models.py b/project/threads/models.py
index 0000000..0000000 100644
--- a/project/threads/models.py
+++ b/project/threads/models.py
@@ -231,7 +231,7 @@ class Civi(models.Model):
tags = TaggableManager()
- linked_civis = models.ManyToManyField("self", related_name="links", blank=... | 13,300 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1468",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "220ce4087b76b309882db9e2a692bed0ac4718ae",
"pull_number": 1468,
"issue_numb... |
CiviWiki__OpenCiviWiki-1469 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: a5326dae8296dfda37b664c00c80fca67fd7ace2
Changed files:
- project/accounts/urls... | diff --git a/project/accounts/urls.py b/project/accounts/urls.py
index 0000000..0000000 100644
--- a/project/accounts/urls.py
+++ b/project/accounts/urls.py
@@ -8,6 +8,7 @@ from accounts.views import (
ProfileUnfollow,
RegisterView,
SettingsView,
+ UserFollowers,
ProfileFollowing,
UserProfil... | 7,451 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1469",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "a5326dae8296dfda37b664c00c80fca67fd7ace2",
"pull_number": 1469,
"issue_numb... |
CiviWiki__OpenCiviWiki-1477 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 5e6bcd6eec7fc2a1002e68f76f31626c6665fdb2
Changed files:
- project/accounts/urls... | diff --git a/project/accounts/urls.py b/project/accounts/urls.py
index 0000000..0000000 100644
--- a/project/accounts/urls.py
+++ b/project/accounts/urls.py
@@ -10,6 +10,7 @@ from accounts.views import (
SettingsView,
ProfileFollowing,
UserProfileView,
+ UserCivis,
expunge_user,
)
from django.c... | 7,214 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1477",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "5e6bcd6eec7fc2a1002e68f76f31626c6665fdb2",
"pull_number": 1477,
"issue_numb... |
CiviWiki__OpenCiviWiki-1491 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: e640a907717943c6fb988bed24cae7af11bbdedd
Changed files:
- project/accounts/urls... | diff --git a/project/accounts/urls.py b/project/accounts/urls.py
index 0000000..0000000 100644
--- a/project/accounts/urls.py
+++ b/project/accounts/urls.py
@@ -5,13 +5,14 @@ from accounts.views import (
PasswordResetView,
ProfileActivationView,
ProfileFollow,
+ ProfileFollowing,
ProfileUnfollow,... | 7,930 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1491",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "e640a907717943c6fb988bed24cae7af11bbdedd",
"pull_number": 1491,
"issue_numb... |
CiviWiki__OpenCiviWiki-1493 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 3a6cb7f15109eae20e7904bb6ba40a0e9ed4b7d2
Changed files:
- project/accounts/view... | diff --git a/project/accounts/views.py b/project/accounts/views.py
index 0000000..0000000 100644
--- a/project/accounts/views.py
+++ b/project/accounts/views.py
@@ -178,7 +178,6 @@ class UserProfileView(LoginRequiredMixin, View):
def get(self, request, username=None):
profile = get_object_or_404(Profile... | 6,656 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1493",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "3a6cb7f15109eae20e7904bb6ba40a0e9ed4b7d2",
"pull_number": 1493,
"issue_numb... |
CiviWiki__OpenCiviWiki-1499 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: CiviWiki/OpenCiviWiki
Base commit: 05137fa14d26d3fd03d440f9d13d76e644724ce8
Changed files:
- project/core/settings... | diff --git a/project/core/settings.py b/project/core/settings.py
index 0000000..0000000 100644
--- a/project/core/settings.py
+++ b/project/core/settings.py
@@ -36,6 +36,7 @@ INSTALLED_APPS = (
"categories",
"notification",
"debug_toolbar",
+ "django_browser_reload",
)
MIDDLEWARE = [
@@ -50,6 +51,... | 6,571 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "CiviWiki__OpenCiviWiki-1499",
"repo": "CiviWiki/OpenCiviWiki",
"base_commit": "05137fa14d26d3fd03d440f9d13d76e644724ce8",
"pull_number": 1499,
"issue_numb... |
liqd__a4-meinberlin-68 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 02f44b6ad62fb64df803b9df78c7912915a49905
Changed files:
- meinberlin/settings/base... | diff --git a/meinberlin/settings/base.py b/meinberlin/settings/base.py
index 0000000..0000000 100644
--- a/meinberlin/settings/base.py
+++ b/meinberlin/settings/base.py
@@ -146,6 +146,9 @@ STATICFILES_DIRS = [
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_URL = '/static/'
+MEDIA_ROOT = os.path.join(BASE_DIR... | 7,344 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-68",
"repo": "liqd/a4-meinberlin",
"base_commit": "02f44b6ad62fb64df803b9df78c7912915a49905",
"pull_number": 68,
"issue_numbers": [
... |
liqd__a4-meinberlin-236 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 7ba69472199713f29a82019c7cb35e218461d81d
Changed files:
- apps/dashboard/forms.py
... | diff --git a/apps/dashboard/forms.py b/apps/dashboard/forms.py
index 0000000..0000000 100644
--- a/apps/dashboard/forms.py
+++ b/apps/dashboard/forms.py
@@ -1,6 +1,7 @@
from django import forms
from django.contrib import messages
from django.core.exceptions import ObjectDoesNotExist
+from django.core.exceptions impo... | 10,430 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-236",
"repo": "liqd/a4-meinberlin",
"base_commit": "7ba69472199713f29a82019c7cb35e218461d81d",
"pull_number": 236,
"issue_numbers": [
... |
liqd__a4-meinberlin-350 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: e3eb4ebc7187cbfa0f03b746226c9331f89d7fa3
Changed files:
- apps/bplan/serializers.p... | diff --git a/apps/bplan/serializers.py b/apps/bplan/serializers.py
index 0000000..0000000 100644
--- a/apps/bplan/serializers.py
+++ b/apps/bplan/serializers.py
@@ -1,18 +1,22 @@
-import os
-
+import datetime
+import posixpath
from urllib import request
from urllib.parse import urlparse
from django.apps import app... | 3,527 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-350",
"repo": "liqd/a4-meinberlin",
"base_commit": "e3eb4ebc7187cbfa0f03b746226c9331f89d7fa3",
"pull_number": 350,
"issue_numbers": [
... |
liqd__a4-meinberlin-382 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 1fef01fe8b7ec089967c626145e93769d45f2d3a
Changed files:
- apps/polls/models.py
##... | diff --git a/apps/polls/models.py b/apps/polls/models.py
index 0000000..0000000 100644
--- a/apps/polls/models.py
+++ b/apps/polls/models.py
@@ -60,6 +60,9 @@ class Choice(models.Model):
objects = ChoiceQuerySet.as_manager()
+ class Meta:
+ ordering = ['id']
+
def __str__(self):
return ... | 1,770 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-382",
"repo": "liqd/a4-meinberlin",
"base_commit": "1fef01fe8b7ec089967c626145e93769d45f2d3a",
"pull_number": 382,
"issue_numbers": [
... |
liqd__a4-meinberlin-447 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 4f8b9850970930069488dbffc32d8d2f9f825745
Changed files:
- apps/notifications/signa... | diff --git a/apps/notifications/signals.py b/apps/notifications/signals.py
index 0000000..0000000 100644
--- a/apps/notifications/signals.py
+++ b/apps/notifications/signals.py
@@ -6,7 +6,6 @@ from adhocracy4.actions.verbs import Verbs
from adhocracy4.follows.models import Follow
from adhocracy4.phases.models import ... | 1,986 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-447",
"repo": "liqd/a4-meinberlin",
"base_commit": "4f8b9850970930069488dbffc32d8d2f9f825745",
"pull_number": 447,
"issue_numbers": [
... |
liqd__a4-meinberlin-456 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 00f60efeecec765765a864ced1861ecb91fece18
Changed files:
- apps/cms/models.py
## P... | diff --git a/apps/cms/models.py b/apps/cms/models.py
index 0000000..0000000 100644
--- a/apps/cms/models.py
+++ b/apps/cms/models.py
@@ -1,5 +1,6 @@
+from django import forms
from django.db import models
-from django.forms import widgets
+from django.utils.functional import cached_property
from modelcluster.fields im... | 4,278 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-456",
"repo": "liqd/a4-meinberlin",
"base_commit": "00f60efeecec765765a864ced1861ecb91fece18",
"pull_number": 456,
"issue_numbers": [
... |
liqd__a4-meinberlin-471 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 448f34235f74a0ef452094a160a85c2d088d8c19
Changed files:
- apps/embed/middleware.py... | diff --git a/apps/embed/middleware.py b/apps/embed/middleware.py
index 0000000..0000000 100644
--- a/apps/embed/middleware.py
+++ b/apps/embed/middleware.py
@@ -1,3 +1,6 @@
+from django.utils.http import urlquote
+
+
class AjaxPathMiddleware(object):
"""Append request path as a header.
@@ -7,5 +10,5 @@ class Aj... | 508 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-471",
"repo": "liqd/a4-meinberlin",
"base_commit": "448f34235f74a0ef452094a160a85c2d088d8c19",
"pull_number": 471,
"issue_numbers": [
... |
liqd__a4-meinberlin-481 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 77c8e933ad134ec749345219da2597537e155b85
Changed files:
- apps/contrib/templatetag... | diff --git a/apps/contrib/templatetags/contrib_tags.py b/apps/contrib/templatetags/contrib_tags.py
index 0000000..0000000 100644
--- a/apps/contrib/templatetags/contrib_tags.py
+++ b/apps/contrib/templatetags/contrib_tags.py
@@ -17,3 +17,14 @@ def combined_url_parameter(request_query_dict, **kwargs):
combined_... | 706 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-481",
"repo": "liqd/a4-meinberlin",
"base_commit": "77c8e933ad134ec749345219da2597537e155b85",
"pull_number": 481,
"issue_numbers": [
... |
liqd__a4-meinberlin-488 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 90b12801e69d847e2877bbbafcb3802ee5b72503
Changed files:
- meinberlin/settings/base... | diff --git a/meinberlin/settings/base.py b/meinberlin/settings/base.py
index 0000000..0000000 100644
--- a/meinberlin/settings/base.py
+++ b/meinberlin/settings/base.py
@@ -218,7 +218,7 @@ AUTHENTICATION_BACKENDS = (
)
ACCOUNT_ADAPTER = 'apps.users.adapters.AccountAdapter'
-ACCOUNT_AUTHENTICATION_METHOD = 'email'
+... | 8,514 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-488",
"repo": "liqd/a4-meinberlin",
"base_commit": "90b12801e69d847e2877bbbafcb3802ee5b72503",
"pull_number": 488,
"issue_numbers": [
... |
liqd__a4-meinberlin-506 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 81469dc9014d9266cc7937ee00c0a77b6304541a
Changed files:
- apps/projects/views.py
... | diff --git a/apps/projects/views.py b/apps/projects/views.py
index 0000000..0000000 100644
--- a/apps/projects/views.py
+++ b/apps/projects/views.py
@@ -54,7 +54,8 @@ class TypeWidget(DropdownLinkWidget):
def __init__(self, attrs=None):
choices = (('', _('Any')),)
- for blueprint_key, blueprint i... | 2,315 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-506",
"repo": "liqd/a4-meinberlin",
"base_commit": "81469dc9014d9266cc7937ee00c0a77b6304541a",
"pull_number": 506,
"issue_numbers": [
... |
liqd__a4-meinberlin-532 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: eaa429d1199bb51a1663c983956d65c1850fddbc
Changed files:
- apps/users/views.py
## ... | diff --git a/apps/users/views.py b/apps/users/views.py
index 0000000..0000000 100644
--- a/apps/users/views.py
+++ b/apps/users/views.py
@@ -1,20 +1,8 @@
from django.views.generic.detail import DetailView
-from adhocracy4.projects.models import Project
-
from . import models
class ProfileView(DetailView):
... | 409 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-532",
"repo": "liqd/a4-meinberlin",
"base_commit": "eaa429d1199bb51a1663c983956d65c1850fddbc",
"pull_number": 532,
"issue_numbers": [
... |
liqd__a4-meinberlin-539 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: a47bccdcb0c9575abf05367293c4bb46d4c4bbf4
Changed files:
- apps/contrib/templatetag... | diff --git a/apps/contrib/templatetags/contrib_tags.py b/apps/contrib/templatetags/contrib_tags.py
index 0000000..0000000 100644
--- a/apps/contrib/templatetags/contrib_tags.py
+++ b/apps/contrib/templatetags/contrib_tags.py
@@ -27,4 +27,4 @@ def filter_has_perm(perm, user, objects):
# will be returned. This i... | 857 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-539",
"repo": "liqd/a4-meinberlin",
"base_commit": "a47bccdcb0c9575abf05367293c4bb46d4c4bbf4",
"pull_number": 539,
"issue_numbers": [
... |
liqd__a4-meinberlin-551 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: d77d0e679d4cee194270b43b8f2b389f20c808ef
Changed files:
- apps/polls/rules.py
- ap... | diff --git a/apps/polls/rules.py b/apps/polls/rules.py
index 0000000..0000000 100644
--- a/apps/polls/rules.py
+++ b/apps/polls/rules.py
@@ -2,6 +2,7 @@ import rules
from rules.predicates import is_superuser
from adhocracy4.modules import predicates as module_predicates
+from apps.contrib import predicates as contr... | 1,385 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-551",
"repo": "liqd/a4-meinberlin",
"base_commit": "d77d0e679d4cee194270b43b8f2b389f20c808ef",
"pull_number": 551,
"issue_numbers": [
... |
liqd__a4-meinberlin-563 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 527d2b4c0b3c5d85acba28ec782e635f7eca581c
Changed files:
- apps/contrib/management/... | diff --git a/apps/contrib/management/commands/makemessages.py b/apps/contrib/management/commands/makemessages.py
index 0000000..0000000 100644
--- a/apps/contrib/management/commands/makemessages.py
+++ b/apps/contrib/management/commands/makemessages.py
@@ -21,9 +21,9 @@ class Command(makemessages.Command):
ret... | 964 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-563",
"repo": "liqd/a4-meinberlin",
"base_commit": "527d2b4c0b3c5d85acba28ec782e635f7eca581c",
"pull_number": 563,
"issue_numbers": [
... |
liqd__a4-meinberlin-593 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 0cb717548ee0f9086226c842dc4a5f16862f3f8e
Changed files:
- apps/documents/admin.py
... | diff --git a/apps/documents/admin.py b/apps/documents/admin.py
index 0000000..0000000 100644
--- a/apps/documents/admin.py
+++ b/apps/documents/admin.py
@@ -3,9 +3,12 @@ from django.contrib import admin
from . import models
+@admin.register(models.Paragraph)
class ParagraphAdmin(admin.ModelAdmin):
list_filte... | 881 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-593",
"repo": "liqd/a4-meinberlin",
"base_commit": "0cb717548ee0f9086226c842dc4a5f16862f3f8e",
"pull_number": 593,
"issue_numbers": [
... |
liqd__a4-meinberlin-605 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: da912b93499704ca8946cd651313ad947ad4fda5
Changed files:
- apps/dashboard/blueprint... | diff --git a/apps/dashboard/blueprints.py b/apps/dashboard/blueprints.py
index 0000000..0000000 100644
--- a/apps/dashboard/blueprints.py
+++ b/apps/dashboard/blueprints.py
@@ -28,7 +28,7 @@ blueprints = [
content=[
ideas_phases.CollectPhase(),
],
- image='images/blueprints/bra... | 3,949 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-605",
"repo": "liqd/a4-meinberlin",
"base_commit": "da912b93499704ca8946cd651313ad947ad4fda5",
"pull_number": 605,
"issue_numbers": [
... |
liqd__a4-meinberlin-613 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: dbe053c601b859abbe8df5aaca3462a758270a8e
Changed files:
- apps/contrib/widgets.py
... | diff --git a/apps/contrib/widgets.py b/apps/contrib/widgets.py
index 0000000..0000000 100644
--- a/apps/contrib/widgets.py
+++ b/apps/contrib/widgets.py
@@ -71,12 +71,14 @@ class DateTimeInput(form_widgets.SplitDateTimeWidget):
date_attrs = self.build_attrs(attrs)
date_attrs.update({
'cla... | 2,416 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-613",
"repo": "liqd/a4-meinberlin",
"base_commit": "dbe053c601b859abbe8df5aaca3462a758270a8e",
"pull_number": 613,
"issue_numbers": [
... |
liqd__a4-meinberlin-675 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 2dc23cb9bc68905c60eaf4c27717868105ff7dc5
Changed files:
- meinberlin/apps/cms/emai... | diff --git a/meinberlin/apps/cms/emails.py b/meinberlin/apps/cms/emails.py
index 0000000..0000000 100644
--- a/meinberlin/apps/cms/emails.py
+++ b/meinberlin/apps/cms/emails.py
@@ -6,15 +6,14 @@ import xlsxwriter
from django.utils import timezone
from django.utils.translation import ugettext as _
-from adhocracy4.e... | 4,856 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-675",
"repo": "liqd/a4-meinberlin",
"base_commit": "2dc23cb9bc68905c60eaf4c27717868105ff7dc5",
"pull_number": 675,
"issue_numbers": [
... |
liqd__a4-meinberlin-755 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 268de6d1058523ef479bdd247df2cc1be819f70f
Changed files:
- meinberlin/apps/dashboar... | diff --git a/meinberlin/apps/dashboard2/mixins.py b/meinberlin/apps/dashboard2/mixins.py
index 0000000..0000000 100644
--- a/meinberlin/apps/dashboard2/mixins.py
+++ b/meinberlin/apps/dashboard2/mixins.py
@@ -1,7 +1,12 @@
from copy import deepcopy
+from datetime import datetime
+from django.contrib import messages
... | 10,170 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-755",
"repo": "liqd/a4-meinberlin",
"base_commit": "268de6d1058523ef479bdd247df2cc1be819f70f",
"pull_number": 755,
"issue_numbers": [
... |
liqd__a4-meinberlin-811 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: d338e50cd3234fa26a6c8ff25b2828a58a3308be
Changed files:
- meinberlin/apps/contrib/... | diff --git a/meinberlin/apps/contrib/templatetags/contrib_tags.py b/meinberlin/apps/contrib/templatetags/contrib_tags.py
index 0000000..0000000 100644
--- a/meinberlin/apps/contrib/templatetags/contrib_tags.py
+++ b/meinberlin/apps/contrib/templatetags/contrib_tags.py
@@ -1,5 +1,8 @@
from django import template
+from ... | 1,339 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-811",
"repo": "liqd/a4-meinberlin",
"base_commit": "d338e50cd3234fa26a6c8ff25b2828a58a3308be",
"pull_number": 811,
"issue_numbers": [
... |
liqd__a4-meinberlin-845 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: liqd/a4-meinberlin
Base commit: 9f65f8c28f38aac6a6163d26dd5d893b25a5d9bf
Changed files:
- meinberlin/config/settin... | diff --git a/meinberlin/config/settings/base.py b/meinberlin/config/settings/base.py
index 0000000..0000000 100644
--- a/meinberlin/config/settings/base.py
+++ b/meinberlin/config/settings/base.py
@@ -13,6 +13,8 @@ https://docs.djangoproject.com/en/1.8/ref/settings/
# Build paths inside the project like this: os.path.... | 9,705 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "liqd__a4-meinberlin-845",
"repo": "liqd/a4-meinberlin",
"base_commit": "9f65f8c28f38aac6a6163d26dd5d893b25a5d9bf",
"pull_number": 845,
"issue_numbers": [
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.