id stringlengths 13 54 | prompt stringlengths 708 2.91M | answer stringlengths 110 352k | prompt_input_token_count int64 206 1.14M | metadata dict |
|---|---|---|---|---|
aio-libs__aiohttp-8297 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: aio-libs/aiohttp
Base commit: 38dd9b8557f35bdfc1376e5833fb8e235c9d49ba
Changed files:
- aiohttp/http_parser.py
##... | diff --git a/aiohttp/http_parser.py b/aiohttp/http_parser.py
index 0000000..0000000 100644
--- a/aiohttp/http_parser.py
+++ b/aiohttp/http_parser.py
@@ -128,10 +128,12 @@ class HeadersParser:
max_line_size: int = 8190,
max_headers: int = 32768,
max_field_size: int = 8190,
+ lax: bool =... | 54,093 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "aio-libs__aiohttp-8297",
"repo": "aio-libs/aiohttp",
"base_commit": "38dd9b8557f35bdfc1376e5833fb8e235c9d49ba",
"pull_number": 8297,
"issue_numbers": [
... |
aio-libs__aiohttp-8298 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: aio-libs/aiohttp
Base commit: bb231059b14277c34a8a0331e51406d5abe4f424
Changed files:
- aiohttp/http_parser.py
##... | diff --git a/aiohttp/http_parser.py b/aiohttp/http_parser.py
index 0000000..0000000 100644
--- a/aiohttp/http_parser.py
+++ b/aiohttp/http_parser.py
@@ -128,10 +128,12 @@ class HeadersParser:
max_line_size: int = 8190,
max_headers: int = 32768,
max_field_size: int = 8190,
+ lax: bool =... | 54,093 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "aio-libs__aiohttp-8298",
"repo": "aio-libs/aiohttp",
"base_commit": "bb231059b14277c34a8a0331e51406d5abe4f424",
"pull_number": 8298,
"issue_numbers": [
... |
aio-libs__aiohttp-8323 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: aio-libs/aiohttp
Base commit: 9ba9a4e531599b9cb2f8cc80effbde40c7eab0bd
Changed files:
- aiohttp/multipart.py
- exa... | diff --git a/aiohttp/multipart.py b/aiohttp/multipart.py
index 0000000..0000000 100644
--- a/aiohttp/multipart.py
+++ b/aiohttp/multipart.py
@@ -574,11 +574,7 @@ class MultipartReader:
#: Body part reader class for non multipart/* content types.
part_reader_cls = BodyPartReader
- def __init__(
- s... | 57,949 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "aio-libs__aiohttp-8323",
"repo": "aio-libs/aiohttp",
"base_commit": "9ba9a4e531599b9cb2f8cc80effbde40c7eab0bd",
"pull_number": 8323,
"issue_numbers": [
... |
aio-libs__aiohttp-8335 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: aio-libs/aiohttp
Base commit: 482e6cdf6516607360666a48c5828d3dbe959fbd
Changed files:
- aiohttp/multipart.py
## P... | diff --git a/aiohttp/multipart.py b/aiohttp/multipart.py
index 0000000..0000000 100644
--- a/aiohttp/multipart.py
+++ b/aiohttp/multipart.py
@@ -879,6 +879,10 @@ class MultipartWriter(Payload):
not {CONTENT_ENCODING, CONTENT_LENGTH, CONTENT_TRANSFER_ENCODING}
& payload.headers.keys()
... | 28,107 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "aio-libs__aiohttp-8335",
"repo": "aio-libs/aiohttp",
"base_commit": "482e6cdf6516607360666a48c5828d3dbe959fbd",
"pull_number": 8335,
"issue_numbers": [
... |
aio-libs__aiohttp-8336 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: aio-libs/aiohttp
Base commit: 7eecdff163ccf029fbb1ddc9de4169d4aaeb6597
Changed files:
- aiohttp/multipart.py
## P... | diff --git a/aiohttp/multipart.py b/aiohttp/multipart.py
index 0000000..0000000 100644
--- a/aiohttp/multipart.py
+++ b/aiohttp/multipart.py
@@ -852,6 +852,10 @@ class MultipartWriter(Payload):
not {CONTENT_ENCODING, CONTENT_LENGTH, CONTENT_TRANSFER_ENCODING}
& payload.headers.keys()
... | 27,313 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "aio-libs__aiohttp-8336",
"repo": "aio-libs/aiohttp",
"base_commit": "7eecdff163ccf029fbb1ddc9de4169d4aaeb6597",
"pull_number": 8336,
"issue_numbers": [
... |
aio-libs__aiohttp-8337 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: aio-libs/aiohttp
Base commit: 4c65ee880c46388484979ece26be95a76ce84329
Changed files:
- aiohttp/multipart.py
## P... | diff --git a/aiohttp/multipart.py b/aiohttp/multipart.py
index 0000000..0000000 100644
--- a/aiohttp/multipart.py
+++ b/aiohttp/multipart.py
@@ -852,6 +852,10 @@ class MultipartWriter(Payload):
not {CONTENT_ENCODING, CONTENT_LENGTH, CONTENT_TRANSFER_ENCODING}
& payload.headers.keys()
... | 27,317 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "aio-libs__aiohttp-8337",
"repo": "aio-libs/aiohttp",
"base_commit": "4c65ee880c46388484979ece26be95a76ce84329",
"pull_number": 8337,
"issue_numbers": [
... |
nf-core__tools-104 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: d536ca125feb7566e5d8bde7cad0ccdc9219c9b8
Changed files:
- nf_core/lint.py
## Problem s... | diff --git a/nf_core/lint.py b/nf_core/lint.py
old mode 100644
new mode 100755
index 0000000..0000000
--- a/nf_core/lint.py
+++ b/nf_core/lint.py
@@ -309,6 +309,11 @@ class PipelineLint(object):
self.passed.append((4, "Config variable found: {}".format(cf)))
else:
self.war... | 17,403 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-104",
"repo": "nf-core/tools",
"base_commit": "d536ca125feb7566e5d8bde7cad0ccdc9219c9b8",
"pull_number": 104,
"issue_numbers": [
"78"
... |
nf-core__tools-234 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: f00f5990f3632ac65b7b4685c196ad70ba074525
Changed files:
- nf_core/lint.py
## Problem s... | diff --git a/nf_core/lint.py b/nf_core/lint.py
index 0000000..0000000 100755
--- a/nf_core/lint.py
+++ b/nf_core/lint.py
@@ -581,6 +581,17 @@ class PipelineLint(object):
# Check if each dependency is the latest available version
depname, depver = dep.split('=', 1)
dep_channels = self.conda_co... | 21,149 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-234",
"repo": "nf-core/tools",
"base_commit": "f00f5990f3632ac65b7b4685c196ad70ba074525",
"pull_number": 234,
"issue_numbers": [
"231"
... |
nf-core__tools-381 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: f71f037708eb4ca573abf3ecad37dab7d37aeea6
Changed files:
- nf_core/utils.py
## Problem ... | diff --git a/nf_core/utils.py b/nf_core/utils.py
index 0000000..0000000 100644
--- a/nf_core/utils.py
+++ b/nf_core/utils.py
@@ -8,7 +8,6 @@ import json
import logging
import os
import subprocess
-import tempfile
def fetch_wf_config(wf_path, wf=None):
"""Uses Nextflow to retrieve the the configuration variab... | 2,276 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-381",
"repo": "nf-core/tools",
"base_commit": "f71f037708eb4ca573abf3ecad37dab7d37aeea6",
"pull_number": 381,
"issue_numbers": [
"379"
... |
nf-core__tools-398 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 7c5b6aa1acb500275ecec7cc762ea4cd9cddfb7b
Changed files:
- nf_core/download.py
## Probl... | diff --git a/nf_core/download.py b/nf_core/download.py
index 0000000..0000000 100644
--- a/nf_core/download.py
+++ b/nf_core/download.py
@@ -64,6 +64,11 @@ class DownloadWorkflow(object):
logging.info("Downloading workflow files from GitHub")
self.download_wf_files()
+ # Download the centrali... | 7,114 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-398",
"repo": "nf-core/tools",
"base_commit": "7c5b6aa1acb500275ecec7cc762ea4cd9cddfb7b",
"pull_number": 398,
"issue_numbers": [
"240"
... |
nf-core__tools-400 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 4934313c4e1585c0c8f6bf6d55a0fe20bf84a165
Changed files:
- nf_core/create.py
## Problem... | diff --git a/nf_core/create.py b/nf_core/create.py
index 0000000..0000000 100644
--- a/nf_core/create.py
+++ b/nf_core/create.py
@@ -6,6 +6,7 @@ import cookiecutter.main, cookiecutter.exceptions
import git
import logging
import os
+import requests
import shutil
import sys
import tempfile
@@ -27,9 +28,8 @@ class P... | 3,474 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-400",
"repo": "nf-core/tools",
"base_commit": "4934313c4e1585c0c8f6bf6d55a0fe20bf84a165",
"pull_number": 400,
"issue_numbers": [
"316"
... |
nf-core__tools-475 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 4ab06c5b0304828fbc11cec8cf5bf6801fd54515
Changed files:
- nf_core/lint.py
## Problem s... | diff --git a/nf_core/lint.py b/nf_core/lint.py
index 0000000..0000000 100755
--- a/nf_core/lint.py
+++ b/nf_core/lint.py
@@ -172,7 +172,8 @@ class PipelineLint(object):
'check_readme',
'check_conda_env_yaml',
'check_conda_dockerfile',
- 'check_pipeline_todos'
+ ... | 23,725 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-475",
"repo": "nf-core/tools",
"base_commit": "4ab06c5b0304828fbc11cec8cf5bf6801fd54515",
"pull_number": 475,
"issue_numbers": [
"85"
... |
nf-core__tools-716 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 16f92ef030e3f7d4605784cf4ce5f38ee7af9b54
Changed files:
- nf_core/__main__.py
- nf_core... | diff --git a/nf_core/__main__.py b/nf_core/__main__.py
index 0000000..0000000 100755
--- a/nf_core/__main__.py
+++ b/nf_core/__main__.py
@@ -550,14 +550,12 @@ def bump_version(pipeline_dir, new_version, nextflow):
@nf_core_cli.command("sync", help_priority=10)
-@click.argument("pipeline_dir", type=click.Path(exist... | 25,551 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-716",
"repo": "nf-core/tools",
"base_commit": "16f92ef030e3f7d4605784cf4ce5f38ee7af9b54",
"pull_number": 716,
"issue_numbers": [
"710"
... |
nf-core__tools-799 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 298376d3cbd38a23221cb5fa70f0573362aa3fe3
Changed files:
- nf_core/launch.py
- setup.py
... | diff --git a/nf_core/launch.py b/nf_core/launch.py
index 0000000..0000000 100644
--- a/nf_core/launch.py
+++ b/nf_core/launch.py
@@ -10,7 +10,8 @@ import copy
import json
import logging
import os
-import PyInquirer
+import prompt_toolkit
+import questionary
import re
import subprocess
import textwrap
@@ -20,15 +2... | 20,963 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-799",
"repo": "nf-core/tools",
"base_commit": "298376d3cbd38a23221cb5fa70f0573362aa3fe3",
"pull_number": 799,
"issue_numbers": [
"726"
... |
nf-core__tools-801 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: ae2d7e71b2191f50f30fe422fc2de8cd0ad18814
Changed files:
- nf_core/launch.py
- nf_core/s... | diff --git a/nf_core/launch.py b/nf_core/launch.py
index 0000000..0000000 100644
--- a/nf_core/launch.py
+++ b/nf_core/launch.py
@@ -531,7 +531,11 @@ class Launch(object):
try:
if val.strip() == "":
return True
- float(val)
+ ... | 31,326 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-801",
"repo": "nf-core/tools",
"base_commit": "ae2d7e71b2191f50f30fe422fc2de8cd0ad18814",
"pull_number": 801,
"issue_numbers": [
"738"
... |
nf-core__tools-832 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: d1f4449f4d0a8501488c75172e097be7bf8bf702
Changed files:
- nf_core/__main__.py
- nf_core... | diff --git a/nf_core/__main__.py b/nf_core/__main__.py
index 0000000..0000000 100755
--- a/nf_core/__main__.py
+++ b/nf_core/__main__.py
@@ -202,23 +202,34 @@ def launch(pipeline, id, revision, command_only, params_in, params_out, save_all
@nf_core_cli.command(help_priority=3)
@click.argument("pipeline", required=Tru... | 37,145 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-832",
"repo": "nf-core/tools",
"base_commit": "d1f4449f4d0a8501488c75172e097be7bf8bf702",
"pull_number": 832,
"issue_numbers": [
"513"
... |
nf-core__tools-930 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 9439b3cc6b269deb952591003d2ca28aefa8a5fb
Changed files:
- nf_core/modules/lint.py
## P... | diff --git a/nf_core/modules/lint.py b/nf_core/modules/lint.py
index 0000000..0000000 100644
--- a/nf_core/modules/lint.py
+++ b/nf_core/modules/lint.py
@@ -375,7 +375,6 @@ class ModuleLint(object):
Downloads the 'main.nf', 'functions.nf' and 'meta.yml' files for every module
and compare them to the l... | 21,736 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-930",
"repo": "nf-core/tools",
"base_commit": "9439b3cc6b269deb952591003d2ca28aefa8a5fb",
"pull_number": 930,
"issue_numbers": [
"928"
... |
nf-core__tools-961 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 8e7874db902612d2ae5b6d078084cf696f051502
Changed files:
- nf_core/modules/create.py
##... | diff --git a/nf_core/modules/create.py b/nf_core/modules/create.py
index 0000000..0000000 100644
--- a/nf_core/modules/create.py
+++ b/nf_core/modules/create.py
@@ -32,6 +32,7 @@ class ModuleCreate(object):
self.has_meta = has_meta
self.force_overwrite = force
+ self.tool_conda_name = None
... | 9,874 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-961",
"repo": "nf-core/tools",
"base_commit": "8e7874db902612d2ae5b6d078084cf696f051502",
"pull_number": 961,
"issue_numbers": [
"956"
... |
nf-core__tools-1000 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 8b943c9a7151948247b45f96ccc17f7b2336f13f
Changed files:
- nf_core/lint/nextflow_config.... | diff --git a/nf_core/lint/nextflow_config.py b/nf_core/lint/nextflow_config.py
index 0000000..0000000 100644
--- a/nf_core/lint/nextflow_config.py
+++ b/nf_core/lint/nextflow_config.py
@@ -1,6 +1,10 @@
#!/usr/bin/env python
import re
+import os
+import logging
+
+log = logging.getLogger(__name__)
def nextflow_... | 9,082 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1000",
"repo": "nf-core/tools",
"base_commit": "8b943c9a7151948247b45f96ccc17f7b2336f13f",
"pull_number": 1000,
"issue_numbers": [
"397... |
nf-core__tools-1028 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: bdd32f9c263b9a1e601a9d0ff0c578a2836aae5c
Changed files:
- nf_core/modules/create.py
##... | diff --git a/nf_core/modules/create.py b/nf_core/modules/create.py
index 0000000..0000000 100644
--- a/nf_core/modules/create.py
+++ b/nf_core/modules/create.py
@@ -33,9 +33,8 @@ class ModuleCreate(object):
self.process_label = process_label
self.has_meta = has_meta
self.force_overwrite = for... | 10,192 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1028",
"repo": "nf-core/tools",
"base_commit": "bdd32f9c263b9a1e601a9d0ff0c578a2836aae5c",
"pull_number": 1028,
"issue_numbers": [
"101... |
nf-core__tools-1039 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 15888246739e7764aeb3e06b1b179ca588fd478b
Changed files:
- nf_core/lint/__init__.py
- nf... | diff --git a/nf_core/lint/__init__.py b/nf_core/lint/__init__.py
index 0000000..0000000 100644
--- a/nf_core/lint/__init__.py
+++ b/nf_core/lint/__init__.py
@@ -97,23 +97,24 @@ class PipelineLint(nf_core.utils.Pipeline):
warned (list): A list of tuples of the form: ``(<warned no>, <reason>)``
"""
+ f... | 15,803 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1039",
"repo": "nf-core/tools",
"base_commit": "15888246739e7764aeb3e06b1b179ca588fd478b",
"pull_number": 1039,
"issue_numbers": [
"103... |
nf-core__tools-1152 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 30efedc53ea23eb9349586b1c58c3f68c8a50fd2
Changed files:
- nf_core/__main__.py
- nf_core... | diff --git a/nf_core/__main__.py b/nf_core/__main__.py
index 0000000..0000000 100755
--- a/nf_core/__main__.py
+++ b/nf_core/__main__.py
@@ -371,9 +371,10 @@ def modules(ctx, repository, branch):
@modules.command(help_priority=1)
@click.pass_context
+@click.argument("keywords", required=False, nargs=-1, metavar="<f... | 22,031 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1152",
"repo": "nf-core/tools",
"base_commit": "30efedc53ea23eb9349586b1c58c3f68c8a50fd2",
"pull_number": 1152,
"issue_numbers": [
"113... |
nf-core__tools-1209 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: d2b7bf5881634824c78f0c512ad7105f826baf72
Changed files:
- nf_core/lint/__init__.py
- nf... | diff --git a/nf_core/lint/__init__.py b/nf_core/lint/__init__.py
index 0000000..0000000 100644
--- a/nf_core/lint/__init__.py
+++ b/nf_core/lint/__init__.py
@@ -42,8 +42,23 @@ def run_linting(
An object of type :class:`PipelineLint` that contains all the linting results.
"""
+ # Verify that the reque... | 25,854 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1209",
"repo": "nf-core/tools",
"base_commit": "d2b7bf5881634824c78f0c512ad7105f826baf72",
"pull_number": 1209,
"issue_numbers": [
"120... |
nf-core__tools-1244 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: dc10cc451c55725aeeeed20bb313b4d5b17058fd
Changed files:
- nf_core/modules/bump_versions... | diff --git a/nf_core/modules/bump_versions.py b/nf_core/modules/bump_versions.py
index 0000000..0000000 100644
--- a/nf_core/modules/bump_versions.py
+++ b/nf_core/modules/bump_versions.py
@@ -50,6 +50,7 @@ class ModuleVersionBumper(ModuleCommand):
self.up_to_date = []
self.updated = []
self.... | 8,518 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1244",
"repo": "nf-core/tools",
"base_commit": "dc10cc451c55725aeeeed20bb313b4d5b17058fd",
"pull_number": 1244,
"issue_numbers": [
"123... |
nf-core__tools-1261 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 4c8886e428709509c666122732bf7a8c44b94688
Changed files:
- nf_core/lint/readme.py
## Pr... | diff --git a/nf_core/lint/readme.py b/nf_core/lint/readme.py
index 0000000..0000000 100644
--- a/nf_core/lint/readme.py
+++ b/nf_core/lint/readme.py
@@ -62,8 +62,8 @@ def readme(self):
warned.append("README did not have a Nextflow minimum version badge.")
# Check that the minimum version mentioned in th... | 2,726 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1261",
"repo": "nf-core/tools",
"base_commit": "4c8886e428709509c666122732bf7a8c44b94688",
"pull_number": 1261,
"issue_numbers": [
"126... |
nf-core__tools-1263 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 01291016652284bfba23a900399fa0155906a7c5
Changed files:
- nf_core/lint_utils.py
## Pro... | diff --git a/nf_core/lint_utils.py b/nf_core/lint_utils.py
index 0000000..0000000 100644
--- a/nf_core/lint_utils.py
+++ b/nf_core/lint_utils.py
@@ -38,7 +38,9 @@ def print_fixes(lint_obj, module_lint_obj):
"""Prints available and applied fixes"""
if len(lint_obj.could_fix):
- fix_cmd = "nf-core lint... | 1,738 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1263",
"repo": "nf-core/tools",
"base_commit": "01291016652284bfba23a900399fa0155906a7c5",
"pull_number": 1263,
"issue_numbers": [
"125... |
nf-core__tools-1278 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 50534023a302906917a80751408b4c6257557150
Changed files:
- nf_core/lint/files_exist.py
... | diff --git a/nf_core/lint/files_exist.py b/nf_core/lint/files_exist.py
index 0000000..0000000 100644
--- a/nf_core/lint/files_exist.py
+++ b/nf_core/lint/files_exist.py
@@ -51,7 +51,6 @@ def files_exist(self):
lib/NfcoreTemplate.groovy
lib/Utils.groovy
lib/WorkflowMain.groovy
- modules... | 5,816 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1278",
"repo": "nf-core/tools",
"base_commit": "50534023a302906917a80751408b4c6257557150",
"pull_number": 1278,
"issue_numbers": [
"127... |
nf-core__tools-1307 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 50906eb59cac05ed854cf6bf9106c8e357d4c08e
Changed files:
- nf_core/modules/list.py
- nf_... | diff --git a/nf_core/modules/list.py b/nf_core/modules/list.py
index 0000000..0000000 100644
--- a/nf_core/modules/list.py
+++ b/nf_core/modules/list.py
@@ -103,7 +103,8 @@ class ModuleList(ModuleCommand):
if module_entry:
version_sha = module_entry["git_sha"]
... | 19,150 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1307",
"repo": "nf-core/tools",
"base_commit": "50906eb59cac05ed854cf6bf9106c8e357d4c08e",
"pull_number": 1307,
"issue_numbers": [
"130... |
nf-core__tools-1314 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: c934fddc9d2c5bab003b536d25dd379cc2ef1b74
Changed files:
- nf_core/lint/__init__.py
## ... | diff --git a/nf_core/lint/__init__.py b/nf_core/lint/__init__.py
index 0000000..0000000 100644
--- a/nf_core/lint/__init__.py
+++ b/nf_core/lint/__init__.py
@@ -20,8 +20,8 @@ import yaml
import nf_core.utils
import nf_core.lint_utils
+import nf_core.modules.lint
from nf_core.lint_utils import console
-from nf_core... | 15,606 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1314",
"repo": "nf-core/tools",
"base_commit": "c934fddc9d2c5bab003b536d25dd379cc2ef1b74",
"pull_number": 1314,
"issue_numbers": [
"127... |
nf-core__tools-1329 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: dadcf55479f57fb2188421447474d0d9ff482ab3
Changed files:
- nf_core/modules/module_utils.... | diff --git a/nf_core/modules/module_utils.py b/nf_core/modules/module_utils.py
index 0000000..0000000 100644
--- a/nf_core/modules/module_utils.py
+++ b/nf_core/modules/module_utils.py
@@ -344,8 +344,8 @@ def get_repo_type(dir):
raise LookupError("Could not find directory: {}".format(dir))
# Determine r... | 11,872 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1329",
"repo": "nf-core/tools",
"base_commit": "dadcf55479f57fb2188421447474d0d9ff482ab3",
"pull_number": 1329,
"issue_numbers": [
"132... |
nf-core__tools-1333 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 50906eb59cac05ed854cf6bf9106c8e357d4c08e
Changed files:
- nf_core/lint_utils.py
## Pro... | diff --git a/nf_core/lint_utils.py b/nf_core/lint_utils.py
index 0000000..0000000 100644
--- a/nf_core/lint_utils.py
+++ b/nf_core/lint_utils.py
@@ -38,7 +38,7 @@ def print_fixes(lint_obj, module_lint_obj):
"""Prints available and applied fixes"""
if len(lint_obj.could_fix):
- fix_cmd = "nf-core lint... | 2,130 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1333",
"repo": "nf-core/tools",
"base_commit": "50906eb59cac05ed854cf6bf9106c8e357d4c08e",
"pull_number": 1333,
"issue_numbers": [
"133... |
nf-core__tools-1357 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: bf4ea000cb79e171c533f5d71c6b6567a5d2eeb7
Changed files:
- nf_core/modules/lint/module_c... | diff --git a/nf_core/modules/lint/module_changes.py b/nf_core/modules/lint/module_changes.py
index 0000000..0000000 100644
--- a/nf_core/modules/lint/module_changes.py
+++ b/nf_core/modules/lint/module_changes.py
@@ -49,10 +49,10 @@ def module_changes(module_lint_object, module):
remote_copy = r.conten... | 1,824 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1357",
"repo": "nf-core/tools",
"base_commit": "bf4ea000cb79e171c533f5d71c6b6567a5d2eeb7",
"pull_number": 1357,
"issue_numbers": [
"131... |
nf-core__tools-1385 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 228dc08acc9402adfbcadb2ff18ba561d2a7bc20
Changed files:
- nf_core/download.py
## Probl... | diff --git a/nf_core/download.py b/nf_core/download.py
index 0000000..0000000 100644
--- a/nf_core/download.py
+++ b/nf_core/download.py
@@ -416,10 +416,30 @@ class DownloadWorkflow(object):
"""Find container image names for workflow.
Starts by using `nextflow config` to pull out any process.contain... | 23,788 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1385",
"repo": "nf-core/tools",
"base_commit": "228dc08acc9402adfbcadb2ff18ba561d2a7bc20",
"pull_number": 1385,
"issue_numbers": [
"137... |
nf-core__tools-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: nf-core/tools
Base commit: 36ce758af1ba362fee813fdbbe08b691acaca1be
Changed files:
- nf_core/modules/lint/main_nf.... | diff --git a/nf_core/modules/lint/main_nf.py b/nf_core/modules/lint/main_nf.py
index 0000000..0000000 100644
--- a/nf_core/modules/lint/main_nf.py
+++ b/nf_core/modules/lint/main_nf.py
@@ -276,9 +276,9 @@ def _parse_output(self, line):
output = []
if "meta" in line:
output.append("meta")
- if not ... | 10,158 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1439",
"repo": "nf-core/tools",
"base_commit": "36ce758af1ba362fee813fdbbe08b691acaca1be",
"pull_number": 1439,
"issue_numbers": [
"132... |
nf-core__tools-1440 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 9ac3af8293c92024672c2ab223288f992941ef98
Changed files:
- nf_core/__main__.py
- nf_core... | diff --git a/nf_core/__main__.py b/nf_core/__main__.py
index 0000000..0000000 100755
--- a/nf_core/__main__.py
+++ b/nf_core/__main__.py
@@ -526,8 +526,7 @@ def remove(ctx, dir, tool):
@click.option("-f", "--force", is_flag=True, default=False, help="Overwrite any files if they already exist")
@click.option("-c", "--... | 35,766 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1440",
"repo": "nf-core/tools",
"base_commit": "9ac3af8293c92024672c2ab223288f992941ef98",
"pull_number": 1440,
"issue_numbers": [
"143... |
nf-core__tools-1441 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 7e5ed84abf71782b84e4d5b8008bae2939853ad6
Changed files:
- nf_core/modules/modules_repo.... | diff --git a/nf_core/modules/modules_repo.py b/nf_core/modules/modules_repo.py
index 0000000..0000000 100644
--- a/nf_core/modules/modules_repo.py
+++ b/nf_core/modules/modules_repo.py
@@ -128,7 +128,7 @@ class ModulesRepo(object):
"""
results = {}
for f in self.modules_file_tree:
- ... | 5,580 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1441",
"repo": "nf-core/tools",
"base_commit": "7e5ed84abf71782b84e4d5b8008bae2939853ad6",
"pull_number": 1441,
"issue_numbers": [
"138... |
nf-core__tools-1448 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 333a45116ddaa00a0aeba63b20e969eb14e33268
Changed files:
- nf_core/modules/modules_comma... | diff --git a/nf_core/modules/modules_command.py b/nf_core/modules/modules_command.py
index 0000000..0000000 100644
--- a/nf_core/modules/modules_command.py
+++ b/nf_core/modules/modules_command.py
@@ -207,7 +207,7 @@ class ModuleCommand:
log.info(f"Recomputing commit SHA for module {format_missing[0]} ... | 8,696 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1448",
"repo": "nf-core/tools",
"base_commit": "333a45116ddaa00a0aeba63b20e969eb14e33268",
"pull_number": 1448,
"issue_numbers": [
"143... |
nf-core__tools-1449 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: eb35d3a106fa328f6a8b2601d3ed87bf1863d184
Changed files:
- nf_core/modules/module_utils.... | diff --git a/nf_core/modules/module_utils.py b/nf_core/modules/module_utils.py
index 0000000..0000000 100644
--- a/nf_core/modules/module_utils.py
+++ b/nf_core/modules/module_utils.py
@@ -126,8 +126,8 @@ def create_modules_json(pipeline_dir):
pipeline_dir (str): The directory where the `modules.json` should b... | 15,101 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1449",
"repo": "nf-core/tools",
"base_commit": "eb35d3a106fa328f6a8b2601d3ed87bf1863d184",
"pull_number": 1449,
"issue_numbers": [
"141... |
nf-core__tools-1450 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 829f8226141dd5f8bfd177ce2e36fd618664fa50
Changed files:
- nf_core/create.py
## Problem... | diff --git a/nf_core/create.py b/nf_core/create.py
index 0000000..0000000 100644
--- a/nf_core/create.py
+++ b/nf_core/create.py
@@ -4,13 +4,16 @@ organization's specification based on a template.
"""
from genericpath import exists
import git
+import imghdr
import jinja2
import logging
import os
import pathlib
+... | 7,371 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1450",
"repo": "nf-core/tools",
"base_commit": "829f8226141dd5f8bfd177ce2e36fd618664fa50",
"pull_number": 1450,
"issue_numbers": [
"136... |
nf-core__tools-1451 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 70cf92454fd9b854c0855f0f90522d50485bd121
Changed files:
- nf_core/lint/__init__.py
## ... | diff --git a/nf_core/lint/__init__.py b/nf_core/lint/__init__.py
index 0000000..0000000 100644
--- a/nf_core/lint/__init__.py
+++ b/nf_core/lint/__init__.py
@@ -12,15 +12,14 @@ import datetime
import git
import json
import logging
-import os
import re
import rich
import rich.progress
-import yaml
import nf_cor... | 15,206 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1451",
"repo": "nf-core/tools",
"base_commit": "70cf92454fd9b854c0855f0f90522d50485bd121",
"pull_number": 1451,
"issue_numbers": [
"134... |
nf-core__tools-1520 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: faf47162f4b566404dafef2643e275c14c1e74ac
Changed files:
- nf_core/modules/install.py
#... | diff --git a/nf_core/modules/install.py b/nf_core/modules/install.py
index 0000000..0000000 100644
--- a/nf_core/modules/install.py
+++ b/nf_core/modules/install.py
@@ -130,6 +130,10 @@ class ModuleInstall(ModuleCommand):
if not self.download_module_file(module, version, self.modules_repo, install_folder):
... | 3,526 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1520",
"repo": "nf-core/tools",
"base_commit": "faf47162f4b566404dafef2643e275c14c1e74ac",
"pull_number": 1520,
"issue_numbers": [
"142... |
nf-core__tools-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: nf-core/tools
Base commit: 16852777121e76d3573505852768929e3a7fab21
Changed files:
- nf_core/schema.py
## Problem... | diff --git a/nf_core/schema.py b/nf_core/schema.py
index 0000000..0000000 100644
--- a/nf_core/schema.py
+++ b/nf_core/schema.py
@@ -536,6 +536,7 @@ class PipelineSchema(object):
self.get_wf_params()
self.make_skeleton_schema()
self.remove_schema_notfound_configs()
+ se... | 23,369 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1521",
"repo": "nf-core/tools",
"base_commit": "16852777121e76d3573505852768929e3a7fab21",
"pull_number": 1521,
"issue_numbers": [
"141... |
nf-core__tools-1526 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 6052563afcb3bdc3e0f062108a08be478d9843f9
Changed files:
- nf_core/__main__.py
- nf_core... | diff --git a/nf_core/__main__.py b/nf_core/__main__.py
index 0000000..0000000 100755
--- a/nf_core/__main__.py
+++ b/nf_core/__main__.py
@@ -48,7 +48,7 @@ click.rich_click.COMMAND_GROUPS = {
},
{
"name": "Developing new modules",
- "commands": ["create", "create-test-yml", "lin... | 25,448 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1526",
"repo": "nf-core/tools",
"base_commit": "6052563afcb3bdc3e0f062108a08be478d9843f9",
"pull_number": 1526,
"issue_numbers": [
"127... |
nf-core__tools-1566 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: be0993cf56ffd842dea041d9ecee4bffa6578d23
Changed files:
- nf_core/list.py
- nf_core/mod... | diff --git a/nf_core/list.py b/nf_core/list.py
index 0000000..0000000 100644
--- a/nf_core/list.py
+++ b/nf_core/list.py
@@ -2,9 +2,8 @@
"""Lists available nf-core pipelines and versions."""
from __future__ import print_function
-from collections import OrderedDict
-import datetime
+from datetime import datetime
... | 14,499 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1566",
"repo": "nf-core/tools",
"base_commit": "be0993cf56ffd842dea041d9ecee4bffa6578d23",
"pull_number": 1566,
"issue_numbers": [
"156... |
nf-core__tools-1584 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: c78733ea38102ec2ddfecaa061ea5ca423d4f139
Changed files:
- nf_core/pipeline-template/bin... | diff --git a/nf_core/pipeline-template/bin/check_samplesheet.py b/nf_core/pipeline-template/bin/check_samplesheet.py
index 0000000..0000000 100755
--- a/nf_core/pipeline-template/bin/check_samplesheet.py
+++ b/nf_core/pipeline-template/bin/check_samplesheet.py
@@ -129,6 +129,16 @@ class RowChecker:
... | 7,622 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1584",
"repo": "nf-core/tools",
"base_commit": "c78733ea38102ec2ddfecaa061ea5ca423d4f139",
"pull_number": 1584,
"issue_numbers": [
"156... |
nf-core__tools-1590 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: c560450d2d953769301a53ad8985e370f1686c19
Changed files:
- nf_core/lint/readme.py
## Pr... | diff --git a/nf_core/lint/readme.py b/nf_core/lint/readme.py
index 0000000..0000000 100644
--- a/nf_core/lint/readme.py
+++ b/nf_core/lint/readme.py
@@ -38,9 +38,9 @@ def readme(self):
content = fh.read()
# Check that there is a readme badge showing the minimum required version of Nextflow
- # [![Nex... | 2,825 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1590",
"repo": "nf-core/tools",
"base_commit": "c560450d2d953769301a53ad8985e370f1686c19",
"pull_number": 1590,
"issue_numbers": [
"158... |
nf-core__tools-1598 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 67b2b48c3eb5086e8ff047cdff5190e7eb136ee0
Changed files:
- nf_core/modules/lint/main_nf.... | diff --git a/nf_core/modules/lint/main_nf.py b/nf_core/modules/lint/main_nf.py
index 0000000..0000000 100644
--- a/nf_core/modules/lint/main_nf.py
+++ b/nf_core/modules/lint/main_nf.py
@@ -241,7 +241,7 @@ def check_process_section(self, lines):
if l.startswith("https://containers") or l.startswith("https://dep... | 9,475 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1598",
"repo": "nf-core/tools",
"base_commit": "67b2b48c3eb5086e8ff047cdff5190e7eb136ee0",
"pull_number": 1598,
"issue_numbers": [
"159... |
nf-core__tools-1624 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: ee54b9f58eb972c27d3b30e256529d9dea6b5d34
Changed files:
- nf_core/utils.py
## Problem ... | diff --git a/nf_core/utils.py b/nf_core/utils.py
index 0000000..0000000 100644
--- a/nf_core/utils.py
+++ b/nf_core/utils.py
@@ -52,7 +52,7 @@ nfcore_question_style = prompt_toolkit.styles.Style(
NFCORE_CACHE_DIR = os.path.join(
os.environ.get("XDG_CACHE_HOME", os.path.join(os.getenv("HOME"), ".cache")),
- "... | 25,317 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1624",
"repo": "nf-core/tools",
"base_commit": "ee54b9f58eb972c27d3b30e256529d9dea6b5d34",
"pull_number": 1624,
"issue_numbers": [
"161... |
nf-core__tools-1652 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: d79e1cfac5fed1f55abeea125655bf115f660dad
Changed files:
- nf_core/modules/info.py
## P... | diff --git a/nf_core/modules/info.py b/nf_core/modules/info.py
index 0000000..0000000 100644
--- a/nf_core/modules/info.py
+++ b/nf_core/modules/info.py
@@ -1,7 +1,7 @@
-import base64
import logging
import os
+import questionary
import requests
import yaml
from rich import box
@@ -11,17 +11,18 @@ from rich.panel... | 5,054 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1652",
"repo": "nf-core/tools",
"base_commit": "d79e1cfac5fed1f55abeea125655bf115f660dad",
"pull_number": 1652,
"issue_numbers": [
"164... |
nf-core__tools-1676 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 834428119a1311bc75c12fd73c51cee83cb7c129
Changed files:
- nf_core/lint/schema_lint.py
-... | diff --git a/nf_core/lint/schema_lint.py b/nf_core/lint/schema_lint.py
index 0000000..0000000 100644
--- a/nf_core/lint/schema_lint.py
+++ b/nf_core/lint/schema_lint.py
@@ -37,6 +37,7 @@ def schema_lint(self):
* ``$id``: URL to the raw schema file, eg. ``https://raw.githubusercontent.com/YOURPIPELINE/master/ne... | 23,571 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1676",
"repo": "nf-core/tools",
"base_commit": "834428119a1311bc75c12fd73c51cee83cb7c129",
"pull_number": 1676,
"issue_numbers": [
"164... |
nf-core__tools-1705 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 3c22ebb90d975d9c02b8bb13f5f2d7632da63718
Changed files:
- nf_core/create.py
## Problem... | diff --git a/nf_core/create.py b/nf_core/create.py
index 0000000..0000000 100644
--- a/nf_core/create.py
+++ b/nf_core/create.py
@@ -2,6 +2,7 @@
"""Creates a nf-core pipeline matching the current
organization's specification based on a template.
"""
+import configparser
import imghdr
import logging
import os
@@ -... | 15,835 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1705",
"repo": "nf-core/tools",
"base_commit": "3c22ebb90d975d9c02b8bb13f5f2d7632da63718",
"pull_number": 1705,
"issue_numbers": [
"168... |
nf-core__tools-1720 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 92211f3b23a8fa29b99bfaf14b99d8ec8823bb90
Changed files:
- nf_core/modules/info.py
## P... | diff --git a/nf_core/modules/info.py b/nf_core/modules/info.py
index 0000000..0000000 100644
--- a/nf_core/modules/info.py
+++ b/nf_core/modules/info.py
@@ -20,8 +20,8 @@ log = logging.getLogger(__name__)
class ModuleInfo(ModuleCommand):
- def __init__(self, pipeline_dir, tool, remote_url, branch, no_pull):
- ... | 5,782 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1720",
"repo": "nf-core/tools",
"base_commit": "92211f3b23a8fa29b99bfaf14b99d8ec8823bb90",
"pull_number": 1720,
"issue_numbers": [
"171... |
nf-core__tools-1745 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: ccad6e6afac60c55b3ad72fedbfeebc7aadd1198
Changed files:
- nf_core/modules/info.py
## P... | diff --git a/nf_core/modules/info.py b/nf_core/modules/info.py
index 0000000..0000000 100644
--- a/nf_core/modules/info.py
+++ b/nf_core/modules/info.py
@@ -21,11 +21,46 @@ log = logging.getLogger(__name__)
class ModuleInfo(ModuleCommand):
+ """
+ Class to print information of a module.
+
+ Attributes
+ ... | 6,264 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1745",
"repo": "nf-core/tools",
"base_commit": "ccad6e6afac60c55b3ad72fedbfeebc7aadd1198",
"pull_number": 1745,
"issue_numbers": [
"173... |
nf-core__tools-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: nf-core/tools
Base commit: ccad6e6afac60c55b3ad72fedbfeebc7aadd1198
Changed files:
- nf_core/modules/lint/main_nf.... | diff --git a/nf_core/modules/lint/main_nf.py b/nf_core/modules/lint/main_nf.py
index 0000000..0000000 100644
--- a/nf_core/modules/lint/main_nf.py
+++ b/nf_core/modules/lint/main_nf.py
@@ -240,19 +240,23 @@ def check_process_section(self, lines, fix_version, progress_bar):
# Check that process labels are correct... | 13,489 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1746",
"repo": "nf-core/tools",
"base_commit": "ccad6e6afac60c55b3ad72fedbfeebc7aadd1198",
"pull_number": 1746,
"issue_numbers": [
"173... |
nf-core__tools-1752 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: fb46b6d80e7ceabc17560f70ecbc2a65d4d08e5b
Changed files:
- nf_core/modules/modules_json.... | diff --git a/nf_core/modules/modules_json.py b/nf_core/modules/modules_json.py
index 0000000..0000000 100644
--- a/nf_core/modules/modules_json.py
+++ b/nf_core/modules/modules_json.py
@@ -4,6 +4,7 @@ import json
import logging
import os
import shutil
+import tempfile
from pathlib import Path
import git
@@ -14,6... | 20,357 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1752",
"repo": "nf-core/tools",
"base_commit": "fb46b6d80e7ceabc17560f70ecbc2a65d4d08e5b",
"pull_number": 1752,
"issue_numbers": [
"172... |
nf-core__tools-1755 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 940a0420fb84c95675891cbeb596acfeda666202
Changed files:
- nf_core/modules/lint/module_c... | diff --git a/nf_core/modules/lint/module_changes.py b/nf_core/modules/lint/module_changes.py
index 0000000..0000000 100644
--- a/nf_core/modules/lint/module_changes.py
+++ b/nf_core/modules/lint/module_changes.py
@@ -25,7 +25,7 @@ def module_changes(module_lint_object, module):
# If the module is patched, we n... | 1,538 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1755",
"repo": "nf-core/tools",
"base_commit": "940a0420fb84c95675891cbeb596acfeda666202",
"pull_number": 1755,
"issue_numbers": [
"174... |
nf-core__tools-1822 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: b6be4ff584abd9fb6ddc39670d745c84f46f3612
Changed files:
- nf_core/create.py
## Problem... | diff --git a/nf_core/create.py b/nf_core/create.py
index 0000000..0000000 100644
--- a/nf_core/create.py
+++ b/nf_core/create.py
@@ -163,6 +163,11 @@ class PipelineCreate(object):
param_dict["logo_dark"] = f"{param_dict['name_noslash']}_logo_dark.png"
param_dict["version"] = version
+ # Check... | 14,980 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1822",
"repo": "nf-core/tools",
"base_commit": "b6be4ff584abd9fb6ddc39670d745c84f46f3612",
"pull_number": 1822,
"issue_numbers": [
"180... |
nf-core__tools-1878 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 5be0720fa1055212d3db4a5b3aefd76b75a417dd
Changed files:
- nf_core/modules/modules_comma... | diff --git a/nf_core/modules/modules_command.py b/nf_core/modules/modules_command.py
index 0000000..0000000 100644
--- a/nf_core/modules/modules_command.py
+++ b/nf_core/modules/modules_command.py
@@ -176,11 +176,46 @@ class ModuleCommand:
# Move wrong modules to the right directory
fo... | 25,575 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1878",
"repo": "nf-core/tools",
"base_commit": "5be0720fa1055212d3db4a5b3aefd76b75a417dd",
"pull_number": 1878,
"issue_numbers": [
"186... |
nf-core__tools-1880 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 6d7625a956c36cb5fd0cb41c9b42b5d4c6397066
Changed files:
- nf_core/__main__.py
- nf_core... | diff --git a/nf_core/__main__.py b/nf_core/__main__.py
index 0000000..0000000 100755
--- a/nf_core/__main__.py
+++ b/nf_core/__main__.py
@@ -1197,7 +1197,8 @@ def bump_version(new_version, dir, nextflow):
@click.option("-p", "--pull-request", is_flag=True, default=False, help="Make a GitHub pull-request with the chang... | 59,901 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1880",
"repo": "nf-core/tools",
"base_commit": "6d7625a956c36cb5fd0cb41c9b42b5d4c6397066",
"pull_number": 1880,
"issue_numbers": [
"187... |
nf-core__tools-1924 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: be8978bad527172c4a32b4888e8abfe5fe5954d8
Changed files:
- nf_core/modules/modules_repo.... | diff --git a/nf_core/modules/modules_repo.py b/nf_core/modules/modules_repo.py
index 0000000..0000000 100644
--- a/nf_core/modules/modules_repo.py
+++ b/nf_core/modules/modules_repo.py
@@ -381,6 +381,10 @@ class ModulesRepo(object):
# Copy the files from the repo to the install folder
shutil.copytre... | 14,206 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1924",
"repo": "nf-core/tools",
"base_commit": "be8978bad527172c4a32b4888e8abfe5fe5954d8",
"pull_number": 1924,
"issue_numbers": [
"192... |
nf-core__tools-1934 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 865cae84d3e8b72e70a79e991875961380eb2ddd
Changed files:
- nf_core/modules/modules_json.... | diff --git a/nf_core/modules/modules_json.py b/nf_core/modules/modules_json.py
index 0000000..0000000 100644
--- a/nf_core/modules/modules_json.py
+++ b/nf_core/modules/modules_json.py
@@ -34,6 +34,7 @@ class ModulesJson:
"""
self.dir = pipeline_dir
self.modules_dir = Path(self.dir, "modules"... | 29,849 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1934",
"repo": "nf-core/tools",
"base_commit": "865cae84d3e8b72e70a79e991875961380eb2ddd",
"pull_number": 1934,
"issue_numbers": [
"191... |
nf-core__tools-1936 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: c84dfb7500b464e666ce63a070d8b2cbe74424d3
Changed files:
- nf_core/sync.py
## Problem s... | diff --git a/nf_core/sync.py b/nf_core/sync.py
index 0000000..0000000 100644
--- a/nf_core/sync.py
+++ b/nf_core/sync.py
@@ -5,6 +5,7 @@
import json
import logging
import os
+import re
import shutil
import git
@@ -69,7 +70,8 @@ class PipelineSync(object):
self.pipeline_dir = os.path.abspath(pipeline_dir... | 12,051 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1936",
"repo": "nf-core/tools",
"base_commit": "c84dfb7500b464e666ce63a070d8b2cbe74424d3",
"pull_number": 1936,
"issue_numbers": [
"191... |
nf-core__tools-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: nf-core/tools
Base commit: 263122aca4cbb23c79d927623e0a13a863a6d29e
Changed files:
- nf_core/modules/modules_comma... | diff --git a/nf_core/modules/modules_command.py b/nf_core/modules/modules_command.py
index 0000000..0000000 100644
--- a/nf_core/modules/modules_command.py
+++ b/nf_core/modules/modules_command.py
@@ -64,7 +64,9 @@ class ModuleCommand:
main_nf = os.path.join(self.dir, "main.nf")
nf_config = os.path.jo... | 5,991 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1964",
"repo": "nf-core/tools",
"base_commit": "263122aca4cbb23c79d927623e0a13a863a6d29e",
"pull_number": 1964,
"issue_numbers": [
"194... |
nf-core__tools-1986 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 6bf8f3080a76ca3f7c361a2d1a6f38fad2bec2e4
Changed files:
- nf_core/launch.py
## Problem... | diff --git a/nf_core/launch.py b/nf_core/launch.py
index 0000000..0000000 100644
--- a/nf_core/launch.py
+++ b/nf_core/launch.py
@@ -120,12 +120,19 @@ class Launch(object):
# Check if the output file exists already
if os.path.exists(self.params_out):
- log.warning(f"Parameter output file ... | 18,835 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-1986",
"repo": "nf-core/tools",
"base_commit": "6bf8f3080a76ca3f7c361a2d1a6f38fad2bec2e4",
"pull_number": 1986,
"issue_numbers": [
"196... |
nf-core__tools-2017 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 8e81fe82dbdd7519fce6276ff03ab288f1b48fbb
Changed files:
- nf_core/modules/update.py
##... | diff --git a/nf_core/modules/update.py b/nf_core/modules/update.py
index 0000000..0000000 100644
--- a/nf_core/modules/update.py
+++ b/nf_core/modules/update.py
@@ -173,7 +173,7 @@ class ModuleUpdate(ComponentCommand):
if patch_relpath is not None:
patch_successful = self.try_apply_patch... | 17,608 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-2017",
"repo": "nf-core/tools",
"base_commit": "8e81fe82dbdd7519fce6276ff03ab288f1b48fbb",
"pull_number": 2017,
"issue_numbers": [
"201... |
nf-core__tools-2031 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: d13b3b9d1debfb289e0a9e94a07a13dad40e1e19
Changed files:
- nf_core/lint/readme.py
## Pr... | diff --git a/nf_core/lint/readme.py b/nf_core/lint/readme.py
index 0000000..0000000 100644
--- a/nf_core/lint/readme.py
+++ b/nf_core/lint/readme.py
@@ -40,7 +40,7 @@ def readme(self):
if "nextflow_badge" not in ignore_configs:
# Check that there is a readme badge showing the minimum required version of... | 2,651 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-2031",
"repo": "nf-core/tools",
"base_commit": "d13b3b9d1debfb289e0a9e94a07a13dad40e1e19",
"pull_number": 2031,
"issue_numbers": [
"199... |
nf-core__tools-2039 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 2e4b67c7e0046b32dfd9d3da26c4c4101cff9f70
Changed files:
- nf_core/components/info.py
- ... | diff --git a/nf_core/components/info.py b/nf_core/components/info.py
index 0000000..0000000 100644
--- a/nf_core/components/info.py
+++ b/nf_core/components/info.py
@@ -117,6 +117,7 @@ class ComponentInfo(ComponentCommand):
)
else:
components = self.modules_repo.ge... | 36,400 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-2039",
"repo": "nf-core/tools",
"base_commit": "2e4b67c7e0046b32dfd9d3da26c4c4101cff9f70",
"pull_number": 2039,
"issue_numbers": [
"203... |
nf-core__tools-2061 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: fff7bea46e524736caa7195b5b9e84d631b0bb99
Changed files:
- nf_core/modules/modules_json.... | diff --git a/nf_core/modules/modules_json.py b/nf_core/modules/modules_json.py
index 0000000..0000000 100644
--- a/nf_core/modules/modules_json.py
+++ b/nf_core/modules/modules_json.py
@@ -478,7 +478,12 @@ class ModulesJson:
elif (
not isinstance(repo_url, str)
or repo_url... | 32,717 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-2061",
"repo": "nf-core/tools",
"base_commit": "fff7bea46e524736caa7195b5b9e84d631b0bb99",
"pull_number": 2061,
"issue_numbers": [
"200... |
nf-core__tools-2072 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 77ec31e874d03bcf3bf53e5bd66f9ae34c0f6857
Changed files:
- nf_core/components/update.py
... | diff --git a/nf_core/components/update.py b/nf_core/components/update.py
index 0000000..0000000 100644
--- a/nf_core/components/update.py
+++ b/nf_core/components/update.py
@@ -9,7 +9,12 @@ import questionary
import nf_core.modules.modules_utils
import nf_core.utils
from nf_core.components.components_command import ... | 55,321 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-2072",
"repo": "nf-core/tools",
"base_commit": "77ec31e874d03bcf3bf53e5bd66f9ae34c0f6857",
"pull_number": 2072,
"issue_numbers": [
"206... |
nf-core__tools-2074 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 9974e0d1d65c36f0124fb8b557cafe2ed6e188c1
Changed files:
- nf_core/lint_utils.py
- nf_co... | diff --git a/nf_core/lint_utils.py b/nf_core/lint_utils.py
index 0000000..0000000 100644
--- a/nf_core/lint_utils.py
+++ b/nf_core/lint_utils.py
@@ -72,8 +72,9 @@ def run_prettier_on_file(file):
)
except subprocess.CalledProcessError as e:
if ": SyntaxError: " in e.stdout.decode():
- r... | 35,208 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-2074",
"repo": "nf-core/tools",
"base_commit": "9974e0d1d65c36f0124fb8b557cafe2ed6e188c1",
"pull_number": 2074,
"issue_numbers": [
"204... |
nf-core__tools-2075 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 91727f3e62ccabcff7f2ffc39c405b3bb2d31403
Changed files:
- setup.py
## Problem statemen... | diff --git a/setup.py b/setup.py
index 0000000..0000000 100644
--- a/setup.py
+++ b/setup.py
@@ -35,6 +35,7 @@ setup(
"console_scripts": ["nf-core=nf_core.__main__:run_nf_core"],
"refgenie.hooks.post_update": ["nf-core-refgenie=nf_core.refgenie:update_config"],
},
+ python_requires=">=3.7, <4"... | 2,026 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-2075",
"repo": "nf-core/tools",
"base_commit": "91727f3e62ccabcff7f2ffc39c405b3bb2d31403",
"pull_number": 2075,
"issue_numbers": [
"187... |
nf-core__tools-2085 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: nf-core/tools
Base commit: 2c8efb1f5479852d3d70d5c8c983b6f45f515c86
Changed files:
- nf_core/modules/lint/main_nf.... | diff --git a/nf_core/modules/lint/main_nf.py b/nf_core/modules/lint/main_nf.py
index 0000000..0000000 100644
--- a/nf_core/modules/lint/main_nf.py
+++ b/nf_core/modules/lint/main_nf.py
@@ -254,14 +254,14 @@ def check_process_section(self, lines, fix_version, progress_bar):
self.passed.append(("process_... | 13,166 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "nf-core__tools-2085",
"repo": "nf-core/tools",
"base_commit": "2c8efb1f5479852d3d70d5c8c983b6f45f515c86",
"pull_number": 2085,
"issue_numbers": [
"208... |
neuralmagic__sparseml-865 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: neuralmagic/sparseml
Base commit: e957f81a7aae88f22f068245ff13add8ab061b4b
Changed files:
- src/sparseml/pytorch/i... | diff --git a/src/sparseml/pytorch/image_classification/utils/trainer.py b/src/sparseml/pytorch/image_classification/utils/trainer.py
index 0000000..0000000 100644
--- a/src/sparseml/pytorch/image_classification/utils/trainer.py
+++ b/src/sparseml/pytorch/image_classification/utils/trainer.py
@@ -33,6 +33,7 @@ from spar... | 30,571 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "neuralmagic__sparseml-865",
"repo": "neuralmagic/sparseml",
"base_commit": "e957f81a7aae88f22f068245ff13add8ab061b4b",
"pull_number": 865,
"issue_numbers"... |
koxudaxi__datamodel-code-generator-8 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: 3fdc566ac82012fed857714a86013b893c6c64e8
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/__main__.py b/datamodel_code_generator/__main__.py
index 0000000..0000000 100755
--- a/datamodel_code_generator/__main__.py
+++ b/datamodel_code_generator/__main__.py
@@ -7,6 +7,7 @@ Main function.
import os
import sys
from argparse import ArgumentParser, FileType
+from datetime... | 3,382 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-8",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "3fdc566ac82012fed857714a86013b893c6c64e8",
"pull_number"... |
koxudaxi__datamodel-code-generator-421 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: d57b73895cf749118e93891e9bdf7070bede73fe
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/model/pydantic/imports.py b/datamodel_code_generator/model/pydantic/imports.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/model/pydantic/imports.py
+++ b/datamodel_code_generator/model/pydantic/imports.py
@@ -17,8 +17,8 @@ IMPORT_UUID3 = Import.from_full_path('pyd... | 1,459 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-421",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "d57b73895cf749118e93891e9bdf7070bede73fe",
"pull_numbe... |
koxudaxi__datamodel-code-generator-427 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: af9f495334e3c9de0f333555f827c3bac7b657d3
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/parser/jsonschema.py b/datamodel_code_generator/parser/jsonschema.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/parser/jsonschema.py
+++ b/datamodel_code_generator/parser/jsonschema.py
@@ -877,6 +877,7 @@ class JsonSchemaParser(Parser):
fields=enu... | 29,903 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-427",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "af9f495334e3c9de0f333555f827c3bac7b657d3",
"pull_numbe... |
koxudaxi__datamodel-code-generator-430 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: af9f495334e3c9de0f333555f827c3bac7b657d3
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/parser/base.py b/datamodel_code_generator/parser/base.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/parser/base.py
+++ b/datamodel_code_generator/parser/base.py
@@ -474,7 +474,6 @@ class Parser(ABC):
model.reference.name = generated_name
... | 14,789 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-430",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "af9f495334e3c9de0f333555f827c3bac7b657d3",
"pull_numbe... |
koxudaxi__datamodel-code-generator-445 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: bd02d0682b951b1166ce62573b31f12f454e916c
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/types.py b/datamodel_code_generator/types.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/types.py
+++ b/datamodel_code_generator/types.py
@@ -16,6 +16,7 @@ from typing import (
Tuple,
Type,
TypeVar,
+ Union,
)
from pydantic import create_model... | 7,999 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-445",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "bd02d0682b951b1166ce62573b31f12f454e916c",
"pull_numbe... |
koxudaxi__datamodel-code-generator-689 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: e2dcb199fc6da3c22aa5df4dd209721f1e71507e
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/types.py b/datamodel_code_generator/types.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/types.py
+++ b/datamodel_code_generator/types.py
@@ -75,7 +75,7 @@ class DataType(_BaseModel):
is_dict: bool = False
is_list: bool = False
is_custom_type: bool =... | 8,782 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-689",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "e2dcb199fc6da3c22aa5df4dd209721f1e71507e",
"pull_numbe... |
koxudaxi__datamodel-code-generator-701 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: cf4b361b5c2796a46acb88bd30a2377fffe4d22f
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/__main__.py b/datamodel_code_generator/__main__.py
index 0000000..0000000 100755
--- a/datamodel_code_generator/__main__.py
+++ b/datamodel_code_generator/__main__.py
@@ -41,7 +41,11 @@ from datamodel_code_generator import (
enable_debug_message,
generate,
)
-from datamo... | 15,717 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-701",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "cf4b361b5c2796a46acb88bd30a2377fffe4d22f",
"pull_numbe... |
koxudaxi__datamodel-code-generator-726 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: ca976e8e43815600b9cc3b3ca3e30c45464d2839
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/format.py b/datamodel_code_generator/format.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/format.py
+++ b/datamodel_code_generator/format.py
@@ -51,7 +51,7 @@ def black_find_project_root(sources: Sequence[Path]) -> Path:
project_root = _find_project_root(tupl... | 36,029 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-726",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "ca976e8e43815600b9cc3b3ca3e30c45464d2839",
"pull_numbe... |
koxudaxi__datamodel-code-generator-767 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: fc1c25756a0b41ff68ce541c644456363cd1418b
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/parser/base.py b/datamodel_code_generator/parser/base.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/parser/base.py
+++ b/datamodel_code_generator/parser/base.py
@@ -159,6 +159,16 @@ def sort_data_models(
unresolved_model = (
model.ref... | 17,154 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-767",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "fc1c25756a0b41ff68ce541c644456363cd1418b",
"pull_numbe... |
koxudaxi__datamodel-code-generator-962 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: 9a64326891da7cd8b26444d4ddbfa894f0245fa8
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/reference.py b/datamodel_code_generator/reference.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/reference.py
+++ b/datamodel_code_generator/reference.py
@@ -171,10 +171,14 @@ class FieldNameResolver:
):
name = snake_to_upper_camel(name, delim... | 16,226 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-962",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "9a64326891da7cd8b26444d4ddbfa894f0245fa8",
"pull_numbe... |
koxudaxi__datamodel-code-generator-968 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: bb9266c008fc88daa0587e9daeb560613ef854d7
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/parser/jsonschema.py b/datamodel_code_generator/parser/jsonschema.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/parser/jsonschema.py
+++ b/datamodel_code_generator/parser/jsonschema.py
@@ -516,6 +516,7 @@ class JsonSchemaParser(Parser):
)
# i... | 50,527 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-968",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "bb9266c008fc88daa0587e9daeb560613ef854d7",
"pull_numbe... |
koxudaxi__datamodel-code-generator-1028 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: 4d84110c1870e91398f91e2446624aac61e921c3
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/__main__.py b/datamodel_code_generator/__main__.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/__main__.py
+++ b/datamodel_code_generator/__main__.py
@@ -269,7 +269,7 @@ arg_parser.add_argument(
arg_parser.add_argument(
"--collapse-root-models",
action='... | 15,987 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1028",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "4d84110c1870e91398f91e2446624aac61e921c3",
"pull_numb... |
koxudaxi__datamodel-code-generator-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: koxudaxi/datamodel-code-generator
Base commit: 3e2a34c8ac2078bc81667c39da89ca05356cfc51
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/model/pydantic/base_model.py b/datamodel_code_generator/model/pydantic/base_model.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/model/pydantic/base_model.py
+++ b/datamodel_code_generator/model/pydantic/base_model.py
@@ -69,7 +69,11 @@ class DataModelField(DataMod... | 7,189 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1186",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "3e2a34c8ac2078bc81667c39da89ca05356cfc51",
"pull_numb... |
koxudaxi__datamodel-code-generator-1248 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: e10f1bcce5f0135458a96e4d0e3d4e6ab7e54c3d
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/__init__.py b/datamodel_code_generator/__init__.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/__init__.py
+++ b/datamodel_code_generator/__init__.py
@@ -2,6 +2,7 @@ from __future__ import annotations
import contextlib
import os
+import sys
from datetime impor... | 11,217 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1248",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "e10f1bcce5f0135458a96e4d0e3d4e6ab7e54c3d",
"pull_numb... |
koxudaxi__datamodel-code-generator-1249 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: 083691c6fea8fabc5000466c40c16298c7a4b463
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/__init__.py b/datamodel_code_generator/__init__.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/__init__.py
+++ b/datamodel_code_generator/__init__.py
@@ -168,6 +168,37 @@ def is_openapi(text: str) -> bool:
return 'openapi' in load_yaml(text)
+JSON_SCHEMA_U... | 12,004 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1249",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "083691c6fea8fabc5000466c40c16298c7a4b463",
"pull_numb... |
koxudaxi__datamodel-code-generator-1432 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: fab9f575bfec9975f598a02d71fe1fb6b7d87376
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/parser/base.py b/datamodel_code_generator/parser/base.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/parser/base.py
+++ b/datamodel_code_generator/parser/base.py
@@ -868,7 +868,9 @@ class Parser(ABC):
data_type.remove_reference()
... | 29,501 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1432",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "fab9f575bfec9975f598a02d71fe1fb6b7d87376",
"pull_numb... |
koxudaxi__datamodel-code-generator-1448 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: e8d600886f894c100d6c4c0277b91a67f89cae48
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/__main__.py b/datamodel_code_generator/__main__.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/__main__.py
+++ b/datamodel_code_generator/__main__.py
@@ -36,8 +36,10 @@ import black
import toml
from pydantic import BaseModel
+if TYPE_CHECKING:
+ from typing_... | 19,628 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1448",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "e8d600886f894c100d6c4c0277b91a67f89cae48",
"pull_numb... |
koxudaxi__datamodel-code-generator-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: koxudaxi/datamodel-code-generator
Base commit: 3cbc02cfe5424b71674be8602cb7e89a6f9b5c9a
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/model/pydantic_v2/root_model.py b/datamodel_code_generator/model/pydantic_v2/root_model.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/model/pydantic_v2/root_model.py
+++ b/datamodel_code_generator/model/pydantic_v2/root_model.py
@@ -1,6 +1,6 @@
from __future__ im... | 1,613 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1477",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "3cbc02cfe5424b71674be8602cb7e89a6f9b5c9a",
"pull_numb... |
koxudaxi__datamodel-code-generator-1606 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: 62c34cdb7a90238b0c960c68bb7f65788ec3d857
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/model/msgspec.py b/datamodel_code_generator/model/msgspec.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/model/msgspec.py
+++ b/datamodel_code_generator/model/msgspec.py
@@ -1,6 +1,8 @@
from pathlib import Path
from typing import Any, ClassVar, DefaultDict, Dict,... | 5,977 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1606",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "62c34cdb7a90238b0c960c68bb7f65788ec3d857",
"pull_numb... |
koxudaxi__datamodel-code-generator-1654 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: 54800a14fa22655e2e9bce7f710a1c9c0d1c8327
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/arguments.py b/datamodel_code_generator/arguments.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/arguments.py
+++ b/datamodel_code_generator/arguments.py
@@ -297,7 +297,7 @@ field_options.add_argument(
)
field_options.add_argument(
'--remove-special-field-na... | 27,608 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1654",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "54800a14fa22655e2e9bce7f710a1c9c0d1c8327",
"pull_numb... |
koxudaxi__datamodel-code-generator-1669 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: 979444cdd4cbfbfab489f6f4c9bb09f8eaf8553b
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/types.py b/datamodel_code_generator/types.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/types.py
+++ b/datamodel_code_generator/types.py
@@ -129,7 +129,7 @@ class UnionIntFloat:
)
return core_schema.json_or_python_schema(
- json_sche... | 14,041 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1669",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "979444cdd4cbfbfab489f6f4c9bb09f8eaf8553b",
"pull_numb... |
koxudaxi__datamodel-code-generator-1678 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: 8ca47052e88b07f8677ddd07d9aa35d0917c2380
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/parser/jsonschema.py b/datamodel_code_generator/parser/jsonschema.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/parser/jsonschema.py
+++ b/datamodel_code_generator/parser/jsonschema.py
@@ -1027,6 +1027,7 @@ class JsonSchemaParser(Parser):
)
e... | 45,857 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1678",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "8ca47052e88b07f8677ddd07d9aa35d0917c2380",
"pull_numb... |
koxudaxi__datamodel-code-generator-1767 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: 38bf2b9e62bfb8176ad3c49514461437f954c851
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/model/pydantic_v2/base_model.py b/datamodel_code_generator/model/pydantic_v2/base_model.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/model/pydantic_v2/base_model.py
+++ b/datamodel_code_generator/model/pydantic_v2/base_model.py
@@ -87,10 +87,9 @@ class DataModelF... | 4,966 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1767",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "38bf2b9e62bfb8176ad3c49514461437f954c851",
"pull_numb... |
koxudaxi__datamodel-code-generator-1791 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: b4533213cb03cebc1b936df7e902e8cbb19e1b35
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/parser/jsonschema.py b/datamodel_code_generator/parser/jsonschema.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/parser/jsonschema.py
+++ b/datamodel_code_generator/parser/jsonschema.py
@@ -270,6 +270,8 @@ class JsonSchemaObject(BaseModel):
def __init__(se... | 46,197 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1791",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "b4533213cb03cebc1b936df7e902e8cbb19e1b35",
"pull_numb... |
koxudaxi__datamodel-code-generator-1826 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: b4d6bf75e25f82eac8ceeafd4ed6c4d740dea94b
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/util.py b/datamodel_code_generator/util.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/util.py
+++ b/datamodel_code_generator/util.py
@@ -1,5 +1,6 @@
from __future__ import annotations
+import copy
from pathlib import Path
from typing import TYPE_CHECKING, Any... | 3,447 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1826",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "b4d6bf75e25f82eac8ceeafd4ed6c4d740dea94b",
"pull_numb... |
koxudaxi__datamodel-code-generator-1829 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: 1320fcbf0a67d3afa2210b16d5093c915cc33960
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/format.py b/datamodel_code_generator/format.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/format.py
+++ b/datamodel_code_generator/format.py
@@ -7,6 +7,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Optional, Sequence
from warnings import warn
import ... | 6,656 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1829",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "1320fcbf0a67d3afa2210b16d5093c915cc33960",
"pull_numb... |
koxudaxi__datamodel-code-generator-1942 | You are given a GitHub issue and the relevant repository files before and after the fix.
Your task is to synthesize the unified git diff that transforms the before files into the after files.
Repository: koxudaxi/datamodel-code-generator
Base commit: 01dd102c4f577a9993ff30946de639051c4b83c9
Changed files:
- datamodel... | diff --git a/datamodel_code_generator/model/msgspec.py b/datamodel_code_generator/model/msgspec.py
index 0000000..0000000 100644
--- a/datamodel_code_generator/model/msgspec.py
+++ b/datamodel_code_generator/model/msgspec.py
@@ -33,7 +33,7 @@ from datamodel_code_generator.types import chain_as_tuple, get_optional_type
... | 6,851 | {
"dataset": "internlm/SWE-Fixer-Train-110K-diff",
"source_dataset": "internlm/SWE-Fixer-Train-110K",
"task": "before_after_to_diff",
"instance_id": "koxudaxi__datamodel-code-generator-1942",
"repo": "koxudaxi/datamodel-code-generator",
"base_commit": "01dd102c4f577a9993ff30946de639051c4b83c9",
"pull_numb... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.