Dataset Viewer
Auto-converted to Parquet Duplicate
task_id
stringlengths
18
32
description
stringlengths
191
24.8k
category
stringclasses
1 value
shared_state_keys
listlengths
4
4
ground_truth_outputs
listlengths
3
3
astropy__astropy-12907
Fix the following GitHub issue in astropy/astropy: Modeling's `separability_matrix` does not compute separability correctly for nested CompoundModels Consider the following model: ```python from astropy.modeling import models as m from astropy.modeling.separable import separability_matrix cm = m.Linear1D(10) &...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-13033
Fix the following GitHub issue in astropy/astropy: TimeSeries: misleading exception when required column check fails. <!-- This comments are hidden when you submit the issue, so you do not need to remove them! --> <!-- Please be sure to check out our contributing guidelines, https://github.com/astropy/astropy/blo...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-13236
Fix the following GitHub issue in astropy/astropy: Consider removing auto-transform of structured column into NdarrayMixin <!-- This comments are hidden when you submit the issue, so you do not need to remove them! --> <!-- Please be sure to check out our contributing guidelines, https://github.com/astropy/astrop...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-13398
Fix the following GitHub issue in astropy/astropy: A direct approach to ITRS to Observed transformations that stays within the ITRS. <!-- This comments are hidden when you submit the issue, so you do not need to remove them! --> <!-- Please be sure to check out our contributing guidelines, https://github.com/astr...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-13453
Fix the following GitHub issue in astropy/astropy: ASCII table output to HTML does not support supplied "formats" <!-- This comments are hidden when you submit the issue, so you do not need to remove them! --> <!-- Please be sure to check out our contributing guidelines, https://github.com/astropy/astropy/blob/ma...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-13579
Fix the following GitHub issue in astropy/astropy: Inconsistent behavior of `world_to_pixel` in `SlicedLowLevelWCS` <!-- This comments are hidden when you submit the issue, so you do not need to remove them! --> <!-- Please be sure to check out our contributing guidelines, https://github.com/astropy/astropy/blob...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-13977
Fix the following GitHub issue in astropy/astropy: Should `Quantity.__array_ufunc__()` return `NotImplemented` instead of raising `ValueError` if the inputs are incompatible? ### Description I'm trying to implement a duck type of `astropy.units.Quantity`. If you are interested, the project is available [here](https:/...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-14096
Fix the following GitHub issue in astropy/astropy: Subclassed SkyCoord gives misleading attribute access message I'm trying to subclass `SkyCoord`, and add some custom properties. This all seems to be working fine, but when I have a custom property (`prop` below) that tries to access a non-existent attribute (`random_...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-14182
Fix the following GitHub issue in astropy/astropy: Please support header rows in RestructuredText output ### Description It would be great if the following would work: ```Python >>> from astropy.table import QTable >>> import astropy.units as u >>> import sys >>> tbl = QTable({'wave': [350,950]*u.nm, 'respon...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-14309
Fix the following GitHub issue in astropy/astropy: IndexError: tuple index out of range in identify_format (io.registry) <!-- This comments are hidden when you submit the issue, so you do not need to remove them! --> <!-- Please be sure to check out our contributing guidelines, https://github.com/astropy/astropy/...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-14365
Fix the following GitHub issue in astropy/astropy: ascii.qdp Table format assumes QDP commands are upper case ### Description ascii.qdp assumes that commands in a QDP file are upper case, for example, for errors they must be "READ SERR 1 2" whereas QDP itself is not case sensitive and case use "read serr 1 2". As...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-14369
Fix the following GitHub issue in astropy/astropy: Incorrect units read from MRT (CDS format) files with astropy.table ### Description When reading MRT files (formatted according to the CDS standard which is also the format recommended by AAS/ApJ) with `format='ascii.cds'`, astropy.table incorrectly parses composite ...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-14508
Fix the following GitHub issue in astropy/astropy: `io.fits.Card` may use a string representation of floats that is larger than necessary ### Description In some scenarios, `io.fits.Card` may use a string representation of floats that is larger than necessary, which can force comments to be truncated. Due to this, th...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-14539
Fix the following GitHub issue in astropy/astropy: `io.fits.FITSDiff` may sometimes report differences between identical files ### Description In some scenarios, `io.fits.FITSDiff` may report differences between identical files, even when comparing the same file to itself. This may be caused by improper handling of V...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-14598
Fix the following GitHub issue in astropy/astropy: Inconsistency in double single-quote ('') management in FITS Card ### Description The management of single-quotes in FITS cards seem correct, except *sometimes* when dealing with null strings, i.e. double single quotes (`''`), which sometimes are transformed into s...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-14995
Fix the following GitHub issue in astropy/astropy: In v5.3, NDDataRef mask propagation fails when one of the operand does not have a mask ### Description This applies to v5.3. It looks like when one of the operand does not have a mask, the mask propagation when doing arithmetic, in particular with `handle_mask=np...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-7166
Fix the following GitHub issue in astropy/astropy: InheritDocstrings metaclass doesn't work for properties Inside the InheritDocstrings metaclass it uses `inspect.isfunction` which returns `False` for properties.
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-7336
Fix the following GitHub issue in astropy/astropy: units.quantity_input decorator fails for constructors with type hinted return value -> None ### Summary I am using the `units.quantity_input` decorator with typing hints for constructors, however when I add the correct return value for the constructor (`None`) then I...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-7606
Fix the following GitHub issue in astropy/astropy: Unit equality comparison with None raises TypeError for UnrecognizedUnit ``` In [12]: x = u.Unit('asdf', parse_strict='silent') In [13]: x == None # Should be False --------------------------------------------------------------------------- TypeError ...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-7671
Fix the following GitHub issue in astropy/astropy: minversion failures The change in PR #7647 causes `minversion` to fail in certain cases, e.g.: ``` >>> from astropy.utils import minversion >>> minversion('numpy', '1.14dev') TypeError Traceback (most recent call last) <ipython-inp...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-8707
Fix the following GitHub issue in astropy/astropy: Header.fromstring does not accept Python 3 bytes According to [the docs](http://docs.astropy.org/en/stable/_modules/astropy/io/fits/header.html#Header.fromstring), the method `Header.fromstring` "...creates an HDU header from a byte string containing the entire header...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
astropy__astropy-8872
Fix the following GitHub issue in astropy/astropy: float16 quantities get upgraded to float64 automatically When trying to create a `Quantity` from a `np.float16` (not something I actually intended to do, I was experimenting while investigating other issue) it gets upgraded automatically to `np.float64`, which is some...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-10097
Fix the following GitHub issue in django/django: Make URLValidator reject invalid characters in the username and password Description (last modified by Tim Bell) Since #20003, core.validators.URLValidator accepts URLs with usernames and passwords. RFC 1738 section 3.1 requires "Within the user and password fie...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-10554
Fix the following GitHub issue in django/django: Union queryset with ordering breaks on ordering with derived querysets Description (last modified by Sergei Maertens) May be related to #29692 Simple reproduction (the exact models are not relevant I think): >>> Dimension.objects.values_list('id', flat=True) <Qu...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-10880
Fix the following GitHub issue in django/django: Query syntax error with condition and distinct combination Description A Count annotation containing both a Case condition and a distinct=True param produces a query error on Django 2.2 (whatever the db backend). A space is missing at least (... COUNT(DISTINCTCASE WHE...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-10914
Fix the following GitHub issue in django/django: Set default FILE_UPLOAD_PERMISSION to 0o644. Description Hello, As far as I can see, the ​File Uploads documentation page does not mention any permission issues. What I would like to see is a warning that in absence of explicitly configured FILE_UPLOAD_PERMISSIONS, th...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-10973
Fix the following GitHub issue in django/django: Use subprocess.run and PGPASSWORD for client in postgres backend Description ​subprocess.run was added in python 3.5 (which is the minimum version since Django 2.1). This function allows you to pass a custom environment for the subprocess. Using this in django.db.back...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-10999
Fix the following GitHub issue in django/django: Fix parse_duration() for some negative durations Description The ​https://docs.djangoproject.com/en/2.1/_modules/django/utils/dateparse/ defines: standard_duration_re = re.compile( r'^' r'(?:(?P<days>-?\d+) (days?, )?)?' r'((?:(?P<hours>-?\d+):)(?=\d+:\d+))?' r'(?...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11066
Fix the following GitHub issue in django/django: RenameContentType._rename() doesn't save the content type on the correct database Description The commit in question: ​https://github.com/django/django/commit/f179113e6cbc8ba0a8d4e87e1d4410fb61d63e75 The specific lines in question: ​https://github.com/django/django/bl...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11087
Fix the following GitHub issue in django/django: Optimize .delete() to use only required fields. Description Hi! We're in the process of upgrading our Django 1.11 installation from Python 2.7 to Python 3.6, however are hitting an unexpected UnicodeDecodeError during a .delete() run by our daily data purging manageme...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11095
Fix the following GitHub issue in django/django: add ModelAdmin.get_inlines() hook to allow set inlines based on the request or model instance. Description add ModelAdmin.get_inlines() hook to allow set inlines based on the request or model instance. Currently, We can override the method get_inline_instances to do s...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11099
Fix the following GitHub issue in django/django: UsernameValidator allows trailing newline in usernames Description ASCIIUsernameValidator and UnicodeUsernameValidator use the regex r'^[\w.@+-]+$' The intent is to only allow alphanumeric characters as well as ., @, +, and -. However, a little known quirk of Python ...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11119
Fix the following GitHub issue in django/django: Engine.render_to_string() should honor the autoescape attribute Description In Engine.render_to_string, a Context is created without specifying the engine autoescape attribute. So if you create en engine with autoescape=False and then call its render_to_string() metho...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11133
Fix the following GitHub issue in django/django: HttpResponse doesn't handle memoryview objects Description I am trying to write a BinaryField retrieved from the database into a HttpResponse. When the database is Sqlite this works correctly, but Postgresql returns the contents of the field as a memoryview object and...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11138
Fix the following GitHub issue in django/django: TIME_ZONE value in DATABASES settings is not used when making dates timezone-aware on MySQL, SQLite, and Oracle. Description (last modified by Victor Talpaert) (We assume the mysql backends) I can set TIME_ZONE several times in settings.py, one for the global dj...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11141
Fix the following GitHub issue in django/django: Allow migrations directories without __init__.py files Description (last modified by Tim Graham) Background: In python 3 a package with no __init__.py is implicitly a namespace package, so it has no __file__ attribute. The migrate command currently checks for e...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11149
Fix the following GitHub issue in django/django: Admin inlines for auto-created ManyToManyFields are editable if the user only has the view permission Description From https://code.djangoproject.com/ticket/8060#comment:34 Replying to Will Gordon: This seems to have regressed in (at least) 2.1. I have 2 view only per...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11163
Fix the following GitHub issue in django/django: model_to_dict() should return an empty dict for an empty list of fields. Description Been called as model_to_dict(instance, fields=[]) function should return empty dict, because no fields were requested. But it returns all fields The problem point is if fields and f.n...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11179
Fix the following GitHub issue in django/django: delete() on instances of models without any dependencies doesn't clear PKs. Description Deleting any model with no dependencies not updates the PK on the model. It should be set to None after .delete() call. See Django.db.models.deletion:276-281. Should update the mod...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11206
Fix the following GitHub issue in django/django: utils.numberformat.format renders small decimals in exponential notation. Description When using utils.number_format with decimal_pos, extremely small numbers get displayed using exponential notation. >>> from django.utils.numberformat import format as nformat >>> nfo...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11211
Fix the following GitHub issue in django/django: Prefetch related is not working when used GFK for model that uses UUID field as PK. Description How to reproduce: create model with UUID as primary key class Foo(models.Model): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) ... create an...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11239
Fix the following GitHub issue in django/django: Add support for postgresql client certificates and key to dbshell. Description This bug is very similar to the #28322 A common security procedure for DB access is to require mutual TLS for the DB connection. This involves specifying a server certificate, client certif...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11265
Fix the following GitHub issue in django/django: Using exclude on annotated FilteredRelation doesn't work Description It looks like using exclude on queryset with annotated FilteredRelation give a FieldError on the annotation name. For exemple, in Django tests (django/tests/filtered_relation/tests.py) if we change t...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11276
Fix the following GitHub issue in django/django: Use Python stdlib html.escape() to in django.utils.html.escape() Description The function django.utils.html.escape() partially duplicates the Python stdlib function html.escape(). We can replace this duplication with wider community developed version. html.escape() ha...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11292
Fix the following GitHub issue in django/django: Add --skip-checks option to management commands. Description Management commands already have skip_checks stealth option. I propose exposing this option on the command line. This would allow users to skip checks when running a command from the command line. Sometimes ...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11299
Fix the following GitHub issue in django/django: CheckConstraint with OR operator generates incorrect SQL on SQLite and Oracle. Description (last modified by Michael Spallino) Django is incorrectly including the fully qualified field name(e.g. “my_table”.”my_field”) in part of the check constraint. This only a...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11333
Fix the following GitHub issue in django/django: Optimization: Multiple URLResolvers may be unintentionally be constructed by calls to `django.urls.resolvers.get_resolver` Description Multiple URLResolvers may be constructed by django.urls.resolvers.get_resolver if django.urls.base.set_urlconf has not yet been calle...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11400
Fix the following GitHub issue in django/django: Ordering problem in admin.RelatedFieldListFilter and admin.RelatedOnlyFieldListFilter Description RelatedFieldListFilter doesn't fall back to the ordering defined in Model._meta.ordering. Ordering gets set to an empty tuple in ​https://github.com/django/django/blob/2...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11433
Fix the following GitHub issue in django/django: Allow `cleaned_data` to overwrite fields' default values. Description See comments here: ​https://github.com/django/django/pull/7068/files#r289432409 Currently, when submitting a form, if 'some_field' isn't in the data payload (e.g. it wasn't included in the form, per...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11451
Fix the following GitHub issue in django/django: ModelBackend.authenticate() shouldn't make a database query when username is None Description It's easier to explain my issue by adding a comment in the current implementation of ModelBackend.authenticate(): def authenticate(self, request, username=None, password=Non...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11477
Fix the following GitHub issue in django/django: translate_url() creates an incorrect URL when optional named groups are missing in the URL pattern Description There is a problem when translating urls with absent 'optional' arguments (it's seen in test case of the patch)
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11490
Fix the following GitHub issue in django/django: Composed queries cannot change the list of columns with values()/values_list(). Description Composed queries cannot change the list of columns when values()/values_list() is evaluated multiple times, e.g. >>> ReservedName.objects.create(name='a', order=2) >>> qs1 = Re...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11532
Fix the following GitHub issue in django/django: Email messages crash on non-ASCII domain when email encoding is non-unicode. Description When the computer hostname is set in unicode (in my case "正宗"), the following test fails: ​https://github.com/django/django/blob/master/tests/mail/tests.py#L368 Specifically, sinc...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11551
Fix the following GitHub issue in django/django: admin.E108 is raised on fields accessible only via instance. Description (last modified by ajcsimons) As part of startup django validates the ModelAdmin's list_display list/tuple for correctness (django.admin.contrib.checks._check_list_display). Having upgraded ...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11555
Fix the following GitHub issue in django/django: order_by() a parent model crash when Meta.ordering contains expressions. Description (last modified by Jonny Fuller) Hi friends, During testing I discovered a strange bug when using a query expression for ordering during multi-table inheritance. You can find the...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11603
Fix the following GitHub issue in django/django: Add DISTINCT support for Avg and Sum aggregates. Description As an extension of #28658, aggregates should be supported for other general aggregates such as Avg and Sum. Before 2.2, these aggregations just ignored the parameter, but now throw an exception. This change ...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11728
Fix the following GitHub issue in django/django: simplify_regexp() doesn't replace trailing groups. Description replace_named_groups() fails to replace the final named group if the urlpattern passed in is missing a trailing '/'. For example, with input r'entries/(?P<pk>[^/.]+)/relationships/(?P<related_field>\w+)' t...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11734
Fix the following GitHub issue in django/django: OuterRef in exclude() or ~Q() uses wrong model. Description The following test (added to tests/queries/test_qs_combinators) fails when trying to exclude results using OuterRef() def test_exists_exclude(self): # filter() qs = Number.objects.annotate( foo=Exists( ...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11740
Fix the following GitHub issue in django/django: Change uuid field to FK does not create dependency Description (last modified by Simon Charette) Hi! I am new in django community, so please help me, because i really dont know is it really "bug". I have a django project named "testproject" and two apps: testapp...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11749
Fix the following GitHub issue in django/django: call_command fails when argument of required mutually exclusive group is passed in kwargs. Description This error django.core.management.base.CommandError: Error: one of the arguments --shop-id --shop is required is raised when I run call_command('my_command', shop_...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11790
Fix the following GitHub issue in django/django: AuthenticationForm's username field doesn't set maxlength HTML attribute. Description AuthenticationForm's username field doesn't render with maxlength HTML attribute anymore. Regression introduced in #27515 and 5ceaf14686ce626404afb6a5fbd3d8286410bf13. ​https://group...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11815
Fix the following GitHub issue in django/django: Migrations uses value of enum object instead of its name. Description (last modified by oasl) When using Enum object as a default value for a CharField, the generated migration file uses the value of the Enum object instead of the its name. This causes a problem...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11820
Fix the following GitHub issue in django/django: models.E015 is raised when Meta.ordering contains "pk" of a related field. Description models.E015 is raised when Meta.ordering contains __pk of a related field, e.g.: test_app.SomeModel: (models.E015) 'ordering' refers to the nonexistent field, related field, or look...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11848
Fix the following GitHub issue in django/django: django.utils.http.parse_http_date two digit year check is incorrect Description (last modified by Ad Timmering) RFC 850 does not mention this, but in RFC 7231 (and there's something similar in RFC 2822), there's the following quote: Recipients of a timestamp val...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11880
Fix the following GitHub issue in django/django: Form Field’s __deepcopy__ does not (deep)copy the error messages. Description The __deepcopy__ method defined for the formfields (​https://github.com/django/django/blob/146086f219d01dbb1cd8c089b5a5667e396e1cc4/django/forms/fields.py#L200) performs a shallow copy of se...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11885
Fix the following GitHub issue in django/django: Combine fast delete queries Description When emulating ON DELETE CASCADE via on_delete=models.CASCADE the deletion.Collector will try to perform fast queries which are DELETE FROM table WHERE table.pk IN .... There's a few conditions required for this fast path to be ...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11951
Fix the following GitHub issue in django/django: bulk_create batch_size param overrides the compatible batch size calculation Description (last modified by Ahmet Kucuk) At this line: ​https://github.com/django/django/blob/stable/2.2.x/django/db/models/query.py#L1197 batch_size param overrides compatible batch ...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11964
Fix the following GitHub issue in django/django: The value of a TextChoices/IntegerChoices field has a differing type Description If we create an instance of a model having a CharField or IntegerField with the keyword choices pointing to IntegerChoices or TextChoices, the value returned by the getter of the field wi...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-11999
Fix the following GitHub issue in django/django: Cannot override get_FOO_display() in Django 2.2+. Description I cannot override the get_FIELD_display function on models since version 2.2. It works in version 2.1. Example: class FooBar(models.Model): foo_bar = models.CharField(_("foo"), choices=[(1, 'foo'), (2, 'ba...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12039
Fix the following GitHub issue in django/django: Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12050
Fix the following GitHub issue in django/django: Query.resolve_lookup_value coerces value of type list to tuple Description Changes introduced in #30687 cause an input value list to be coerced to tuple breaking exact value queries. This affects ORM field types that are dependent on matching input types such as Pickl...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12125
Fix the following GitHub issue in django/django: makemigrations produces incorrect path for inner classes Description When you define a subclass from django.db.models.Field as an inner class of some other class, and use this field inside a django.db.models.Model class, then when you run manage.py makemigrations, a m...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12143
Fix the following GitHub issue in django/django: Possible data loss in admin changeform view when using regex special characters in formset prefix Description (last modified by Baptiste Mispelon) While browsing the code in admin/options.py [1] (working on an unrelated ticket), I came across that line: pk_patte...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12155
Fix the following GitHub issue in django/django: docutils reports an error rendering view docstring when the first line is not empty Description Currently admindoc works correctly only with docstrings where the first line is empty, and all Django docstrings are formatted in this way. However usually the docstring te...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12193
Fix the following GitHub issue in django/django: SplitArrayField with BooleanField always has widgets checked after the first True value. Description (last modified by Peter Andersen) When providing a SplitArrayField BooleanField with preexisting data, the final_attrs dict is updated to include 'checked': True...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12209
Fix the following GitHub issue in django/django: Change in behaviour when saving a model instance with an explcit pk value if the pk field has a default Description (last modified by Reupen Shah) Consider the following model: from uuid import uuid4 from django.db import models class Sample(models.Model): id =...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12262
Fix the following GitHub issue in django/django: Custom template tags raise TemplateSyntaxError when keyword-only arguments with defaults are provided. Description (last modified by P-Seebauer) When creating simple tags without variable keyword args, but an keyword argument with a default value. It's not possi...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12273
Fix the following GitHub issue in django/django: Resetting primary key for a child model doesn't work. Description In the attached example code setting the primary key to None does not work (so that the existing object is overwritten on save()). The most important code fragments of the bug example: from django.db im...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12276
Fix the following GitHub issue in django/django: FileInput shouldn't display required attribute when initial data exists. Description (last modified by thenewguy) I think that ClearableFileInput.use_required_attribute() (​https://github.com/django/django/blob/e703b93a656b78b9b444bb3a9980e305ed002a70/django/for...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12304
Fix the following GitHub issue in django/django: Enumeration Types are not usable in templates. Description (last modified by Mariusz Felisiak) The new ​enumeration types are great but can't be used in Django templates due to their being callable. For example this doesn't work: {% if student.year_in_school == ...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12308
Fix the following GitHub issue in django/django: JSONField are not properly displayed in admin when they are readonly. Description JSONField values are displayed as dict when readonly in the admin. For example, {"foo": "bar"} would be displayed as {'foo': 'bar'}, which is not valid JSON. I believe the fix would be t...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12325
Fix the following GitHub issue in django/django: pk setup for MTI to parent get confused by multiple OneToOne references. Description class Document(models.Model): pass class Picking(Document): document_ptr = models.OneToOneField(Document, on_delete=models.CASCADE, parent_link=True, related_name='+') origin = mod...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12406
Fix the following GitHub issue in django/django: ModelForm RadioSelect widget for foreign keys should not present a blank option if blank=False on the model Description Unlike the select widget, where a blank option is idiomatic even for required fields, radioselect has an inherent unfilled state that makes the "---...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12419
Fix the following GitHub issue in django/django: Add secure default SECURE_REFERRER_POLICY / Referrer-policy header Description #29406 added the ability for the SECURE_REFERRER_POLICY setting to set Referrer-Policy, released in Django 3.0. I propose we change the default for this to "same-origin" to make Django appl...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12663
Fix the following GitHub issue in django/django: Using SimpleLazyObject with a nested subquery annotation fails. Description (last modified by Jordan Ephron) Prior to 35431298226165986ad07e91f9d3aca721ff38ec it was possible to use a SimpleLazyObject in a queryset as demonstrated below. This new behavior appear...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12708
Fix the following GitHub issue in django/django: Migration crashes deleting an index_together if there is a unique_together on the same fields Description Happens with Django 1.11.10 Steps to reproduce: 1) Create models with 2 fields, add 2 same fields to unique_together and to index_together 2) Delete index_togethe...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12713
Fix the following GitHub issue in django/django: Allow overridding widget in formfield_for_manytomany(). Description (last modified by Mariusz Felisiak) It does not work when I set widget param to function formfield_for_manytomany(). This is different from the formfield_for_foreignkey() function.
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12741
Fix the following GitHub issue in django/django: Simplify signature of `DatabaseOperations.execute_sql_flush()` Description The current signature is: def execute_sql_flush(self, using, sql_list): The using argument can be dropped and inferred by the calling instance: self.connection.alias. def execute_sql_flush(self...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12754
Fix the following GitHub issue in django/django: FieldError when migrating field to new model subclass. Description Analogous to #21890. If creating a model subclass and moving a field onto it in the same step, makemigrations works but migrate dies with django.core.exceptions.FieldError: Local field 'title' in class...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12774
Fix the following GitHub issue in django/django: Allow QuerySet.in_bulk() for fields with total UniqueConstraints. Description If a field is unique by UniqueConstraint instead of unique=True running in_bulk() on that field will fail. Consider: class Article(models.Model): slug = models.CharField(max_length=255) ...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12858
Fix the following GitHub issue in django/django: models.E015 is raised when ordering uses lookups that are not transforms. Description ./manage.py check SystemCheckError: System check identified some issues: ERRORS: app.Stock: (models.E015) 'ordering' refers to the nonexistent field, related field, or lookup 'supply...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-12965
Fix the following GitHub issue in django/django: Model.objects.all().delete() subquery usage performance regression Description Lock tests are failing with Django-MySQL on Django 3.1: ​https://github.com/adamchainz/django-mysql/pull/660 . The tests run Model.objects.all().delete(). Django 3.0 generates this SQL: DEL...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-13012
Fix the following GitHub issue in django/django: Constant expressions of an ExpressionWrapper object are incorrectly placed at the GROUP BY clause Description I have a function that expects an arbitrary Query expression and constructs a query on a Postgres db def execQuery(expr): expr = ExpressionWrapper(expr, ou...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-13023
Fix the following GitHub issue in django/django: DecimalField.to_python() raises TypeError on dict values. Description A call to DecimalField.to_python() with a dictionary as the value parameter produces TypeError instead of ValidationError. This is a problem, for example, when you try to save a model object, and a ...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
django__django-13028
Fix the following GitHub issue in django/django: Queryset raises NotSupportedError when RHS has filterable=False attribute. Description (last modified by Nicolas Baccelli) I'm migrating my app to django 3.0.7 and I hit a strange behavior using a model class with a field labeled filterable class ProductMetaData...
software_engineering
[ "bug_analysis", "reproduction_steps", "patch_implementation", "test_verification" ]
[ "A concrete patch or code fix is described", "The root cause of the bug is identified", "Steps to verify the fix are outlined" ]
End of preview. Expand in Data Studio

S-Bus: Long-Horizon Planning Benchmarks and PH-3 Human Annotations

Companion datasets for the paper Reliable Autonomous Orchestration: A Rust-Based Transactional Middleware for Mitigating Semantic Synchronization Overhead in Multi-Agent Systems (Khan, 2026).

Configs

long_horizon_tasks

Long-horizon planning benchmarks used to evaluate S-Bus against LangGraph, CrewAI, and AutoGen.

Split Tasks Step range Description
lhp_15 15 20-40 Original LHP benchmark across 7 domains: software architecture, security and compliance, data and ML pipelines, codebase refactoring, system design, research synthesis, product and API design.
multidomain_30 30 varies Extended 30-task multi-domain set.
from datasets import load_dataset
ds = load_dataset("sajjadanwar0/sbus-benchmarks", "long_horizon_tasks", split="lhp_15")

ph3_human_annotations

Two independent human annotators labeled 400 (session, candidate-shard) pairs sampled from S-Bus evaluation runs. For each pair the annotator judged whether the agent's action genuinely used the candidate shard, given what the agent itself claimed in its self-report.

The source 400 tasks are available as source_tasks.json in the repository file tree, along with the annotation web tool (annotation_tool/annotator.html) and protocol (annotation_tool/GUIDE.md) so the study can be reproduced or extended by independent annotators.

Schema

Column Type Description
row_idx int Zero-indexed row identifier. Shared across both rater files.
candidate_shard str The S-Bus shard whose use is being judged (e.g., migration_plan, models_state, view_logic, permission_check, action_registry).
human_label str One of yes, no, unclear. The rater's judgment of whether the shard was genuinely used.
agent_said_used_it str yes or no — what the agent itself claimed in its output. The cue the rater scored against.

Inter-rater agreement

Cohen's κ is reported under two regimes because 307 of 400 rows have at least one unclear label, making a 3-class report and a 2-class (committed) report tell different stories.

Regime n Cohen's κ Landis & Koch Raw agreement
Strict (yes/no only) 93 0.931 almost perfect 96.8%
Lenient (3-class with unclear) 400 0.695 substantial

Strict confusion matrix:

rater 2: yes rater 2: no
rater 1: yes 33 0
rater 1: no 3 57

Interpretation. When raters commit to a definite yes/no, they near-perfectly agree (κ=0.931). The substantial volume of unclear labels — 77% of rows had at least one — is itself the headline finding: attributing shard usage from agent traces is genuinely ambiguous even for trained humans. This motivates not relying on agent self-report and is the empirical case for the SCR detection mechanism in S-Bus.

Reproducing these figures

The scoring script is bundled in the repository under scripts/:

python3 scripts/score_annotations.py \
    data/ph3_human_annotations/annotator_1.csv \
    data/ph3_human_annotations/annotator_2.csv

Or using datasets directly:

import pandas as pd
from datasets import load_dataset
from sklearn.metrics import cohen_kappa_score

ds = load_dataset("sajjadanwar0/sbus-benchmarks", "ph3_human_annotations")
a1 = ds["annotator_1"].to_pandas()
a2 = ds["annotator_2"].to_pandas()
m = a1.merge(a2, on=["row_idx", "candidate_shard"], suffixes=("_r1", "_r2"))

# Lenient (3-class with unclear)
print("Lenient kappa:", cohen_kappa_score(m["human_label_r1"], m["human_label_r2"]))

# Strict (yes/no committed only)
strict = m[m["human_label_r1"].isin(["yes", "no"]) &
           m["human_label_r2"].isin(["yes", "no"])]
print("Strict kappa: ", cohen_kappa_score(strict["human_label_r1"], strict["human_label_r2"]))

Agent self-report validity

Comparing each annotator's labels against agent_said_used_it shows the agents systematically over-claim shard usage:

Annotator n Precision Recall Accuracy
Rater 1 96 0.681 0.941 0.823
Rater 2 144 0.514 0.725 0.660

When an agent claims to have used a shard, 32-49% of those claims are disputed by the human raters (precision 0.51-0.68). When raters mark a shard as truly used, agents catch it 73-94% of the time. This precision gap is the empirical motivation for transactional shard tracking rather than trusting agent self-report.

Citation

@article{khan2026sbus,
  title   = {Reliable Autonomous Orchestration: A Rust-Based Transactional
             Middleware for Mitigating Semantic Synchronization Overhead
             in Multi-Agent Systems},
  author  = {Khan, Sajjad},
  journal = {arXiv preprint arXiv:2605.17076},
  year    = {2026}
}

License

CC-BY-4.0 for all data, scripts, and annotation materials in this repository.

Repository structure

sbus-benchmarks/
├── README.md                    # this file
├── LICENSE                      # CC-BY-4.0
├── data/
│   ├── long_horizon_tasks/
│   │   ├── long_horizon_tasks.json
│   │   └── tasks_30_multidomain.json
│   └── ph3_human_annotations/
│       ├── annotator_1.csv      # rater 1 labels (400 rows)
│       ├── annotator_2.csv      # rater 2 labels (400 rows)
│       └── source_tasks.json    # the 400 (session, shard) pairs annotated
├── annotation_tool/
│   ├── annotator.html           # browser-based annotation UI
│   └── GUIDE.md                 # annotation protocol and rubric
└── scripts/
    └── score_annotations.py     # Cohen's kappa + self-report stats

Contact

Sajjad Khan — https://github.com/sajjadanwar0

Downloads last month
48

Paper for sajjadanwar0/sbus-benchmarks