id
stringlengths
13
54
prompt
stringlengths
708
2.91M
answer
stringlengths
110
352k
prompt_input_token_count
int64
206
1.14M
metadata
dict
koxudaxi__datamodel-code-generator-1962
You are given a GitHub issue and the relevant repository files 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: 5bab6270de86a83ff70358d87ca55cba7954b59f 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 @@ -1311,6 +1311,10 @@ class JsonSchemaParser(Parser): data_type =...
47,255
{ "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-1962", "repo": "koxudaxi/datamodel-code-generator", "base_commit": "5bab6270de86a83ff70358d87ca55cba7954b59f", "pull_numb...
koxudaxi__datamodel-code-generator-1991
You are given a GitHub issue and the relevant repository files 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: e68629d0602c35d734d3d5397476cce89b8d49d3 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 @@ -778,8 +778,10 @@ class Parser(ABC): discriminator_model.path.split...
33,816
{ "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-1991", "repo": "koxudaxi/datamodel-code-generator", "base_commit": "e68629d0602c35d734d3d5397476cce89b8d49d3", "pull_numb...
koxudaxi__datamodel-code-generator-1999
You are given a GitHub issue and the relevant repository files 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: b1c0f22ad8c192a3de34a0be4c7671d83cd52b6d 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 @@ -700,6 +700,7 @@ class Parser(ABC): from_, import_ = full_path = relative( ...
33,739
{ "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-1999", "repo": "koxudaxi/datamodel-code-generator", "base_commit": "b1c0f22ad8c192a3de34a0be4c7671d83cd52b6d", "pull_numb...
mindsdb__lightwood-40
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 245d5f66c75a0e70f5e345b2e1b4da18b93cdd71 Changed files: - lightwood/__about__.py #...
diff --git a/lightwood/__about__.py b/lightwood/__about__.py index 0000000..0000000 100755 --- a/lightwood/__about__.py +++ b/lightwood/__about__.py @@ -1,6 +1,6 @@ __title__ = 'lightwood' __package_name__ = 'mindsdb' -__version__ = '0.9.0' +__version__ = '0.9.1' __description__ = "Lightwood's goal is to make it ver...
823
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-40", "repo": "mindsdb/lightwood", "base_commit": "245d5f66c75a0e70f5e345b2e1b4da18b93cdd71", "pull_number": 40, "issue_numbers": [ ...
mindsdb__lightwood-79
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: e86639d247efe5590dd9269fe204044e1845eef1 Changed files: - lightwood/__about__.py - ...
diff --git a/lightwood/__about__.py b/lightwood/__about__.py index 0000000..0000000 100755 --- a/lightwood/__about__.py +++ b/lightwood/__about__.py @@ -1,6 +1,6 @@ __title__ = 'lightwood' __package_name__ = 'mindsdb' -__version__ = '0.12.2' +__version__ = '0.13.0' __description__ = "Lightwood's goal is to make it v...
2,568
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-79", "repo": "mindsdb/lightwood", "base_commit": "e86639d247efe5590dd9269fe204044e1845eef1", "pull_number": 79, "issue_numbers": [ ...
mindsdb__lightwood-120
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 242d01383ecc2e7b633877504b12f5c139dd0e35 Changed files: - lightwood/__about__.py - ...
diff --git a/lightwood/__about__.py b/lightwood/__about__.py index 0000000..0000000 100755 --- a/lightwood/__about__.py +++ b/lightwood/__about__.py @@ -1,6 +1,6 @@ __title__ = 'lightwood' __package_name__ = 'mindsdb' -__version__ = '0.15.8' +__version__ = '0.16.0' __description__ = "Lightwood's goal is to make it v...
11,485
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-120", "repo": "mindsdb/lightwood", "base_commit": "242d01383ecc2e7b633877504b12f5c139dd0e35", "pull_number": 120, "issue_numbers": [ ...
mindsdb__lightwood-168
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 6d1167c8ea02f048025df8e03a489546d0e8a51e Changed files: - docs/examples/learn_to_cl...
diff --git a/docs/examples/learn_to_classify.py b/docs/examples/learn_to_classify.py index 0000000..0000000 100644 --- a/docs/examples/learn_to_classify.py +++ b/docs/examples/learn_to_classify.py @@ -34,14 +34,18 @@ if train: predictor.learn(from_data=data_train, callback_on_iter=iter_function, eval_every_x_epoch...
1,701
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-168", "repo": "mindsdb/lightwood", "base_commit": "6d1167c8ea02f048025df8e03a489546d0e8a51e", "pull_number": 168, "issue_numbers": [ ...
mindsdb__lightwood-324
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 9c85303edde3611ef70c8204dfeae6b134f245ad Changed files: - lightwood/api/predictor.p...
diff --git a/lightwood/api/predictor.py b/lightwood/api/predictor.py index 0000000..0000000 100644 --- a/lightwood/api/predictor.py +++ b/lightwood/api/predictor.py @@ -1,8 +1,6 @@ import traceback import time -import dill -import pickle import pandas import numpy as np import torch @@ -24,7 +22,7 @@ class Predi...
5,998
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-324", "repo": "mindsdb/lightwood", "base_commit": "9c85303edde3611ef70c8204dfeae6b134f245ad", "pull_number": 324, "issue_numbers": [ ...
mindsdb__lightwood-395
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 5f85985f87184cd9d7ef2669f4d1b0c20d053b9a Changed files: - lightwood/__about__.py - ...
diff --git a/lightwood/__about__.py b/lightwood/__about__.py index 0000000..0000000 100755 --- a/lightwood/__about__.py +++ b/lightwood/__about__.py @@ -1,6 +1,6 @@ __title__ = 'lightwood' __package_name__ = 'mindsdb' -__version__ = '0.60.0' +__version__ = '0.60.1' __description__ = "Lightwood's goal is to make it v...
14,115
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-395", "repo": "mindsdb/lightwood", "base_commit": "5f85985f87184cd9d7ef2669f4d1b0c20d053b9a", "pull_number": 395, "issue_numbers": [ ...
mindsdb__lightwood-397
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 3d0f20b2a70b74c198007adacd7adcbabad66141 Changed files: - lightwood/api/data_source...
diff --git a/lightwood/api/data_source.py b/lightwood/api/data_source.py index 0000000..0000000 100644 --- a/lightwood/api/data_source.py +++ b/lightwood/api/data_source.py @@ -229,6 +229,9 @@ class DataSource(Dataset): elif not self.enable_cache: if col_name in self.data_frame: ...
13,885
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-397", "repo": "mindsdb/lightwood", "base_commit": "3d0f20b2a70b74c198007adacd7adcbabad66141", "pull_number": 397, "issue_numbers": [ ...
mindsdb__lightwood-408
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 87fa113f798db095670bb6861bc3febbb465e98b Changed files: - lightwood/__about__.py - ...
diff --git a/lightwood/__about__.py b/lightwood/__about__.py index 0000000..0000000 100755 --- a/lightwood/__about__.py +++ b/lightwood/__about__.py @@ -1,6 +1,6 @@ __title__ = 'lightwood' __package_name__ = 'mindsdb' -__version__ = '0.62.0' +__version__ = '0.62.1' __description__ = "Lightwood's goal is to make it v...
13,250
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-408", "repo": "mindsdb/lightwood", "base_commit": "87fa113f798db095670bb6861bc3febbb465e98b", "pull_number": 408, "issue_numbers": [ ...
mindsdb__lightwood-434
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 4b8d64ba7f003896b08c36a8c175558b35ffb0cd Changed files: - lightwood/mixers/lightgbm...
diff --git a/lightwood/mixers/lightgbm.py b/lightwood/mixers/lightgbm.py index 0000000..0000000 100644 --- a/lightwood/mixers/lightgbm.py +++ b/lightwood/mixers/lightgbm.py @@ -123,6 +123,7 @@ class LightGBMMixer(BaseMixer): if max_itt >= num_iterations and seconds_for_one_iteration < 10: ...
5,240
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-434", "repo": "mindsdb/lightwood", "base_commit": "4b8d64ba7f003896b08c36a8c175558b35ffb0cd", "pull_number": 434, "issue_numbers": [ ...
mindsdb__lightwood-493
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 938632094957353b475c94fec70e4267150fbc32 Changed files: - lightwood/encoder/numeric...
diff --git a/lightwood/encoder/numeric/ts_numeric.py b/lightwood/encoder/numeric/ts_numeric.py index 0000000..0000000 100644 --- a/lightwood/encoder/numeric/ts_numeric.py +++ b/lightwood/encoder/numeric/ts_numeric.py @@ -45,9 +45,10 @@ class TsNumericEncoder(NumericEncoder): mean = self.normali...
12,799
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-493", "repo": "mindsdb/lightwood", "base_commit": "938632094957353b475c94fec70e4267150fbc32", "pull_number": 493, "issue_numbers": [ ...
mindsdb__lightwood-502
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 1faa12d6216e3c911604429eefb65898b8b60773 Changed files: - lightwood/data/cleaner.py...
diff --git a/lightwood/data/cleaner.py b/lightwood/data/cleaner.py index 0000000..0000000 100644 --- a/lightwood/data/cleaner.py +++ b/lightwood/data/cleaner.py @@ -60,11 +60,13 @@ def _standardize_array(element): element = element.rstrip(']').lstrip('[') element = element.rstrip(' ').lstrip(' ') ...
8,596
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-502", "repo": "mindsdb/lightwood", "base_commit": "1faa12d6216e3c911604429eefb65898b8b60773", "pull_number": 502, "issue_numbers": [ ...
mindsdb__lightwood-503
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 1faa12d6216e3c911604429eefb65898b8b60773 Changed files: - lightwood/api/json_ai.py ...
diff --git a/lightwood/api/json_ai.py b/lightwood/api/json_ai.py index 0000000..0000000 100644 --- a/lightwood/api/json_ai.py +++ b/lightwood/api/json_ai.py @@ -459,7 +459,9 @@ def code_from_json_ai(json_ai: JsonAI) -> str: ) ignored_cols = json_ai.problem_definition.ignore_features - input_cols = ',...
19,526
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-503", "repo": "mindsdb/lightwood", "base_commit": "1faa12d6216e3c911604429eefb65898b8b60773", "pull_number": 503, "issue_numbers": [ ...
mindsdb__lightwood-518
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 05c164fe3a7cfbe49ac80c09ddfe4779aa8c7cf9 Changed files: - lightwood/api/ensemble.py...
diff --git a/lightwood/api/ensemble.py b/lightwood/api/ensemble.py deleted file mode 100644 index 0000000..0000000 --- a/lightwood/api/ensemble.py +++ /dev/null @@ -1,67 +0,0 @@ -from lightwood import Predictor -from lightwood.constants.lightwood import ColumnDataTypes -from collections import Counter -import numpy as ...
1,112
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-518", "repo": "mindsdb/lightwood", "base_commit": "05c164fe3a7cfbe49ac80c09ddfe4779aa8c7cf9", "pull_number": 518, "issue_numbers": [ ...
mindsdb__lightwood-524
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: a64454ead0530a24ee018fc905dfb1f36102bd40 Changed files: - lightwood/model/sktime.py...
diff --git a/lightwood/model/sktime.py b/lightwood/model/sktime.py index 0000000..0000000 100644 --- a/lightwood/model/sktime.py +++ b/lightwood/model/sktime.py @@ -42,7 +42,8 @@ class SkTime(BaseModel): for gcol in self.grouped_by} if self.ts_analysis['tss'].group_by else {}} ...
3,248
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-524", "repo": "mindsdb/lightwood", "base_commit": "a64454ead0530a24ee018fc905dfb1f36102bd40", "pull_number": 524, "issue_numbers": [ ...
mindsdb__lightwood-525
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 54170c68887fe6a97dccf987e43f3aaf7cd3e243 Changed files: - lightwood/api/json_ai.py ...
diff --git a/lightwood/api/json_ai.py b/lightwood/api/json_ai.py index 0000000..0000000 100644 --- a/lightwood/api/json_ai.py +++ b/lightwood/api/json_ai.py @@ -151,6 +151,7 @@ def generate_json_ai( ): input_cols.append(col_name) + tss = problem_definition.timeseries_settings is_target_p...
41,789
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-525", "repo": "mindsdb/lightwood", "base_commit": "54170c68887fe6a97dccf987e43f3aaf7cd3e243", "pull_number": 525, "issue_numbers": [ ...
mindsdb__lightwood-538
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 82895a72fd1214fc0c234420998574f505064d17 Changed files: - lightwood/api/types.py - ...
diff --git a/lightwood/api/types.py b/lightwood/api/types.py index 0000000..0000000 100644 --- a/lightwood/api/types.py +++ b/lightwood/api/types.py @@ -348,7 +348,7 @@ class ProblemDefinition: """ target = obj['target'] nsubsets = obj.get('nsubsets', 30) - pct_invalid = obj.get('pct_i...
25,028
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-538", "repo": "mindsdb/lightwood", "base_commit": "82895a72fd1214fc0c234420998574f505064d17", "pull_number": 538, "issue_numbers": [ ...
mindsdb__lightwood-540
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 6475193bc155cab3b231344b69e81fe1e2551a02 Changed files: - lightwood/api/json_ai.py ...
diff --git a/lightwood/api/json_ai.py b/lightwood/api/json_ai.py index 0000000..0000000 100644 --- a/lightwood/api/json_ai.py +++ b/lightwood/api/json_ai.py @@ -302,7 +302,6 @@ def generate_json_ai( explainer=None, features=features, outputs=outputs, - imports=None, problem_de...
34,610
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-540", "repo": "mindsdb/lightwood", "base_commit": "6475193bc155cab3b231344b69e81fe1e2551a02", "pull_number": 540, "issue_numbers": [ ...
mindsdb__lightwood-579
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: c0b4ba147f9d4f70a7330ccf07951c8d7fddd562 Changed files: - lightwood/api/json_ai.py ...
diff --git a/lightwood/api/json_ai.py b/lightwood/api/json_ai.py index 0000000..0000000 100644 --- a/lightwood/api/json_ai.py +++ b/lightwood/api/json_ai.py @@ -1050,7 +1050,7 @@ if self.problem_definition.fit_on_validation: predict_body = f""" # Remove columns that user specifies to ignore log.info(f'Dropping f...
29,992
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-579", "repo": "mindsdb/lightwood", "base_commit": "c0b4ba147f9d4f70a7330ccf07951c8d7fddd562", "pull_number": 579, "issue_numbers": [ ...
mindsdb__lightwood-603
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 79f27325a0877bb95709373007a97161fc9bb2eb Changed files: - lightwood/helpers/log.py ...
diff --git a/lightwood/helpers/log.py b/lightwood/helpers/log.py index 0000000..0000000 100644 --- a/lightwood/helpers/log.py +++ b/lightwood/helpers/log.py @@ -6,7 +6,8 @@ def initialize_log(): pid = os.getpid() logging.basicConfig() log = logging.getLogger(f'lightwood-{pid}') - log.setLevel(logging....
635
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-603", "repo": "mindsdb/lightwood", "base_commit": "79f27325a0877bb95709373007a97161fc9bb2eb", "pull_number": 603, "issue_numbers": [ ...
mindsdb__lightwood-608
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 79f27325a0877bb95709373007a97161fc9bb2eb Changed files: - lightwood/helpers/log.py ...
diff --git a/lightwood/helpers/log.py b/lightwood/helpers/log.py index 0000000..0000000 100644 --- a/lightwood/helpers/log.py +++ b/lightwood/helpers/log.py @@ -1,10 +1,15 @@ import logging import os +import colorlog def initialize_log(): pid = os.getpid() - logging.basicConfig() + + handler = colorlo...
734
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-608", "repo": "mindsdb/lightwood", "base_commit": "79f27325a0877bb95709373007a97161fc9bb2eb", "pull_number": 608, "issue_numbers": [ ...
mindsdb__lightwood-619
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: e045f67f2b059ac811f9b502a11649221bca17ff Changed files: - lightwood/encoder/image/i...
diff --git a/lightwood/encoder/image/img_2_vec.py b/lightwood/encoder/image/img_2_vec.py index 0000000..0000000 100644 --- a/lightwood/encoder/image/img_2_vec.py +++ b/lightwood/encoder/image/img_2_vec.py @@ -3,6 +3,7 @@ import torch import torchvision.transforms as transforms from lightwood.encoder.image.helpers.img...
1,557
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-619", "repo": "mindsdb/lightwood", "base_commit": "e045f67f2b059ac811f9b502a11649221bca17ff", "pull_number": 619, "issue_numbers": [ ...
mindsdb__lightwood-633
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 555ff768be54a21beb6e25dafd5238af09effb02 Changed files: - lightwood/api/high_level....
diff --git a/lightwood/api/high_level.py b/lightwood/api/high_level.py index 0000000..0000000 100644 --- a/lightwood/api/high_level.py +++ b/lightwood/api/high_level.py @@ -176,3 +176,16 @@ def _module_from_code(code: str, module_name: str) -> ModuleType: spec.loader.exec_module(temp_module) return temp...
5,255
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-633", "repo": "mindsdb/lightwood", "base_commit": "555ff768be54a21beb6e25dafd5238af09effb02", "pull_number": 633, "issue_numbers": [ ...
mindsdb__lightwood-645
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 462f3ab5ee47dcf6bc77a4cf3332ced7abea04ed Changed files: - lightwood/mixer/__init__....
diff --git a/lightwood/mixer/__init__.py b/lightwood/mixer/__init__.py index 0000000..0000000 100644 --- a/lightwood/mixer/__init__.py +++ b/lightwood/mixer/__init__.py @@ -6,5 +6,9 @@ from lightwood.mixer.lightgbm_array import LightGBMArray from lightwood.mixer.sktime import SkTime from lightwood.mixer.regression im...
3,169
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-645", "repo": "mindsdb/lightwood", "base_commit": "462f3ab5ee47dcf6bc77a4cf3332ced7abea04ed", "pull_number": 645, "issue_numbers": [ ...
mindsdb__lightwood-658
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 462f3ab5ee47dcf6bc77a4cf3332ced7abea04ed Changed files: - lightwood/ensemble/__init...
diff --git a/lightwood/ensemble/__init__.py b/lightwood/ensemble/__init__.py index 0000000..0000000 100644 --- a/lightwood/ensemble/__init__.py +++ b/lightwood/ensemble/__init__.py @@ -1,5 +1,6 @@ from lightwood.ensemble.base import BaseEnsemble from lightwood.ensemble.best_of import BestOf +from lightwood.ensemble.m...
1,173
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-658", "repo": "mindsdb/lightwood", "base_commit": "462f3ab5ee47dcf6bc77a4cf3332ced7abea04ed", "pull_number": 658, "issue_numbers": [ ...
mindsdb__lightwood-677
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 353e37970dbf610b14fdf932ee9b10eed194f5a0 Changed files: - lightwood/analysis/analyz...
diff --git a/lightwood/analysis/analyze.py b/lightwood/analysis/analyze.py index 0000000..0000000 100644 --- a/lightwood/analysis/analyze.py +++ b/lightwood/analysis/analyze.py @@ -1,5 +1,6 @@ from typing import Dict, List, Tuple, Optional +from lightwood.helpers.log import log from lightwood.api import dtype from...
4,779
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-677", "repo": "mindsdb/lightwood", "base_commit": "353e37970dbf610b14fdf932ee9b10eed194f5a0", "pull_number": 677, "issue_numbers": [ ...
mindsdb__lightwood-679
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 353e37970dbf610b14fdf932ee9b10eed194f5a0 Changed files: - lightwood/analysis/__init...
diff --git a/lightwood/analysis/__init__.py b/lightwood/analysis/__init__.py index 0000000..0000000 100644 --- a/lightwood/analysis/__init__.py +++ b/lightwood/analysis/__init__.py @@ -8,5 +8,11 @@ from lightwood.analysis.nc.calibrate import ICP from lightwood.analysis.helpers.acc_stats import AccStats from lightwood...
2,268
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-679", "repo": "mindsdb/lightwood", "base_commit": "353e37970dbf610b14fdf932ee9b10eed194f5a0", "pull_number": 679, "issue_numbers": [ ...
mindsdb__lightwood-681
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 353e37970dbf610b14fdf932ee9b10eed194f5a0 Changed files: - lightwood/api/json_ai.py ...
diff --git a/lightwood/api/json_ai.py b/lightwood/api/json_ai.py index 0000000..0000000 100644 --- a/lightwood/api/json_ai.py +++ b/lightwood/api/json_ai.py @@ -569,129 +569,110 @@ def _add_implicit_values(json_ai: JsonAI) -> JsonAI: ) # Add "hidden" fields - hidden_fields = [ - ( - ...
29,949
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-681", "repo": "mindsdb/lightwood", "base_commit": "353e37970dbf610b14fdf932ee9b10eed194f5a0", "pull_number": 681, "issue_numbers": [ ...
mindsdb__lightwood-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: mindsdb/lightwood Base commit: c636ea782ca8d4ef5cee63af3941405e35ecc2d3 Changed files: - lightwood/mixer/sktime.py...
diff --git a/lightwood/mixer/sktime.py b/lightwood/mixer/sktime.py index 0000000..0000000 100644 --- a/lightwood/mixer/sktime.py +++ b/lightwood/mixer/sktime.py @@ -32,6 +32,7 @@ class SkTime(BaseMixer): self.grouped_by = ['__default'] if not ts_analysis['tss'].group_by else ts_analysis['tss'].group_by ...
3,411
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-689", "repo": "mindsdb/lightwood", "base_commit": "c636ea782ca8d4ef5cee63af3941405e35ecc2d3", "pull_number": 689, "issue_numbers": [ ...
mindsdb__lightwood-692
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 2e4c462cba605267cb3591b5712fae8644c3e310 Changed files: - lightwood/ensemble/__init...
diff --git a/lightwood/ensemble/__init__.py b/lightwood/ensemble/__init__.py index 0000000..0000000 100644 --- a/lightwood/ensemble/__init__.py +++ b/lightwood/ensemble/__init__.py @@ -1,6 +1,6 @@ from lightwood.ensemble.base import BaseEnsemble from lightwood.ensemble.best_of import BestOf from lightwood.ensemble.m...
2,323
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-692", "repo": "mindsdb/lightwood", "base_commit": "2e4c462cba605267cb3591b5712fae8644c3e310", "pull_number": 692, "issue_numbers": [ ...
mindsdb__lightwood-694
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: d0e41c846fada1f1bd13f044254ac9c32db7c53d Changed files: - lightwood/analysis/nc/cal...
diff --git a/lightwood/analysis/nc/calibrate.py b/lightwood/analysis/nc/calibrate.py index 0000000..0000000 100644 --- a/lightwood/analysis/nc/calibrate.py +++ b/lightwood/analysis/nc/calibrate.py @@ -89,7 +89,7 @@ class ICP(BaseAnalysisBlock): # setup prediction cache to avoid additional .predict() call...
12,447
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-694", "repo": "mindsdb/lightwood", "base_commit": "d0e41c846fada1f1bd13f044254ac9c32db7c53d", "pull_number": 694, "issue_numbers": [ ...
mindsdb__lightwood-698
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 2e4c462cba605267cb3591b5712fae8644c3e310 Changed files: - lightwood/analysis/analyz...
diff --git a/lightwood/analysis/analyze.py b/lightwood/analysis/analyze.py index 0000000..0000000 100644 --- a/lightwood/analysis/analyze.py +++ b/lightwood/analysis/analyze.py @@ -84,13 +84,13 @@ def model_analyzer( # Populate ModelAnalysis object # ------------------------- # model_analysis = ModelAnal...
2,840
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-698", "repo": "mindsdb/lightwood", "base_commit": "2e4c462cba605267cb3591b5712fae8644c3e310", "pull_number": 698, "issue_numbers": [ ...
mindsdb__lightwood-747
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: d1503f09f9926534bea0220159e1561bc5590065 Changed files: - lightwood/data/timeseries...
diff --git a/lightwood/data/timeseries_transform.py b/lightwood/data/timeseries_transform.py index 0000000..0000000 100644 --- a/lightwood/data/timeseries_transform.py +++ b/lightwood/data/timeseries_transform.py @@ -40,6 +40,9 @@ def transform_timeseries( ob_arr = tss.order_by window = tss.window + if t...
9,974
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-747", "repo": "mindsdb/lightwood", "base_commit": "d1503f09f9926534bea0220159e1561bc5590065", "pull_number": 747, "issue_numbers": [ ...
mindsdb__lightwood-748
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: d1503f09f9926534bea0220159e1561bc5590065 Changed files: - lightwood/data/encoded_ds...
diff --git a/lightwood/data/encoded_ds.py b/lightwood/data/encoded_ds.py index 0000000..0000000 100644 --- a/lightwood/data/encoded_ds.py +++ b/lightwood/data/encoded_ds.py @@ -67,10 +67,11 @@ class EncodedDs(Dataset): if hasattr(self.encoders[col], 'data_window'): cols = [self.tar...
17,150
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-748", "repo": "mindsdb/lightwood", "base_commit": "d1503f09f9926534bea0220159e1561bc5590065", "pull_number": 748, "issue_numbers": [ ...
mindsdb__lightwood-761
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: c9bbf688afd959061d9decf0e1cc06dc3af84917 Changed files: - lightwood/api/json_ai.py ...
diff --git a/lightwood/api/json_ai.py b/lightwood/api/json_ai.py index 0000000..0000000 100644 --- a/lightwood/api/json_ai.py +++ b/lightwood/api/json_ai.py @@ -185,15 +185,18 @@ def generate_json_ai( exec(IMPORT_EXTERNAL_DIRS, globals()) target = problem_definition.target input_cols = [] + tss = prob...
41,668
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-761", "repo": "mindsdb/lightwood", "base_commit": "c9bbf688afd959061d9decf0e1cc06dc3af84917", "pull_number": 761, "issue_numbers": [ ...
mindsdb__lightwood-811
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: dc4563bac5f3529d830f2539c7dbf165026a4bdd Changed files: - lightwood/api/json_ai.py ...
diff --git a/lightwood/api/json_ai.py b/lightwood/api/json_ai.py index 0000000..0000000 100644 --- a/lightwood/api/json_ai.py +++ b/lightwood/api/json_ai.py @@ -1017,6 +1017,9 @@ if self.problem_definition.fit_on_all: predict_body = f""" self.mode = 'predict' +if len(data) == 0: + raise Exception("Empty inpu...
29,606
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-811", "repo": "mindsdb/lightwood", "base_commit": "dc4563bac5f3529d830f2539c7dbf165026a4bdd", "pull_number": 811, "issue_numbers": [ ...
mindsdb__lightwood-825
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: f2e7aa538280235e3df44dae0fa3f6c28f9247f8 Changed files: - lightwood/analysis/nc/cal...
diff --git a/lightwood/analysis/nc/calibrate.py b/lightwood/analysis/nc/calibrate.py index 0000000..0000000 100644 --- a/lightwood/analysis/nc/calibrate.py +++ b/lightwood/analysis/nc/calibrate.py @@ -283,15 +283,10 @@ class ICP(BaseAnalysisBlock): # convert (B, 2, 99) into (B, 2) given width or erro...
34,928
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-825", "repo": "mindsdb/lightwood", "base_commit": "f2e7aa538280235e3df44dae0fa3f6c28f9247f8", "pull_number": 825, "issue_numbers": [ ...
mindsdb__lightwood-846
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 7a49ff49bba855966294a8ad8ed159f88e953433 Changed files: - lightwood/data/infer_type...
diff --git a/lightwood/data/infer_types.py b/lightwood/data/infer_types.py index 0000000..0000000 100644 --- a/lightwood/data/infer_types.py +++ b/lightwood/data/infer_types.py @@ -236,9 +236,9 @@ def get_column_data_type(arg_tup): lengths.append(len(item_tags)) unique_tokens = unique_...
12,820
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-846", "repo": "mindsdb/lightwood", "base_commit": "7a49ff49bba855966294a8ad8ed159f88e953433", "pull_number": 846, "issue_numbers": [ ...
mindsdb__lightwood-859
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: fee72018874076390c92dd5bd58c7cbe46715ac7 Changed files: - lightwood/encoder/categor...
diff --git a/lightwood/encoder/categorical/binary.py b/lightwood/encoder/categorical/binary.py index 0000000..0000000 100644 --- a/lightwood/encoder/categorical/binary.py +++ b/lightwood/encoder/categorical/binary.py @@ -1,10 +1,12 @@ +from copy import deepcopy as dc +from typing import Dict, List, Iterable, Tuple + i...
9,909
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-859", "repo": "mindsdb/lightwood", "base_commit": "fee72018874076390c92dd5bd58c7cbe46715ac7", "pull_number": 859, "issue_numbers": [ ...
mindsdb__lightwood-866
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 1b6ade47e8b974eae8229b40bde809699696749d Changed files: - lightwood/analysis/nc/uti...
diff --git a/lightwood/analysis/nc/util.py b/lightwood/analysis/nc/util.py index 0000000..0000000 100644 --- a/lightwood/analysis/nc/util.py +++ b/lightwood/analysis/nc/util.py @@ -163,8 +163,12 @@ def get_categorical_conf(raw_confs: np.ndarray): """ if len(raw_confs.shape) == 1: raw_confs = np.expan...
16,866
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-866", "repo": "mindsdb/lightwood", "base_commit": "1b6ade47e8b974eae8229b40bde809699696749d", "pull_number": 866, "issue_numbers": [ ...
mindsdb__lightwood-868
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: db021d8c5a88df665c1c0e70f88b31ff89123c65 Changed files: - lightwood/api/json_ai.py ...
diff --git a/lightwood/api/json_ai.py b/lightwood/api/json_ai.py index 0000000..0000000 100644 --- a/lightwood/api/json_ai.py +++ b/lightwood/api/json_ai.py @@ -193,7 +193,8 @@ def generate_json_ai( tss = problem_definition.timeseries_settings dtype_dict = type_information.dtypes for k in type_informatio...
30,970
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-868", "repo": "mindsdb/lightwood", "base_commit": "db021d8c5a88df665c1c0e70f88b31ff89123c65", "pull_number": 868, "issue_numbers": [ ...
mindsdb__lightwood-889
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 22ea9ebb5c3aaad406ed4145ab2332586ab3dc42 Changed files: - lightwood/data/cleaner.py...
diff --git a/lightwood/data/cleaner.py b/lightwood/data/cleaner.py index 0000000..0000000 100644 --- a/lightwood/data/cleaner.py +++ b/lightwood/data/cleaner.py @@ -264,7 +264,9 @@ def _clean_quantity(element: object) -> Optional[float]: """ Given a quantity, clean and convert it into float numeric format. If...
9,924
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-889", "repo": "mindsdb/lightwood", "base_commit": "22ea9ebb5c3aaad406ed4145ab2332586ab3dc42", "pull_number": 889, "issue_numbers": [ ...
mindsdb__lightwood-927
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: f3bc6aadd9041a5abff49deb5135c8e42567557e Changed files: - lightwood/mixer/helpers/t...
diff --git a/lightwood/mixer/helpers/ts.py b/lightwood/mixer/helpers/ts.py index 0000000..0000000 100644 --- a/lightwood/mixer/helpers/ts.py +++ b/lightwood/mixer/helpers/ts.py @@ -11,28 +11,32 @@ from lightwood.api.types import TimeseriesSettings from lightwood.helpers.ts import get_group_matches, get_ts_groups -...
4,722
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-927", "repo": "mindsdb/lightwood", "base_commit": "f3bc6aadd9041a5abff49deb5135c8e42567557e", "pull_number": 927, "issue_numbers": [ ...
mindsdb__lightwood-928
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: fc689db0f6ecea5fc8dcb352b7d31d1237cec953 Changed files: - lightwood/mixer/lightgbm_...
diff --git a/lightwood/mixer/lightgbm_array.py b/lightwood/mixer/lightgbm_array.py index 0000000..0000000 100644 --- a/lightwood/mixer/lightgbm_array.py +++ b/lightwood/mixer/lightgbm_array.py @@ -38,31 +38,33 @@ class LightGBMArray(BaseMixer): self.horizon = tss.horizon self.submodel_stop_after = sto...
18,728
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-928", "repo": "mindsdb/lightwood", "base_commit": "fc689db0f6ecea5fc8dcb352b7d31d1237cec953", "pull_number": 928, "issue_numbers": [ ...
mindsdb__lightwood-964
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 258ad71ada124dadac251676b5dcc8df885d5f24 Changed files: - lightwood/data/timeseries...
diff --git a/lightwood/data/timeseries_transform.py b/lightwood/data/timeseries_transform.py index 0000000..0000000 100644 --- a/lightwood/data/timeseries_transform.py +++ b/lightwood/data/timeseries_transform.py @@ -144,13 +144,10 @@ def transform_timeseries( pool = mp.Pool(processes=nr_procs) # Make...
10,670
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-964", "repo": "mindsdb/lightwood", "base_commit": "258ad71ada124dadac251676b5dcc8df885d5f24", "pull_number": 964, "issue_numbers": [ ...
mindsdb__lightwood-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: mindsdb/lightwood Base commit: 72c9a8c26c1f5661b1fec9db3a590f824b13cc8f Changed files: - lightwood/mixer/lightgbm_...
diff --git a/lightwood/mixer/lightgbm_array.py b/lightwood/mixer/lightgbm_array.py index 0000000..0000000 100644 --- a/lightwood/mixer/lightgbm_array.py +++ b/lightwood/mixer/lightgbm_array.py @@ -49,7 +49,7 @@ class LightGBMArray(BaseMixer): dtype_dict, ...
3,164
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-968", "repo": "mindsdb/lightwood", "base_commit": "72c9a8c26c1f5661b1fec9db3a590f824b13cc8f", "pull_number": 968, "issue_numbers": [ ...
mindsdb__lightwood-970
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 5c3db59a839fa7106dce82cda84a11a08681106a Changed files: - lightwood/data/infer_type...
diff --git a/lightwood/data/infer_types.py b/lightwood/data/infer_types.py index 0000000..0000000 100644 --- a/lightwood/data/infer_types.py +++ b/lightwood/data/infer_types.py @@ -132,8 +132,7 @@ def type_check_date(element: object) -> str: try: dt = dateutil.parser.parse(str(element)) - # Not a...
18,036
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-970", "repo": "mindsdb/lightwood", "base_commit": "5c3db59a839fa7106dce82cda84a11a08681106a", "pull_number": 970, "issue_numbers": [ ...
mindsdb__lightwood-971
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 7f036979f97354a159c6229a491dc0b11494734e Changed files: - lightwood/data/timeseries...
diff --git a/lightwood/data/timeseries_transform.py b/lightwood/data/timeseries_transform.py index 0000000..0000000 100644 --- a/lightwood/data/timeseries_transform.py +++ b/lightwood/data/timeseries_transform.py @@ -50,6 +50,11 @@ def transform_timeseries( # infer frequency with get_delta oby_col = tss.order...
21,049
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-971", "repo": "mindsdb/lightwood", "base_commit": "7f036979f97354a159c6229a491dc0b11494734e", "pull_number": 971, "issue_numbers": [ ...
mindsdb__lightwood-979
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: d53e8edb6202356aa6a830c10e8eace3e91ee1c6 Changed files: - lightwood/analysis/helper...
diff --git a/lightwood/analysis/helpers/shap.py b/lightwood/analysis/helpers/shap.py index 0000000..0000000 100644 --- a/lightwood/analysis/helpers/shap.py +++ b/lightwood/analysis/helpers/shap.py @@ -29,6 +29,8 @@ class ShapleyValues(BaseAnalysisBlock): def __init__(self, deps: Optional[Tuple] = ...): su...
3,135
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-979", "repo": "mindsdb/lightwood", "base_commit": "d53e8edb6202356aa6a830c10e8eace3e91ee1c6", "pull_number": 979, "issue_numbers": [ ...
mindsdb__lightwood-983
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: d1af660b847336bc929cf2abbcc79185d8a9d956 Changed files: - lightwood/analysis/__init...
diff --git a/lightwood/analysis/__init__.py b/lightwood/analysis/__init__.py index 0000000..0000000 100644 --- a/lightwood/analysis/__init__.py +++ b/lightwood/analysis/__init__.py @@ -1,8 +1,8 @@ -# Base +# Phases from lightwood.analysis.analyze import model_analyzer from lightwood.analysis.explain import explain ...
1,975
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-983", "repo": "mindsdb/lightwood", "base_commit": "d1af660b847336bc929cf2abbcc79185d8a9d956", "pull_number": 983, "issue_numbers": [ ...
mindsdb__lightwood-1014
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: a7b02e6cfc54b7fb1844e3b69efbd3695eb6b58f Changed files: - lightwood/api/types.py - ...
diff --git a/lightwood/api/types.py b/lightwood/api/types.py index 0000000..0000000 100644 --- a/lightwood/api/types.py +++ b/lightwood/api/types.py @@ -62,6 +62,7 @@ class StatisticalAnalysis: in the information. :param nr_rows: Number of rows (samples) in the dataset + :param nr_columns: Numbe...
21,534
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1014", "repo": "mindsdb/lightwood", "base_commit": "a7b02e6cfc54b7fb1844e3b69efbd3695eb6b58f", "pull_number": 1014, "issue_numbers": [ ...
mindsdb__lightwood-1018
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: c4805a31318a7954b547572b95144b56da96c96b Changed files: - lightwood/api/json_ai.py ...
diff --git a/lightwood/api/json_ai.py b/lightwood/api/json_ai.py index 0000000..0000000 100644 --- a/lightwood/api/json_ai.py +++ b/lightwood/api/json_ai.py @@ -11,6 +11,7 @@ from lightwood.api.types import ( ) import inspect from lightwood.helpers.log import log +from lightwood.__about__ import __version__ as light...
34,110
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1018", "repo": "mindsdb/lightwood", "base_commit": "c4805a31318a7954b547572b95144b56da96c96b", "pull_number": 1018, "issue_numbers": [ ...
mindsdb__lightwood-1046
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 6858e4f4a4834892daf387eead7214c9c7712d93 Changed files: - lightwood/analysis/nc/cal...
diff --git a/lightwood/analysis/nc/calibrate.py b/lightwood/analysis/nc/calibrate.py index 0000000..0000000 100644 --- a/lightwood/analysis/nc/calibrate.py +++ b/lightwood/analysis/nc/calibrate.py @@ -446,7 +446,10 @@ class ICP(BaseAnalysisBlock): anomalies = get_anomalies(row_insights, ...
23,156
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1046", "repo": "mindsdb/lightwood", "base_commit": "6858e4f4a4834892daf387eead7214c9c7712d93", "pull_number": 1046, "issue_numbers": [ ...
mindsdb__lightwood-1051
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 6858e4f4a4834892daf387eead7214c9c7712d93 Changed files: - setup.py ## Problem stat...
diff --git a/setup.py b/setup.py index 0000000..0000000 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ setuptools.setup( description=about['__description__'], long_description=long_description, long_description_content_type="text/markdown", - packages=setuptools.find_packages(), + packages=...
1,538
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1051", "repo": "mindsdb/lightwood", "base_commit": "6858e4f4a4834892daf387eead7214c9c7712d93", "pull_number": 1051, "issue_numbers": [ ...
mindsdb__lightwood-1062
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 01c070d9420568b309191e104931f591d68510b5 Changed files: - lightwood/helpers/ts.py ...
diff --git a/lightwood/helpers/ts.py b/lightwood/helpers/ts.py index 0000000..0000000 100644 --- a/lightwood/helpers/ts.py +++ b/lightwood/helpers/ts.py @@ -240,10 +240,13 @@ def detect_freq_period(deltas: pd.DataFrame, tss, n_points) -> tuple: diffs = [(tag, abs(deltas - secs)) for tag, secs in secs_to_interval...
8,778
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1062", "repo": "mindsdb/lightwood", "base_commit": "01c070d9420568b309191e104931f591d68510b5", "pull_number": 1062, "issue_numbers": [ ...
mindsdb__lightwood-1074
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 1b5e2de96001e1f4a621bb7dcf13ebb4f21b913a Changed files: - lightwood/api/json_ai.py ...
diff --git a/lightwood/api/json_ai.py b/lightwood/api/json_ai.py index 0000000..0000000 100644 --- a/lightwood/api/json_ai.py +++ b/lightwood/api/json_ai.py @@ -1208,6 +1208,7 @@ if self.pred_args.all_mixers: else: log.info(f'[Predict phase 4/{{n_phases}}] - Analyzing output') insights, global_insights = {ca...
35,352
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1074", "repo": "mindsdb/lightwood", "base_commit": "1b5e2de96001e1f4a621bb7dcf13ebb4f21b913a", "pull_number": 1074, "issue_numbers": [ ...
mindsdb__lightwood-1091
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 11fd21a55a72a09f644889551026029d09d20287 Changed files: - lightwood/helpers/seed.py...
diff --git a/lightwood/helpers/seed.py b/lightwood/helpers/seed.py index 0000000..0000000 100644 --- a/lightwood/helpers/seed.py +++ b/lightwood/helpers/seed.py @@ -1,7 +1,11 @@ import random import torch import numpy as np -import mxnet as mx + +try: + import mxnet as mx +except Exception: + mx = None de...
1,660
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1091", "repo": "mindsdb/lightwood", "base_commit": "11fd21a55a72a09f644889551026029d09d20287", "pull_number": 1091, "issue_numbers": [ ...
mindsdb__lightwood-1101
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 44273c63f65199e0fe78c1bc0fff44e5eecaa18d Changed files: - lightwood/api/json_ai.py ...
diff --git a/lightwood/api/json_ai.py b/lightwood/api/json_ai.py index 0000000..0000000 100644 --- a/lightwood/api/json_ai.py +++ b/lightwood/api/json_ai.py @@ -1024,6 +1024,8 @@ for mixer in self.mixers: raise e # Update mixers to trained versions +if not trained_mixers: + raise Exception('No mixers...
35,604
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1101", "repo": "mindsdb/lightwood", "base_commit": "44273c63f65199e0fe78c1bc0fff44e5eecaa18d", "pull_number": 1101, "issue_numbers": [ ...
mindsdb__lightwood-1117
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 0b7b4c2ca4e914e8887dad569300eea1025b1131 Changed files: - lightwood/analysis/nc/cal...
diff --git a/lightwood/analysis/nc/calibrate.py b/lightwood/analysis/nc/calibrate.py index 0000000..0000000 100644 --- a/lightwood/analysis/nc/calibrate.py +++ b/lightwood/analysis/nc/calibrate.py @@ -105,19 +105,20 @@ class ICP(BaseAnalysisBlock): icp_df = deepcopy(ns.data) # setup predicti...
36,778
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1117", "repo": "mindsdb/lightwood", "base_commit": "0b7b4c2ca4e914e8887dad569300eea1025b1131", "pull_number": 1117, "issue_numbers": [ ...
mindsdb__lightwood-1131
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: fec1fb057e41a34f131a8fdef38ecb10634989da Changed files: - lightwood/api/predictor.p...
diff --git a/lightwood/api/predictor.py b/lightwood/api/predictor.py index 0000000..0000000 100644 --- a/lightwood/api/predictor.py +++ b/lightwood/api/predictor.py @@ -11,7 +11,7 @@ class PredictorInterface: Abstraction of a Lightwood predictor. The ``PredictorInterface`` encompasses how Lightwood interacts with ...
5,629
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1131", "repo": "mindsdb/lightwood", "base_commit": "fec1fb057e41a34f131a8fdef38ecb10634989da", "pull_number": 1131, "issue_numbers": [ ...
mindsdb__lightwood-1155
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 8a198cbf27d54fee52a56dfa3e49c4a5ed30f622 Changed files: - lightwood/data/timeseries...
diff --git a/lightwood/data/timeseries_transform.py b/lightwood/data/timeseries_transform.py index 0000000..0000000 100644 --- a/lightwood/data/timeseries_transform.py +++ b/lightwood/data/timeseries_transform.py @@ -75,7 +75,7 @@ def transform_timeseries( raise Exception( ...
13,064
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1155", "repo": "mindsdb/lightwood", "base_commit": "8a198cbf27d54fee52a56dfa3e49c4a5ed30f622", "pull_number": 1155, "issue_numbers": [ ...
mindsdb__lightwood-1175
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 9eadd1472e78102408c48e420940b7513b644db2 Changed files: - lightwood/api/json_ai.py ...
diff --git a/lightwood/api/json_ai.py b/lightwood/api/json_ai.py index 0000000..0000000 100644 --- a/lightwood/api/json_ai.py +++ b/lightwood/api/json_ai.py @@ -835,6 +835,8 @@ def code_from_json_ai(json_ai: JsonAI) -> str: input_cols = [x.replace("'", "\\'").replace('"', '\\"') for x in json_ai.encoders ...
36,808
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1175", "repo": "mindsdb/lightwood", "base_commit": "9eadd1472e78102408c48e420940b7513b644db2", "pull_number": 1175, "issue_numbers": [ ...
mindsdb__lightwood-1176
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 9eadd1472e78102408c48e420940b7513b644db2 Changed files: - lightwood/analysis/nc/cal...
diff --git a/lightwood/analysis/nc/calibrate.py b/lightwood/analysis/nc/calibrate.py index 0000000..0000000 100644 --- a/lightwood/analysis/nc/calibrate.py +++ b/lightwood/analysis/nc/calibrate.py @@ -200,10 +200,11 @@ class ICP(BaseAnalysisBlock): # save relevant predictions in the caches, then ca...
56,231
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1176", "repo": "mindsdb/lightwood", "base_commit": "9eadd1472e78102408c48e420940b7513b644db2", "pull_number": 1176, "issue_numbers": [ ...
mindsdb__lightwood-1185
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 97b3febf6304e61bedd6d9c059bc4292694ccd79 Changed files: - lightwood/helpers/device....
diff --git a/lightwood/helpers/device.py b/lightwood/helpers/device.py index 0000000..0000000 100644 --- a/lightwood/helpers/device.py +++ b/lightwood/helpers/device.py @@ -5,6 +5,24 @@ from torch.cuda import device_count, get_device_capability def is_cuda_compatible(): + """ + Check if the system has CUDA-c...
4,531
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1185", "repo": "mindsdb/lightwood", "base_commit": "97b3febf6304e61bedd6d9c059bc4292694ccd79", "pull_number": 1185, "issue_numbers": [ ...
mindsdb__lightwood-1202
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 5409551969c60c02819e1f5715ce51a853346fe6 Changed files: - lightwood/mixer/sktime.py...
diff --git a/lightwood/mixer/sktime.py b/lightwood/mixer/sktime.py index 0000000..0000000 100644 --- a/lightwood/mixer/sktime.py +++ b/lightwood/mixer/sktime.py @@ -69,6 +69,9 @@ class SkTime(BaseMixer): :param use_stl: Whether to use de-trenders and de-seasonalizers fitted in the timeseries analysis phase. ...
12,899
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1202", "repo": "mindsdb/lightwood", "base_commit": "5409551969c60c02819e1f5715ce51a853346fe6", "pull_number": 1202, "issue_numbers": [ ...
mindsdb__lightwood-1204
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: b3515c87b80ae754a332cd236960f36c012c6b9d Changed files: - lightwood/mixer/base.py -...
diff --git a/lightwood/mixer/base.py b/lightwood/mixer/base.py index 0000000..0000000 100644 --- a/lightwood/mixer/base.py +++ b/lightwood/mixer/base.py @@ -30,7 +30,7 @@ class BaseMixer: def __init__(self, stop_after: float): """ - :param stop_after: Time budget to train this mixer. + :pa...
3,626
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1204", "repo": "mindsdb/lightwood", "base_commit": "b3515c87b80ae754a332cd236960f36c012c6b9d", "pull_number": 1204, "issue_numbers": [ ...
mindsdb__lightwood-1206
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: mindsdb/lightwood Base commit: 2ca281bab206153eae86c67eb8798da6c4545de4 Changed files: - lightwood/api/predictor.p...
diff --git a/lightwood/api/predictor.py b/lightwood/api/predictor.py index 0000000..0000000 100644 --- a/lightwood/api/predictor.py +++ b/lightwood/api/predictor.py @@ -28,6 +28,7 @@ class PredictorInterface: You can also use the predictor to now estimate new data: - ``predict``: Deploys the chosen best mod...
22,597
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1206", "repo": "mindsdb/lightwood", "base_commit": "2ca281bab206153eae86c67eb8798da6c4545de4", "pull_number": 1206, "issue_numbers": [ ...
mindsdb__lightwood-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: mindsdb/lightwood Base commit: 3e2fe676de0f29726cbcf0b07d00c846644ef7dc Changed files: - requirements_old/setup_ol...
diff --git a/requirements_old/setup_old.py b/requirements_old/setup_old.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/requirements_old/setup_old.py @@ -0,0 +1,67 @@ +import sys +import setuptools +import os + + +def remove_requirements(requirements, name, replace=''): + new_requirements = [] + ...
1,610
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "mindsdb__lightwood-1209", "repo": "mindsdb/lightwood", "base_commit": "3e2fe676de0f29726cbcf0b07d00c846644ef7dc", "pull_number": 1209, "issue_numbers": [ ...
pretix__pretix-241
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 20cb4abb7bbffca7df0b9f30459b51832325adf2 Changed files: - src/pretix/control/views/vouc...
diff --git a/src/pretix/control/views/vouchers.py b/src/pretix/control/views/vouchers.py index 0000000..0000000 100644 --- a/src/pretix/control/views/vouchers.py +++ b/src/pretix/control/views/vouchers.py @@ -37,7 +37,7 @@ class VoucherList(EventPermissionRequiredMixin, ListView): qs = qs.filter(Q(code__ic...
7,409
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-241", "repo": "pretix/pretix", "base_commit": "20cb4abb7bbffca7df0b9f30459b51832325adf2", "pull_number": 241, "issue_numbers": [ "228" ...
pretix__pretix-254
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 6d894bf98c963265b4bfa628013ea8388be3aa43 Changed files: - src/pretix/control/views/vouc...
diff --git a/src/pretix/control/views/vouchers.py b/src/pretix/control/views/vouchers.py index 0000000..0000000 100644 --- a/src/pretix/control/views/vouchers.py +++ b/src/pretix/control/views/vouchers.py @@ -5,7 +5,7 @@ from django.conf import settings from django.contrib import messages from django.core.urlresolver...
7,531
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-254", "repo": "pretix/pretix", "base_commit": "6d894bf98c963265b4bfa628013ea8388be3aa43", "pull_number": 254, "issue_numbers": [ "253" ...
pretix__pretix-287
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 2de328a33bd982bcb451a16d8fddea2210fe6731 Changed files: - src/pretix/plugins/paypal/pay...
diff --git a/src/pretix/plugins/paypal/payment.py b/src/pretix/plugins/paypal/payment.py index 0000000..0000000 100644 --- a/src/pretix/plugins/paypal/payment.py +++ b/src/pretix/plugins/paypal/payment.py @@ -221,7 +221,7 @@ class Paypal(BasePaymentProvider): payment_info = None if not payment_i...
13,521
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-287", "repo": "pretix/pretix", "base_commit": "2de328a33bd982bcb451a16d8fddea2210fe6731", "pull_number": 287, "issue_numbers": [ "275" ...
pretix__pretix-325
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 8f3ffd6f2ec3cfbe5915878b4616e6bae456cf6d Changed files: - src/pretix/base/models/event....
diff --git a/src/pretix/base/models/event.py b/src/pretix/base/models/event.py index 0000000..0000000 100644 --- a/src/pretix/base/models/event.py +++ b/src/pretix/base/models/event.py @@ -15,6 +15,7 @@ from pretix.base.email import CustomSMTPBackend from pretix.base.i18n import I18nCharField from pretix.base.models....
10,975
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-325", "repo": "pretix/pretix", "base_commit": "8f3ffd6f2ec3cfbe5915878b4616e6bae456cf6d", "pull_number": 325, "issue_numbers": [ "294" ...
pretix__pretix-334
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 9bce33957552aaeea287da89b46248ef06bc6083 Changed files: - src/pretix/base/payment.py #...
diff --git a/src/pretix/base/payment.py b/src/pretix/base/payment.py index 0000000..0000000 100644 --- a/src/pretix/base/payment.py +++ b/src/pretix/base/payment.py @@ -1,13 +1,16 @@ from collections import OrderedDict +from datetime import date from decimal import Decimal from typing import Any, Dict +import pytz...
13,894
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-334", "repo": "pretix/pretix", "base_commit": "9bce33957552aaeea287da89b46248ef06bc6083", "pull_number": 334, "issue_numbers": [ "303" ...
pretix__pretix-336
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 026d8dcd41013905f54373b361f662b95b205a08 Changed files: - src/pretix/base/services/stat...
diff --git a/src/pretix/base/services/stats.py b/src/pretix/base/services/stats.py index 0000000..0000000 100644 --- a/src/pretix/base/services/stats.py +++ b/src/pretix/base/services/stats.py @@ -93,7 +93,7 @@ def order_overview(event: Event) -> Tuple[List[Tuple[ItemCategory, List[Item]]], (p['item'], p['vari...
7,903
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-336", "repo": "pretix/pretix", "base_commit": "026d8dcd41013905f54373b361f662b95b205a08", "pull_number": 336, "issue_numbers": [ "302" ...
pretix__pretix-346
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 3930fc749a3a42a2139e7a54d077f28150617382 Changed files: - src/pretix/control/logdisplay...
diff --git a/src/pretix/control/logdisplay.py b/src/pretix/control/logdisplay.py index 0000000..0000000 100644 --- a/src/pretix/control/logdisplay.py +++ b/src/pretix/control/logdisplay.py @@ -59,7 +59,6 @@ def pretixcontrol_logentry_display(sender: Event, logentry: LogEntry, **kwargs): 'pretix.event.order.inv...
3,302
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-346", "repo": "pretix/pretix", "base_commit": "3930fc749a3a42a2139e7a54d077f28150617382", "pull_number": 346, "issue_numbers": [ "345" ...
pretix__pretix-396
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 4c2c302bfdc666006c3f31d1b54ea99d36785af6 Changed files: - src/pretix/control/forms/item...
diff --git a/src/pretix/control/forms/item.py b/src/pretix/control/forms/item.py index 0000000..0000000 100644 --- a/src/pretix/control/forms/item.py +++ b/src/pretix/control/forms/item.py @@ -105,12 +105,32 @@ class ItemCreateForm(I18nModelForm): 'You can select the...
27,489
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-396", "repo": "pretix/pretix", "base_commit": "4c2c302bfdc666006c3f31d1b54ea99d36785af6", "pull_number": 396, "issue_numbers": [ "386" ...
pretix__pretix-431
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: b301d2048835ea17fc88b4a6274e6b3a65254a36 Changed files: - src/pretix/control/forms/orga...
diff --git a/src/pretix/control/forms/organizer.py b/src/pretix/control/forms/organizer.py index 0000000..0000000 100644 --- a/src/pretix/control/forms/organizer.py +++ b/src/pretix/control/forms/organizer.py @@ -2,8 +2,9 @@ from django import forms from django.core.exceptions import ValidationError from django.utils...
15,369
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-431", "repo": "pretix/pretix", "base_commit": "b301d2048835ea17fc88b4a6274e6b3a65254a36", "pull_number": 431, "issue_numbers": [ "379",...
pretix__pretix-432
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 811c498080e90d4f2d2df0edaec2e92e9ca9b28c Changed files: - src/pretix/control/forms/even...
diff --git a/src/pretix/control/forms/event.py b/src/pretix/control/forms/event.py index 0000000..0000000 100644 --- a/src/pretix/control/forms/event.py +++ b/src/pretix/control/forms/event.py @@ -5,7 +5,7 @@ from django.core.validators import RegexValidator from django.utils.timezone import get_current_timezone_name ...
34,029
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-432", "repo": "pretix/pretix", "base_commit": "811c498080e90d4f2d2df0edaec2e92e9ca9b28c", "pull_number": 432, "issue_numbers": [ "428" ...
pretix__pretix-452
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: a6a3544628a9a11cbcbf0e7f45dcdbc77a317f3b Changed files: - src/pretix/base/models/event....
diff --git a/src/pretix/base/models/event.py b/src/pretix/base/models/event.py index 0000000..0000000 100644 --- a/src/pretix/base/models/event.py +++ b/src/pretix/base/models/event.py @@ -59,6 +59,7 @@ class Event(LoggedModel): """ settings_namespace = 'event' + CURRENCY_CHOICES = [(c.alpha_3, c.alpha_3...
25,405
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-452", "repo": "pretix/pretix", "base_commit": "a6a3544628a9a11cbcbf0e7f45dcdbc77a317f3b", "pull_number": 452, "issue_numbers": [ "446" ...
pretix__pretix-476
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: d1643b4506a4a0fed520e3003128efb528a86c1c Changed files: - src/pretix/plugins/sendmail/v...
diff --git a/src/pretix/plugins/sendmail/views.py b/src/pretix/plugins/sendmail/views.py index 0000000..0000000 100644 --- a/src/pretix/plugins/sendmail/views.py +++ b/src/pretix/plugins/sendmail/views.py @@ -4,13 +4,14 @@ from datetime import timedelta import pytz from django.contrib import messages from django.db....
4,740
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-476", "repo": "pretix/pretix", "base_commit": "d1643b4506a4a0fed520e3003128efb528a86c1c", "pull_number": 476, "issue_numbers": [ "447" ...
pretix__pretix-490
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 7d9a1b5e0cc4acf1f34163e553c5c05720a05b52 Changed files: - src/pretix/control/views/user...
diff --git a/src/pretix/control/views/user.py b/src/pretix/control/views/user.py index 0000000..0000000 100644 --- a/src/pretix/control/views/user.py +++ b/src/pretix/control/views/user.py @@ -262,6 +262,7 @@ class User2FADeviceConfirmTOTPView(RecentAuthenticationRequiredMixin, TemplateVi ctx = super().get_con...
9,682
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-490", "repo": "pretix/pretix", "base_commit": "7d9a1b5e0cc4acf1f34163e553c5c05720a05b52", "pull_number": 490, "issue_numbers": [ "41" ...
pretix__pretix-558
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 0ab6ac569e6ced8601919fe191ba1debac63a2a4 Changed files: - src/pretix/control/views/vouc...
diff --git a/src/pretix/control/views/vouchers.py b/src/pretix/control/views/vouchers.py index 0000000..0000000 100644 --- a/src/pretix/control/views/vouchers.py +++ b/src/pretix/control/views/vouchers.py @@ -101,7 +101,7 @@ class VoucherTags(EventPermissionRequiredMixin, TemplateView): ctx = super().get_conte...
7,719
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-558", "repo": "pretix/pretix", "base_commit": "0ab6ac569e6ced8601919fe191ba1debac63a2a4", "pull_number": 558, "issue_numbers": [ "556" ...
pretix__pretix-564
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 99d614289ec645cbc2e24c81fa7d19ccf5e311a6 Changed files: - src/pretix/presale/forms/chec...
diff --git a/src/pretix/presale/forms/checkout.py b/src/pretix/presale/forms/checkout.py index 0000000..0000000 100644 --- a/src/pretix/presale/forms/checkout.py +++ b/src/pretix/presale/forms/checkout.py @@ -19,6 +19,7 @@ from pretix.presale.signals import contact_form_fields, question_form_fields class ContactFo...
10,668
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-564", "repo": "pretix/pretix", "base_commit": "99d614289ec645cbc2e24c81fa7d19ccf5e311a6", "pull_number": 564, "issue_numbers": [ "130" ...
pretix__pretix-566
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 99d614289ec645cbc2e24c81fa7d19ccf5e311a6 Changed files: - src/pretix/control/views/orde...
diff --git a/src/pretix/control/views/orders.py b/src/pretix/control/views/orders.py index 0000000..0000000 100644 --- a/src/pretix/control/views/orders.py +++ b/src/pretix/control/views/orders.py @@ -59,6 +59,13 @@ class OrderList(EventPermissionRequiredMixin, ListView): if self.filter_form.is_valid(): ...
20,577
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-566", "repo": "pretix/pretix", "base_commit": "99d614289ec645cbc2e24c81fa7d19ccf5e311a6", "pull_number": 566, "issue_numbers": [ "565" ...
pretix__pretix-620
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: a2a88cfafa9f3578d64db1c7162c612bfb034ca7 Changed files: - src/pretix/plugins/stripe/pay...
diff --git a/src/pretix/plugins/stripe/payment.py b/src/pretix/plugins/stripe/payment.py index 0000000..0000000 100644 --- a/src/pretix/plugins/stripe/payment.py +++ b/src/pretix/plugins/stripe/payment.py @@ -33,6 +33,24 @@ class RefundForm(forms.Form): ) +class StripeKeyValidator(): + def __init__(self, pr...
17,224
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-620", "repo": "pretix/pretix", "base_commit": "a2a88cfafa9f3578d64db1c7162c612bfb034ca7", "pull_number": 620, "issue_numbers": [ "619",...
pretix__pretix-631
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 457901ff8269a74f1566a5f8d9d470343f50f7ee Changed files: - src/pretix/control/forms/filt...
diff --git a/src/pretix/control/forms/filter.py b/src/pretix/control/forms/filter.py index 0000000..0000000 100644 --- a/src/pretix/control/forms/filter.py +++ b/src/pretix/control/forms/filter.py @@ -93,10 +93,16 @@ class OrderFilterForm(FilterForm): else: qs = qs.filter(status=s) + ...
32,053
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-631", "repo": "pretix/pretix", "base_commit": "457901ff8269a74f1566a5f8d9d470343f50f7ee", "pull_number": 631, "issue_numbers": [ "628",...
pretix__pretix-638
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 645e82fb04fb089f6c284551db91a6008769be61 Changed files: - src/pretix/control/forms/rend...
diff --git a/src/pretix/control/forms/renderers.py b/src/pretix/control/forms/renderers.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/src/pretix/control/forms/renderers.py @@ -0,0 +1,54 @@ +from bootstrap3.renderers import FieldRenderer +from bootstrap3.text import text_value +from django.forms imp...
14,924
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-638", "repo": "pretix/pretix", "base_commit": "645e82fb04fb089f6c284551db91a6008769be61", "pull_number": 638, "issue_numbers": [ "635" ...
pretix__pretix-642
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 9213a40219bbc66abcc1bbde30c261fffc9cbf6b Changed files: - src/pretix/control/logdisplay...
diff --git a/src/pretix/control/logdisplay.py b/src/pretix/control/logdisplay.py index 0000000..0000000 100644 --- a/src/pretix/control/logdisplay.py +++ b/src/pretix/control/logdisplay.py @@ -1,8 +1,11 @@ import json from decimal import Decimal +import dateutil.parser +import pytz from django.dispatch import rece...
11,625
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-642", "repo": "pretix/pretix", "base_commit": "9213a40219bbc66abcc1bbde30c261fffc9cbf6b", "pull_number": 642, "issue_numbers": [ "630" ...
pretix__pretix-659
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 7dff5001b0cfbf5c63b5bdd84b095d8b8111e662 Changed files: - src/pretix/base/services/cart...
diff --git a/src/pretix/base/services/cart.py b/src/pretix/base/services/cart.py index 0000000..0000000 100644 --- a/src/pretix/base/services/cart.py +++ b/src/pretix/base/services/cart.py @@ -61,6 +61,8 @@ error_messages = { 'cart if you want to use it for a different product.'), 'voucher...
33,892
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-659", "repo": "pretix/pretix", "base_commit": "7dff5001b0cfbf5c63b5bdd84b095d8b8111e662", "pull_number": 659, "issue_numbers": [ "489" ...
pretix__pretix-675
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 50575d45c19be631636dc0cb930a3e6ae53647bf Changed files: - src/pretix/base/models/event....
diff --git a/src/pretix/base/models/event.py b/src/pretix/base/models/event.py index 0000000..0000000 100644 --- a/src/pretix/base/models/event.py +++ b/src/pretix/base/models/event.py @@ -639,6 +639,9 @@ class SubEvent(EventMixin, LoggedModel): data.update({v.property.name: v.value for v in self.meta_values.s...
32,510
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-675", "repo": "pretix/pretix", "base_commit": "50575d45c19be631636dc0cb930a3e6ae53647bf", "pull_number": 675, "issue_numbers": [ "634" ...
pretix__pretix-687
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: a08cb3b8e4adaa300868e3f730e045bc8e6d0203 Changed files: - src/pretix/base/signals.py #...
diff --git a/src/pretix/base/signals.py b/src/pretix/base/signals.py index 0000000..0000000 100644 --- a/src/pretix/base/signals.py +++ b/src/pretix/base/signals.py @@ -151,7 +151,7 @@ order_paid = EventPluginSignal( """ This signal is sent out every time an order is paid. The order object is given as the first argu...
6,818
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-687", "repo": "pretix/pretix", "base_commit": "a08cb3b8e4adaa300868e3f730e045bc8e6d0203", "pull_number": 687, "issue_numbers": [ "686" ...
pretix__pretix-744
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: d056013296e965b6b5c8d898825249d15912309c Changed files: - src/pretix/plugins/banktransf...
diff --git a/src/pretix/plugins/banktransfer/views.py b/src/pretix/plugins/banktransfer/views.py index 0000000..0000000 100644 --- a/src/pretix/plugins/banktransfer/views.py +++ b/src/pretix/plugins/banktransfer/views.py @@ -94,9 +94,9 @@ class ActionView(View): def _assign(self, trans, code): try: ...
13,516
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-744", "repo": "pretix/pretix", "base_commit": "d056013296e965b6b5c8d898825249d15912309c", "pull_number": 744, "issue_numbers": [ "674",...
pretix__pretix-749
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 139810c8a59e9ffe308f6d8653622145c8a8b0a5 Changed files: - src/pretix/base/services/orde...
diff --git a/src/pretix/base/services/orders.py b/src/pretix/base/services/orders.py index 0000000..0000000 100644 --- a/src/pretix/base/services/orders.py +++ b/src/pretix/base/services/orders.py @@ -646,7 +646,7 @@ def send_download_reminders(sender, **kwargs): try: o.send_mail( ...
41,608
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-749", "repo": "pretix/pretix", "base_commit": "139810c8a59e9ffe308f6d8653622145c8a8b0a5", "pull_number": 749, "issue_numbers": [ "747" ...
pretix__pretix-752
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: fc7bafe3d98b499f9ae2b2fe4f17e79552b62e4c Changed files: - src/pretix/base/services/orde...
diff --git a/src/pretix/base/services/orders.py b/src/pretix/base/services/orders.py index 0000000..0000000 100644 --- a/src/pretix/base/services/orders.py +++ b/src/pretix/base/services/orders.py @@ -10,7 +10,7 @@ import pytz from celery.exceptions import MaxRetriesExceededError from django.conf import settings fro...
38,946
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-752", "repo": "pretix/pretix", "base_commit": "fc7bafe3d98b499f9ae2b2fe4f17e79552b62e4c", "pull_number": 752, "issue_numbers": [ "751" ...
pretix__pretix-753
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 81439998033568b8592187f3761fbceda198a89f Changed files: - src/pretix/base/models/event....
diff --git a/src/pretix/base/models/event.py b/src/pretix/base/models/event.py index 0000000..0000000 100644 --- a/src/pretix/base/models/event.py +++ b/src/pretix/base/models/event.py @@ -100,7 +100,7 @@ class EventMixin: def get_date_range_display(self, tz=None) -> str: """ - Returns a formatte...
30,765
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-753", "repo": "pretix/pretix", "base_commit": "81439998033568b8592187f3761fbceda198a89f", "pull_number": 753, "issue_numbers": [ "735",...
pretix__pretix-760
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 67121decbf7e8e38167b935950b94f45519afaf8 Changed files: - src/pretix/api/views/order.py...
diff --git a/src/pretix/api/views/order.py b/src/pretix/api/views/order.py index 0000000..0000000 100644 --- a/src/pretix/api/views/order.py +++ b/src/pretix/api/views/order.py @@ -21,7 +21,8 @@ from pretix.base.models.organizer import TeamAPIToken from pretix.base.services.invoices import invoice_pdf from pretix.bas...
64,018
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-760", "repo": "pretix/pretix", "base_commit": "67121decbf7e8e38167b935950b94f45519afaf8", "pull_number": 760, "issue_numbers": [ "400" ...
pretix__pretix-776
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 1192e474c51eb968709e9fd42c90ec4a9e25ee7b Changed files: - src/pretix/base/services/orde...
diff --git a/src/pretix/base/services/orders.py b/src/pretix/base/services/orders.py index 0000000..0000000 100644 --- a/src/pretix/base/services/orders.py +++ b/src/pretix/base/services/orders.py @@ -812,7 +812,7 @@ class OrderChangeManager: if price is None: price = get_price(item, variation, su...
33,496
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-776", "repo": "pretix/pretix", "base_commit": "1192e474c51eb968709e9fd42c90ec4a9e25ee7b", "pull_number": 776, "issue_numbers": [ "754" ...
pretix__pretix-781
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: pretix/pretix Base commit: 2434bf14d5a59871bd4b967dfe05fd8ae647246f Changed files: - src/pretix/control/views/sube...
diff --git a/src/pretix/control/views/subevents.py b/src/pretix/control/views/subevents.py index 0000000..0000000 100644 --- a/src/pretix/control/views/subevents.py +++ b/src/pretix/control/views/subevents.py @@ -148,6 +148,7 @@ class SubEventEditorMixin(MetaDataEditorMixin): 'name': cl.name, ...
11,191
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "pretix__pretix-781", "repo": "pretix/pretix", "base_commit": "2434bf14d5a59871bd4b967dfe05fd8ae647246f", "pull_number": 781, "issue_numbers": [ "779" ...