Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ValueError
Message:      Trailing data
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1779, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 207, in _generate_tables
                  batch = "\n".join(ujson_dumps(x) for x in ujson_loads(full_data)).encode()
                                                            ^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/utils/json.py", line 20, in ujson_loads
                  return pd.io.json.ujson_loads(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              ValueError: Trailing data
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1348, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1832, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

instance_id
string
model_name_or_path
string
model_patch
string
astropy__astropy-12907
deepseek-v4-flash
diff --git a/astropy/modeling/separable.py b/astropy/modeling/separable.py index a308e2729..45bea3608 100644 --- a/astropy/modeling/separable.py +++ b/astropy/modeling/separable.py @@ -242,7 +242,7 @@ def _cstack(left, right): cright = _coord_matrix(right, 'right', noutp) else: cright = np.zeros(...
astropy__astropy-14182
deepseek-v4-flash
diff --git a/astropy/io/ascii/rst.py b/astropy/io/ascii/rst.py index abdeba8ef..828d31370 100644 --- a/astropy/io/ascii/rst.py +++ b/astropy/io/ascii/rst.py @@ -57,10 +57,12 @@ class RST(FixedWidth): data_class = SimpleRSTData header_class = SimpleRSTHeader - def __init__(self): - super().__init__...
astropy__astropy-14365
deepseek-v4-flash
diff --git a/astropy/io/ascii/qdp.py b/astropy/io/ascii/qdp.py index 83a4f004a..e01148ab1 100644 --- a/astropy/io/ascii/qdp.py +++ b/astropy/io/ascii/qdp.py @@ -60,7 +60,7 @@ def _line_type(line, delimiter=None): ValueError: Unrecognized QDP line... """ _decimal_re = r"[+-]?(\d+(\.\d*)?|\.\d+)([eE][+-]?\...
astropy__astropy-14995
deepseek-v4-flash
diff --git a/astropy/nddata/mixins/ndarithmetic.py b/astropy/nddata/mixins/ndarithmetic.py index 4153dfccb..56a867879 100644 --- a/astropy/nddata/mixins/ndarithmetic.py +++ b/astropy/nddata/mixins/ndarithmetic.py @@ -520,7 +520,7 @@ class NDArithmeticMixin: elif self.mask is None and operand is not None: ...
astropy__astropy-6938
deepseek-v4-flash
diff --git a/astropy/io/fits/fitsrec.py b/astropy/io/fits/fitsrec.py index 574b4073b1..cb79142dce 100644 --- a/astropy/io/fits/fitsrec.py +++ b/astropy/io/fits/fitsrec.py @@ -1261,7 +1261,7 @@ class FITS_rec(np.recarray): # Replace exponent separator in floating point numbers if 'D' in format: - ...
astropy__astropy-7746
deepseek-v4-flash
diff --git a/astropy/wcs/wcs.py b/astropy/wcs/wcs.py index d3a06f2b31..68fc8af2b8 100644 --- a/astropy/wcs/wcs.py +++ b/astropy/wcs/wcs.py @@ -1212,6 +1212,9 @@ reduce these to 2 dimensions using the naxis kwarg. """ def _return_list_of_arrays(axes, origin): + if any(x.size == 0 for x in ...
django__django-10914
deepseek-v4-flash
diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py index acee9887d2..bdeec80610 100644 --- a/django/conf/global_settings.py +++ b/django/conf/global_settings.py @@ -304,7 +304,7 @@ FILE_UPLOAD_TEMP_DIR = None # The numeric mode to set newly-uploaded files to. The value should be a mode # y...
django__django-10924
deepseek-v4-flash
diff --git a/django/forms/fields.py b/django/forms/fields.py index a977256525..ad6eb22586 100644 --- a/django/forms/fields.py +++ b/django/forms/fields.py @@ -1090,20 +1090,23 @@ class FilePathField(ChoiceField): if self.match is not None: self.match_re = re.compile(self.match) + if calla...
django__django-11001
deepseek-v4-flash
diff --git a/django/db/models/sql/compiler.py b/django/db/models/sql/compiler.py index 7649c39262..7c25218656 100644 --- a/django/db/models/sql/compiler.py +++ b/django/db/models/sql/compiler.py @@ -353,7 +353,7 @@ class SQLCompiler: # not taken into account so we strip it. When this entire method ...
django__django-11019
deepseek-v4-flash
diff --git a/django/forms/widgets.py b/django/forms/widgets.py index 02aa32b207..399f71c528 100644 --- a/django/forms/widgets.py +++ b/django/forms/widgets.py @@ -6,16 +6,21 @@ import copy import datetime import re import warnings +from collections import defaultdict from itertools import chain from django.conf ...
django__django-11039
deepseek-v4-flash
diff --git a/django/core/management/commands/sqlmigrate.py b/django/core/management/commands/sqlmigrate.py index f0b663222a..b51d1739a4 100644 --- a/django/core/management/commands/sqlmigrate.py +++ b/django/core/management/commands/sqlmigrate.py @@ -56,7 +56,7 @@ class Command(BaseCommand): targets = [(app_la...
django__django-11049
deepseek-v4-flash
diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index f32ce64629..71005490f3 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -1587,7 +1587,7 @@ class DurationField(Field): empty_strings_allowed = False default_error_messages ...
django__django-11099
deepseek-v4-flash
diff --git a/django/contrib/auth/validators.py b/django/contrib/auth/validators.py index b4878cfd45..1304f20a60 100644 --- a/django/contrib/auth/validators.py +++ b/django/contrib/auth/validators.py @@ -7,7 +7,7 @@ from django.utils.translation import gettext_lazy as _ @deconstructible class ASCIIUsernameValidator(...
django__django-11133
deepseek-v4-flash
diff --git a/django/http/response.py b/django/http/response.py index 6a84e193ba..5588f90f4d 100644 --- a/django/http/response.py +++ b/django/http/response.py @@ -231,6 +231,8 @@ class HttpResponseBase: # - when self._charset != 'utf-8' it re-encodes the content if isinstance(value, bytes): ...
django__django-11179
deepseek-v4-flash
diff --git a/django/db/models/deletion.py b/django/db/models/deletion.py index 92fe4affb9..3a462f1c4c 100644 --- a/django/db/models/deletion.py +++ b/django/db/models/deletion.py @@ -277,6 +277,7 @@ class Collector: if self.can_fast_delete(instance): with transaction.mark_for_rollback_on_e...
django__django-11283
deepseek-v4-flash
diff --git a/django/contrib/auth/migrations/0011_update_proxy_permissions.py b/django/contrib/auth/migrations/0011_update_proxy_permissions.py index 0e66649695..7f34b91719 100644 --- a/django/contrib/auth/migrations/0011_update_proxy_permissions.py +++ b/django/contrib/auth/migrations/0011_update_proxy_permissions.py @...
django__django-11422
deepseek-v4-flash
diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py index 7ca0d68fae..7bcc52731c 100644 --- a/django/utils/autoreload.py +++ b/django/utils/autoreload.py @@ -114,7 +114,13 @@ def iter_modules_and_files(modules, extra_files): # During debugging (with PyDev) the 'typing.io' and 'typing.re' objec...
django__django-11564
deepseek-v4-flash
diff --git a/django/core/files/storage.py b/django/core/files/storage.py index 4c27fce605..ac0c3766df 100644 --- a/django/core/files/storage.py +++ b/django/core/files/storage.py @@ -332,7 +332,12 @@ class FileSystemStorage(Storage): url = filepath_to_uri(name) if url is not None: url = u...
django__django-11583
deepseek-v4-flash
diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py index 25c3b44250..d3a273e93a 100644 --- a/django/utils/autoreload.py +++ b/django/utils/autoreload.py @@ -139,7 +139,7 @@ def iter_modules_and_files(modules, extra_files): path = Path(filename) try: resolved_path = path....
django__django-11620
deepseek-v4-flash
diff --git a/django/urls/resolvers.py b/django/urls/resolvers.py index 2154a46320..af5111d092 100644 --- a/django/urls/resolvers.py +++ b/django/urls/resolvers.py @@ -23,6 +23,8 @@ from django.utils.http import RFC3986_SUBDELIMS, escape_leading_slashes from django.utils.regex_helper import normalize from django.utils...
django__django-11630
deepseek-v4-flash
diff --git a/django/core/checks/model_checks.py b/django/core/checks/model_checks.py index 5c2266ca1d..7b156fceee 100644 --- a/django/core/checks/model_checks.py +++ b/django/core/checks/model_checks.py @@ -4,7 +4,8 @@ from collections import defaultdict from itertools import chain from django.apps import apps -fro...
django__django-11742
deepseek-v4-flash
diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index 9ce46e3f73..9c28289df4 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -976,6 +976,30 @@ class CharField(Field): ) ] else: + if sel...
django__django-11797
deepseek-v4-flash
diff --git a/django/db/models/lookups.py b/django/db/models/lookups.py index 105dc93251..a3127667a1 100644 --- a/django/db/models/lookups.py +++ b/django/db/models/lookups.py @@ -262,9 +262,11 @@ class Exact(FieldGetDbPrepValueMixin, BuiltinLookup): from django.db.models.sql.query import Query if isin...
django__django-11815
deepseek-v4-flash
diff --git a/django/db/migrations/serializer.py b/django/db/migrations/serializer.py index 27b5cbd379..4275f91a7f 100644 --- a/django/db/migrations/serializer.py +++ b/django/db/migrations/serializer.py @@ -120,9 +120,8 @@ class EnumSerializer(BaseSerializer): def serialize(self): enum_class = self.value....
django__django-11848
deepseek-v4-flash
diff --git a/django/utils/http.py b/django/utils/http.py index 572cfb4347..9c74f34f9b 100644 --- a/django/utils/http.py +++ b/django/utils/http.py @@ -176,10 +176,8 @@ def parse_http_date(date): try: year = int(m.group('year')) if year < 100: - if year < 70: - year += 20...
django__django-11905
deepseek-v4-flash
diff --git a/django/db/models/lookups.py b/django/db/models/lookups.py index 9344979c56..206840644c 100644 --- a/django/db/models/lookups.py +++ b/django/db/models/lookups.py @@ -462,6 +462,12 @@ class IsNull(BuiltinLookup): lookup_name = 'isnull' prepare_rhs = False + def get_prep_lookup(self): + ...
django__django-11910
deepseek-v4-flash
diff --git a/django/db/migrations/autodetector.py b/django/db/migrations/autodetector.py index 1c40161c7f..37bee83e26 100644 --- a/django/db/migrations/autodetector.py +++ b/django/db/migrations/autodetector.py @@ -817,7 +817,7 @@ class MigrationAutodetector: field_dec = self.deep_deconstruct(field) ...
django__django-11964
deepseek-v4-flash
diff --git a/django/db/models/query_utils.py b/django/db/models/query_utils.py index 189fb4fa44..eef05afb89 100644 --- a/django/db/models/query_utils.py +++ b/django/db/models/query_utils.py @@ -6,6 +6,7 @@ large and/or so that they can be used by other modules without getting into circular import difficulties. """ ...
django__django-11999
deepseek-v4-flash
diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index ee45bb941e..7879115ee4 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -763,8 +763,9 @@ class Field(RegisterLookupMixin): if not getattr(cls, self.attname, None): ...
django__django-12113
deepseek-v4-flash
diff --git a/django/db/backends/sqlite3/creation.py b/django/db/backends/sqlite3/creation.py index d97052f52d..6ffbc26d36 100644 --- a/django/db/backends/sqlite3/creation.py +++ b/django/db/backends/sqlite3/creation.py @@ -95,7 +95,7 @@ class DatabaseCreation(BaseDatabaseCreation): TEST NAME. See https://www.s...
django__django-12125
deepseek-v4-flash
diff --git a/django/db/migrations/serializer.py b/django/db/migrations/serializer.py index 7d226955d5..35ec5c4423 100644 --- a/django/db/migrations/serializer.py +++ b/django/db/migrations/serializer.py @@ -97,6 +97,23 @@ class DeconstructableSerializer(BaseSerializer): else: imports = {"import %s...
django__django-12184
deepseek-v4-flash
diff --git a/django/urls/resolvers.py b/django/urls/resolvers.py index 2d4610aac4..817ad4ffaa 100644 --- a/django/urls/resolvers.py +++ b/django/urls/resolvers.py @@ -159,7 +159,7 @@ class RegexPattern(CheckURLMixin): # non-named groups. Otherwise, pass all non-named arguments as # positional ...
django__django-12284
deepseek-v4-flash
diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index 1a55d3d417..5b75eb756a 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -764,7 +764,7 @@ class Field(RegisterLookupMixin): if not getattr(cls, self.attname, None): ...
django__django-12286
deepseek-v4-flash
diff --git a/django/core/checks/translation.py b/django/core/checks/translation.py index 138ed07ff8..286de417f8 100644 --- a/django/core/checks/translation.py +++ b/django/core/checks/translation.py @@ -57,5 +57,11 @@ def check_language_settings_consistent(app_configs, **kwargs): """Error if language settings are ...
django__django-12308
deepseek-v4-flash
diff --git a/django/contrib/admin/utils.py b/django/contrib/admin/utils.py index e4ddc8f017..fb17a386e4 100644 --- a/django/contrib/admin/utils.py +++ b/django/contrib/admin/utils.py @@ -6,9 +6,11 @@ from django.core.exceptions import FieldDoesNotExist from django.db import models, router from django.db.models.consta...
django__django-12453
deepseek-v4-flash
diff --git a/django/db/backends/base/creation.py b/django/db/backends/base/creation.py index c50fc90171..5cf1f5b3c2 100644 --- a/django/db/backends/base/creation.py +++ b/django/db/backends/base/creation.py @@ -5,7 +5,7 @@ from io import StringIO from django.apps import apps from django.conf import settings from dja...
django__django-12470
deepseek-v4-flash
diff --git a/django/db/models/sql/compiler.py b/django/db/models/sql/compiler.py index 92213a4e67..5ba341b473 100644 --- a/django/db/models/sql/compiler.py +++ b/django/db/models/sql/compiler.py @@ -711,7 +711,7 @@ class SQLCompiler: # If we get to this point and the field is a relation to another model, ...
django__django-12497
deepseek-v4-flash
diff --git a/django/db/models/fields/related.py b/django/db/models/fields/related.py index 8ddbb5ba68..536b3dd601 100644 --- a/django/db/models/fields/related.py +++ b/django/db/models/fields/related.py @@ -1309,7 +1309,7 @@ class ManyToManyField(RelatedField): "through_fields keyword argu...
django__django-12589
deepseek-v4-flash
diff --git a/django/db/models/sql/compiler.py b/django/db/models/sql/compiler.py index 63ca817355..5cbf3dfc11 100644 --- a/django/db/models/sql/compiler.py +++ b/django/db/models/sql/compiler.py @@ -6,7 +6,7 @@ from itertools import chain from django.core.exceptions import EmptyResultSet, FieldError from django.db im...
django__django-12700
deepseek-v4-flash
diff --git a/django/views/debug.py b/django/views/debug.py index e6b7d4d821..368ac457e6 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -90,6 +90,8 @@ class SafeExceptionReporterFilter: cleansed = self.cleansed_substitute elif isinstance(value, dict): cle...
django__django-12708
deepseek-v4-flash
diff --git a/django/db/backends/base/schema.py b/django/db/backends/base/schema.py index 61f88401ab..bf0b8c02c0 100644 --- a/django/db/backends/base/schema.py +++ b/django/db/backends/base/schema.py @@ -403,6 +403,12 @@ class BaseDatabaseSchemaEditor: meta_constraint_names = {constraint.name for constraint in ...
django__django-12747
deepseek-v4-flash
diff --git a/django/db/models/query.py b/django/db/models/query.py index d9c9b0db04..2c6e867ec4 100644 --- a/django/db/models/query.py +++ b/django/db/models/query.py @@ -737,6 +737,10 @@ class QuerySet: # Clear the result cache, in case this QuerySet gets reused. self._result_cache = None + ...
django__django-12856
deepseek-v4-flash
diff --git a/django/db/models/base.py b/django/db/models/base.py index 7bb3fa4706..4487f77c07 100644 --- a/django/db/models/base.py +++ b/django/db/models/base.py @@ -1866,6 +1866,9 @@ class Model(metaclass=ModelBase): @classmethod def _check_constraints(cls, databases): errors = [] + for cons...
django__django-12908
deepseek-v4-flash
diff --git a/django/db/models/sql/compiler.py b/django/db/models/sql/compiler.py index 09a9d73077..4efcfdb3ee 100644 --- a/django/db/models/sql/compiler.py +++ b/django/db/models/sql/compiler.py @@ -501,6 +501,13 @@ class SQLCompiler: if not getattr(features, 'supports_select_{}'.format(combinator)): ...
django__django-12915
deepseek-v4-flash
diff --git a/django/contrib/staticfiles/handlers.py b/django/contrib/staticfiles/handlers.py index 711d8864ad..4efcb3ec60 100644 --- a/django/contrib/staticfiles/handlers.py +++ b/django/contrib/staticfiles/handlers.py @@ -1,3 +1,4 @@ +from asgiref.sync import sync_to_async from urllib.parse import urlparse from urll...
django__django-12983
deepseek-v4-flash
diff --git a/django/utils/text.py b/django/utils/text.py index fb5f6298c4..3ba4bbb3f4 100644 --- a/django/utils/text.py +++ b/django/utils/text.py @@ -403,7 +403,7 @@ def slugify(value, allow_unicode=False): else: value = unicodedata.normalize('NFKD', value).encode('ascii', 'ignore').decode('ascii') ...
django__django-13028
deepseek-v4-flash
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index ce18098fd2..9a243fac65 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -1124,11 +1124,12 @@ class Query(BaseExpression): def check_filterable(self, expression): """Raise an error if express...
django__django-13033
deepseek-v4-flash
diff --git a/django/db/models/sql/compiler.py b/django/db/models/sql/compiler.py index abbb1e37cb..a8f5b61fbe 100644 --- a/django/db/models/sql/compiler.py +++ b/django/db/models/sql/compiler.py @@ -727,7 +727,7 @@ class SQLCompiler: # If we get to this point and the field is a relation to another model, ...
django__django-13158
deepseek-v4-flash
diff --git a/django/db/models/sql/compiler.py b/django/db/models/sql/compiler.py index 686e75c979..c4c5b4bc86 100644 --- a/django/db/models/sql/compiler.py +++ b/django/db/models/sql/compiler.py @@ -431,6 +431,8 @@ class SQLCompiler: return sql, params def get_combinator_sql(self, combinator, all): + ...
django__django-13220
deepseek-v4-flash
diff --git a/django/core/exceptions.py b/django/core/exceptions.py index dc084b8692..39840b5dfd 100644 --- a/django/core/exceptions.py +++ b/django/core/exceptions.py @@ -182,6 +182,23 @@ class ValidationError(Exception): def __repr__(self): return 'ValidationError(%s)' % self + def __eq__(self, othe...
django__django-13230
deepseek-v4-flash
diff --git a/django/contrib/syndication/views.py b/django/contrib/syndication/views.py index 68ffb0bfe0..a09cc5fe74 100644 --- a/django/contrib/syndication/views.py +++ b/django/contrib/syndication/views.py @@ -214,6 +214,7 @@ class Feed: author_link=author_link, categories=self._get_d...
django__django-13265
deepseek-v4-flash
diff --git a/django/db/migrations/autodetector.py b/django/db/migrations/autodetector.py index 89e2dceeaf..cd816297f0 100644 --- a/django/db/migrations/autodetector.py +++ b/django/db/migrations/autodetector.py @@ -392,6 +392,12 @@ class MigrationAutodetector: isinstance(operation, operations.AddFi...
django__django-13315
deepseek-v4-flash
diff --git a/django/forms/models.py b/django/forms/models.py index 5d115458a1..f993bb9c98 100644 --- a/django/forms/models.py +++ b/django/forms/models.py @@ -100,7 +100,7 @@ def apply_limit_choices_to_to_formfield(formfield): if hasattr(formfield, 'queryset') and hasattr(formfield, 'get_limit_choices_to'): ...
django__django-13321
deepseek-v4-flash
diff --git a/django/contrib/sessions/backends/base.py b/django/contrib/sessions/backends/base.py index 187e14b1b7..cbdacd2c16 100644 --- a/django/contrib/sessions/backends/base.py +++ b/django/contrib/sessions/backends/base.py @@ -132,8 +132,8 @@ class SessionBase: def _legacy_decode(self, session_data): ...
django__django-13401
deepseek-v4-flash
diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index 28374272f4..d05c666528 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -516,16 +516,31 @@ class Field(RegisterLookupMixin): def __eq__(self, other): # Needed for @tota...
django__django-13447
deepseek-v4-flash
diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py index 837dabfea8..252706d837 100644 --- a/django/contrib/admin/sites.py +++ b/django/contrib/admin/sites.py @@ -430,7 +430,7 @@ class AdminSite: return HttpResponsePermanentRedirect(path) raise Http404 - def _b...
django__django-13448
deepseek-v4-flash
diff --git a/django/db/backends/base/creation.py b/django/db/backends/base/creation.py index 503f7f56fd..0d86498bb3 100644 --- a/django/db/backends/base/creation.py +++ b/django/db/backends/base/creation.py @@ -101,6 +101,8 @@ class BaseDatabaseCreation: def get_objects(): from django.db.migration...
django__django-13551
deepseek-v4-flash
diff --git a/django/contrib/auth/tokens.py b/django/contrib/auth/tokens.py index 93e2d71af2..932957485b 100644 --- a/django/contrib/auth/tokens.py +++ b/django/contrib/auth/tokens.py @@ -94,7 +94,8 @@ class PasswordResetTokenGenerator: # Truncate microseconds so that tokens are consistent even if the ...
django__django-13590
deepseek-v4-flash
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index 4648daf395..5f3effccab 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -1078,8 +1078,8 @@ class Query(BaseExpression): # The items of the iterable may be expressions and therefore need ...
django__django-13658
deepseek-v4-flash
diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py index 1ba093e51f..e411e86348 100644 --- a/django/core/management/__init__.py +++ b/django/core/management/__init__.py @@ -344,7 +344,7 @@ class ManagementUtility: # Preprocess options to extract --settings and --pythonpath. ...
django__django-13660
deepseek-v4-flash
diff --git a/django/core/management/commands/shell.py b/django/core/management/commands/shell.py index 2b306a579e..c7c69358cf 100644 --- a/django/core/management/commands/shell.py +++ b/django/core/management/commands/shell.py @@ -84,13 +84,13 @@ class Command(BaseCommand): def handle(self, **options): # ...
django__django-13710
deepseek-v4-flash
diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py index dadd4acfa1..5d718917df 100644 --- a/django/contrib/admin/options.py +++ b/django/contrib/admin/options.py @@ -2037,10 +2037,14 @@ class InlineModelAdmin(BaseModelAdmin): self.opts = self.model._meta self.has_registere...
django__django-13757
deepseek-v4-flash
diff --git a/django/db/models/fields/json.py b/django/db/models/fields/json.py index 29c6ff0926..71feaaedb5 100644 --- a/django/db/models/fields/json.py +++ b/django/db/models/fields/json.py @@ -368,12 +368,17 @@ class KeyTransformIsNull(lookups.IsNull): def as_oracle(self, compiler, connection): if not s...
django__django-13768
deepseek-v4-flash
diff --git a/django/dispatch/dispatcher.py b/django/dispatch/dispatcher.py index b7d9d26389..1096176bb3 100644 --- a/django/dispatch/dispatcher.py +++ b/django/dispatch/dispatcher.py @@ -1,10 +1,13 @@ import threading +import logging import warnings import weakref from django.utils.deprecation import RemovedInDja...
django__django-13925
deepseek-v4-flash
diff --git a/django/db/models/base.py b/django/db/models/base.py index 4038859cfa..3e5476ec2e 100644 --- a/django/db/models/base.py +++ b/django/db/models/base.py @@ -1302,6 +1302,8 @@ class Model(metaclass=ModelBase): not settings.is_overridden('DEFAULT_AUTO_FIELD') and not cls._meta.app_conf...
django__django-13933
deepseek-v4-flash
diff --git a/django/forms/models.py b/django/forms/models.py index 422bc5d178..f8233ece22 100644 --- a/django/forms/models.py +++ b/django/forms/models.py @@ -1188,8 +1188,8 @@ class ModelChoiceField(ChoiceField): # This class is a subclass of ChoiceField for purity, but it doesn't # actually use any of Choic...
django__django-13964
deepseek-v4-flash
diff --git a/django/db/models/base.py b/django/db/models/base.py index 2428218696..e7668e00a2 100644 --- a/django/db/models/base.py +++ b/django/db/models/base.py @@ -933,7 +933,10 @@ class Model(metaclass=ModelBase): "%s() prohibited to prevent data loss due to unsaved " ...
django__django-14016
deepseek-v4-flash
diff --git a/django/db/models/query_utils.py b/django/db/models/query_utils.py index c2623f099f..817f3f297b 100644 --- a/django/db/models/query_utils.py +++ b/django/db/models/query_utils.py @@ -5,7 +5,6 @@ Factored out from django.db.models.query to avoid making the main module very large and/or so that they can be u...
django__django-14017
deepseek-v4-flash
diff --git a/django/db/models/query_utils.py b/django/db/models/query_utils.py index c957ffa564..7537226975 100644 --- a/django/db/models/query_utils.py +++ b/django/db/models/query_utils.py @@ -41,7 +41,14 @@ class Q(tree.Node): def _combine(self, other, conn): if not isinstance(other, Q): - ...
django__django-14155
deepseek-v4-flash
diff --git a/django/urls/resolvers.py b/django/urls/resolvers.py index 9b00e24509..0251dc4924 100644 --- a/django/urls/resolvers.py +++ b/django/urls/resolvers.py @@ -31,6 +31,10 @@ from .utils import get_callable class ResolverMatch: def __init__(self, func, args, kwargs, url_name=None, app_names=None, namespa...
django__django-14238
deepseek-v4-flash
diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index 0f53d9c30b..0ce7de02c6 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -2524,7 +2524,7 @@ class AutoFieldMeta(type): return isinstance(instance, self._subclasses) or super(...
django__django-14382
deepseek-v4-flash
diff --git a/django/core/management/templates.py b/django/core/management/templates.py index 8dc6068286..f248ab1b71 100644 --- a/django/core/management/templates.py +++ b/django/core/management/templates.py @@ -74,7 +74,7 @@ class TemplateCommand(BaseCommand): raise CommandError(e) else: ...
django__django-14411
deepseek-v4-flash
diff --git a/django/contrib/auth/forms.py b/django/contrib/auth/forms.py index 20d8922799..cff256fc15 100644 --- a/django/contrib/auth/forms.py +++ b/django/contrib/auth/forms.py @@ -50,6 +50,9 @@ class ReadOnlyPasswordHashWidget(forms.Widget): context['summary'] = summary return context + def id...
django__django-14534
deepseek-v4-flash
diff --git a/django/forms/boundfield.py b/django/forms/boundfield.py index 2ff8b0ee26..59987ee101 100644 --- a/django/forms/boundfield.py +++ b/django/forms/boundfield.py @@ -277,7 +277,7 @@ class BoundWidget: @property def id_for_label(self): - return 'id_%s_%s' % (self.data['name'], self.data['inde...
django__django-14580
deepseek-v4-flash
diff --git a/django/db/migrations/serializer.py b/django/db/migrations/serializer.py index e19c881cda..072a2efc14 100644 --- a/django/db/migrations/serializer.py +++ b/django/db/migrations/serializer.py @@ -273,7 +273,7 @@ class TupleSerializer(BaseSequenceSerializer): class TypeSerializer(BaseSerializer): def se...
django__django-14608
deepseek-v4-flash
diff --git a/django/forms/formsets.py b/django/forms/formsets.py index a89c35599f..1b0d4554e0 100644 --- a/django/forms/formsets.py +++ b/django/forms/formsets.py @@ -333,7 +333,7 @@ class BaseFormSet: self._non_form_errors. """ self._errors = [] - self._non_form_errors = self.error_cl...
django__django-14667
deepseek-v4-flash
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index 8837881579..76397048f7 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -679,7 +679,8 @@ class Query(BaseExpression): """ field_names, defer = self.deferred_loading if not field_n...
django__django-14672
deepseek-v4-flash
diff --git a/django/db/models/fields/reverse_related.py b/django/db/models/fields/reverse_related.py index ccc2223a5f..65950590e2 100644 --- a/django/db/models/fields/reverse_related.py +++ b/django/db/models/fields/reverse_related.py @@ -310,7 +310,7 @@ class ManyToManyRel(ForeignObjectRel): def identity(self): ...
django__django-14730
deepseek-v4-flash
diff --git a/django/db/models/fields/related.py b/django/db/models/fields/related.py index febaadbb5b..297c045285 100644 --- a/django/db/models/fields/related.py +++ b/django/db/models/fields/related.py @@ -1180,6 +1180,12 @@ class ManyToManyField(RelatedField): if symmetrical is None: symmetrical...
django__django-14752
deepseek-v4-flash
diff --git a/django/contrib/admin/views/autocomplete.py b/django/contrib/admin/views/autocomplete.py index 3903e4c98c..bcd6ae436d 100644 --- a/django/contrib/admin/views/autocomplete.py +++ b/django/contrib/admin/views/autocomplete.py @@ -26,8 +26,7 @@ class AutocompleteJsonView(BaseListView): context = self.g...
django__django-14787
deepseek-v4-flash
diff --git a/django/utils/decorators.py b/django/utils/decorators.py index 5c9a5d01c7..4a9bf43b8d 100644 --- a/django/utils/decorators.py +++ b/django/utils/decorators.py @@ -37,7 +37,9 @@ def _multi_decorate(decorators, method): # 'self' argument, but it's a closure over self so it can call # 'func'....
django__django-14855
deepseek-v4-flash
diff --git a/django/contrib/admin/helpers.py b/django/contrib/admin/helpers.py index dd154f72ee..35108cc359 100644 --- a/django/contrib/admin/helpers.py +++ b/django/contrib/admin/helpers.py @@ -209,7 +209,7 @@ class AdminReadonlyField: remote_field.model._meta.model_name, ) try: - ...
django__django-14915
deepseek-v4-flash
diff --git a/django/forms/models.py b/django/forms/models.py index 5dcf923c12..bc7e6959e7 100644 --- a/django/forms/models.py +++ b/django/forms/models.py @@ -1171,6 +1171,9 @@ class ModelChoiceIteratorValue: other = other.value return self.value == other + def __hash__(self): + return...
django__django-14997
deepseek-v4-flash
diff --git a/django/db/backends/ddl_references.py b/django/db/backends/ddl_references.py index c06386a2fa..7d4c56ea3e 100644 --- a/django/db/backends/ddl_references.py +++ b/django/db/backends/ddl_references.py @@ -215,7 +215,8 @@ class Expressions(TableColumns): expressions = deepcopy(self.expressions) ...
django__django-14999
deepseek-v4-flash
diff --git a/django/db/migrations/operations/models.py b/django/db/migrations/operations/models.py index 982816be3a..985a758891 100644 --- a/django/db/migrations/operations/models.py +++ b/django/db/migrations/operations/models.py @@ -320,6 +320,10 @@ class RenameModel(ModelOperation): new_model = to_state.app...
django__django-15061
deepseek-v4-flash
diff --git a/django/forms/widgets.py b/django/forms/widgets.py index 00c19e2c55..7307f3b15b 100644 --- a/django/forms/widgets.py +++ b/django/forms/widgets.py @@ -848,11 +848,6 @@ class MultiWidget(Widget): context['widget']['subwidgets'] = subwidgets return context - def id_for_label(self, id_):...
django__django-15202
deepseek-v4-flash
diff --git a/django/core/validators.py b/django/core/validators.py index 72fbe15551..0c212e1c0c 100644 --- a/django/core/validators.py +++ b/django/core/validators.py @@ -127,7 +127,11 @@ class URLValidator(RegexValidator): raise else: # Now verify IPv6 in the netloc part - ...
django__django-15213
deepseek-v4-flash
diff --git a/django/db/models/expressions.py b/django/db/models/expressions.py index 8642e1f151..dc4e95e8b4 100644 --- a/django/db/models/expressions.py +++ b/django/db/models/expressions.py @@ -979,7 +979,10 @@ class ExpressionWrapper(SQLiteNumericMixin, Expression): return super().get_group_by_cols() ...
django__django-15252
deepseek-v4-flash
diff --git a/django/db/migrations/recorder.py b/django/db/migrations/recorder.py index 1a37c6b7d0..c0b33121e3 100644 --- a/django/db/migrations/recorder.py +++ b/django/db/migrations/recorder.py @@ -1,5 +1,5 @@ from django.apps.registry import Apps -from django.db import DatabaseError, models +from django.db import Da...
django__django-15320
deepseek-v4-flash
diff --git a/django/db/models/expressions.py b/django/db/models/expressions.py index 6f26dff0e0..201e4832f2 100644 --- a/django/db/models/expressions.py +++ b/django/db/models/expressions.py @@ -1150,6 +1150,7 @@ class Subquery(BaseExpression, Combinable): def __init__(self, queryset, output_field=None, **extra): ...
django__django-15347
deepseek-v4-flash
diff --git a/django/contrib/messages/storage/cookie.py b/django/contrib/messages/storage/cookie.py index 1d390c71dd..e48d4edb08 100644 --- a/django/contrib/messages/storage/cookie.py +++ b/django/contrib/messages/storage/cookie.py @@ -19,7 +19,7 @@ class MessageEncoder(json.JSONEncoder): # Using 0/1 here i...
django__django-15388
deepseek-v4-flash
diff --git a/django/template/autoreload.py b/django/template/autoreload.py index cf1b20ba95..7242d68f2d 100644 --- a/django/template/autoreload.py +++ b/django/template/autoreload.py @@ -48,6 +48,8 @@ def watch_for_template_changes(sender, **kwargs): @receiver(file_changed, dispatch_uid='template_loaders_file_change...
django__django-15400
deepseek-v4-flash
diff --git a/django/utils/functional.py b/django/utils/functional.py index 9e1be0fe0f..9b22e1de55 100644 --- a/django/utils/functional.py +++ b/django/utils/functional.py @@ -373,6 +373,11 @@ class LazyObject: __len__ = new_method_proxy(len) __contains__ = new_method_proxy(operator.contains) + def __radd...
django__django-15498
deepseek-v4-flash
diff --git a/django/views/static.py b/django/views/static.py index 1c558a53ff..4214b06e37 100644 --- a/django/views/static.py +++ b/django/views/static.py @@ -129,6 +129,8 @@ def was_modified_since(header=None, mtime=0, size=0): if header is None: raise ValueError matches = re.match(r"^([...
django__django-15695
deepseek-v4-flash
diff --git a/django/db/migrations/operations/models.py b/django/db/migrations/operations/models.py index d17232e4ec..3e684483c8 100644 --- a/django/db/migrations/operations/models.py +++ b/django/db/migrations/operations/models.py @@ -963,7 +963,8 @@ class RenameIndex(IndexOperation): to_model_state = to_sta...
django__django-15738
deepseek-v4-flash
diff --git a/django/db/migrations/autodetector.py b/django/db/migrations/autodetector.py index 5f41053283..757bca99e4 100644 --- a/django/db/migrations/autodetector.py +++ b/django/db/migrations/autodetector.py @@ -883,6 +883,22 @@ class MigrationAutodetector: "alter", ...
django__django-15781
deepseek-v4-flash
diff --git a/django/core/management/base.py b/django/core/management/base.py index d37d43d5c5..17120b16ef 100644 --- a/django/core/management/base.py +++ b/django/core/management/base.py @@ -5,7 +5,7 @@ be executed through ``django-admin`` or ``manage.py``). import argparse import os import sys -from argparse import...
django__django-15789
deepseek-v4-flash
diff --git a/django/utils/html.py b/django/utils/html.py index d0bc97be80..75fedcb44f 100644 --- a/django/utils/html.py +++ b/django/utils/html.py @@ -59,15 +59,19 @@ _json_script_escapes = { } -def json_script(value, element_id=None): +def json_script(value, element_id=None, encoder=None): """ Escape al...
django__django-15790
deepseek-v4-flash
diff --git a/django/core/checks/templates.py b/django/core/checks/templates.py index 5214276987..05d2c529d6 100644 --- a/django/core/checks/templates.py +++ b/django/core/checks/templates.py @@ -58,7 +58,8 @@ def check_for_template_tags_with_the_same_name(app_configs, **kwargs): libraries[module_name].appe...
django__django-15814
deepseek-v4-flash
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index 33cc636b22..1d0b706d70 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -748,7 +748,8 @@ class Query(BaseExpression): cur_model = source.related_model else: ...
End of preview.

deepseek-v4-flash-swebench-replay

中文

这是一个 DeepSeek V4 Flash 在 SWE-bench 上的 agentic replay 数据集仓库。 它的目标是让使用者不需要部署 SWE-bench,也不需要复现 Docker/benchmark 环境,就可以直接查看和重放模型的多轮推理与工具调用轨迹。

当前包含的数据

  • verified_agentic
  • lite_agentic

当前不包含的数据

  • 单轮 single-turn trace
  • verified_mini_agentic(当前本地仅完成 31/50,因此不纳入首版)

分数汇总

  • verified_agentic: 354 / 500, Acc/Pass@1 = 70.8
  • lite_agentic: 182 / 300, Acc/Pass@1 = 60.67

数据来源

这些轨迹由 EvalScope + DeepSeek API 收集,使用的是 EvalScope 中提供的 official SWE-bench agentic benchmark 数据集与执行链路。 运行时环境基于 rootless Docker 和 benchmark 官方容器镜像。

相关参考链接:

仓库结构

data/
  verified_agentic/
    replay_dataset.jsonl
    samples.jsonl
    predictions.jsonl
  lite_agentic/
    replay_dataset.jsonl
    samples.jsonl
    predictions.jsonl
manifests/
  release_manifest.json
  verified_agentic_manifest.json
  lite_agentic_manifest.json
scores/
  overview.json
  verified_agentic.json
  lite_agentic.json
examples/
  replay_verified_agentic_sample.json
  replay_lite_agentic_sample.json
scripts/
  replay_openai_compatible.py
  inspect_trace.py

如何读取数据

samples.jsonl

每一行是一个完整样本,包含:

  • instance_id
  • messages
  • agent_trace
  • trace_status
  • eval_status
  • patch
  • final_content
  • reasoning_content
  • tool_calls

replay_dataset.jsonl

这是重放入口。 它保留多轮消息顺序,可直接用于 OpenAI-compatible endpoint 重放。

predictions.jsonl

保留最终 patch 结果,适合做外部评测、快速检查或与原 benchmark 结果对照。

如何重放

python scripts/replay_openai_compatible.py \
  --dataset data/verified_agentic/replay_dataset.jsonl \
  --api-base https://api.deepseek.com \
  --api-key-env DEEPSEEK_API_KEY \
  --model deepseek-v4-flash \
  --limit 1

如何查看某一条轨迹

python scripts/inspect_trace.py \
  --samples data/verified_agentic/samples.jsonl \
  --instance-id astropy__astropy-12907

局限性

  • 这是采样得到的运行轨迹,不是官方 leaderboard 的原始发布物。
  • 当前首版只发布 verified_agentic 和 lite_agentic。
  • verified_mini_agentic 未纳入首版,以保持数据完整性和口径稳定。

致谢

感谢 算苗 提供本次采集所需的服务器支持。

English

This repository publishes agentic SWE-bench replay traces for DeepSeek V4 Flash. The goal is to let users inspect and replay the model's multi-turn reasoning and tool-use behavior without setting up SWE-bench locally.

Included splits

  • verified_agentic
  • lite_agentic

Excluded from v1

  • single-turn traces
  • verified_mini_agentic (local coverage is only 31/50, so it is excluded from the first public release)

Score summary

  • verified_agentic: 354 / 500, Acc/Pass@1 = 70.8
  • lite_agentic: 182 / 300, Acc/Pass@1 = 60.67

Data provenance

The traces were collected with EvalScope + the DeepSeek API, using the official SWE-bench agentic benchmarks exposed by EvalScope. Execution used rootless Docker and official benchmark containers.

Reference links:

How to use the data

  • data/<split>/samples.jsonl: full trace rows with messages, agent_trace, trace/eval status, patch and final content
  • data/<split>/replay_dataset.jsonl: replay-oriented multi-turn message rows
  • data/<split>/predictions.jsonl: final patch predictions keyed by instance

Replay example

python scripts/replay_openai_compatible.py \
  --dataset data/verified_agentic/replay_dataset.jsonl \
  --api-base https://api.deepseek.com \
  --api-key-env DEEPSEEK_API_KEY \
  --model deepseek-v4-flash \
  --limit 1

Inspect example

python scripts/inspect_trace.py \
  --samples data/verified_agentic/samples.jsonl \
  --instance-id astropy__astropy-12907

Acknowledgements

Thanks to Sunmmio for providing the server support used in this collection.

Downloads last month
99