Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
exit_status: string
gen_tests_correct: null
instance_id: string
messages: list<item: struct<content: string, name: string, role: string, tool_call_id: string, tool_calls: lis (... 94 chars omitted)
  child 0, item: struct<content: string, name: string, role: string, tool_call_id: string, tool_calls: list<item: str (... 82 chars omitted)
      child 0, content: string
      child 1, name: string
      child 2, role: string
      child 3, tool_call_id: string
      child 4, tool_calls: list<item: struct<function: struct<arguments: string, name: string>, id: string, type: string>>
          child 0, item: struct<function: struct<arguments: string, name: string>, id: string, type: string>
              child 0, function: struct<arguments: string, name: string>
                  child 0, arguments: string
                  child 1, name: string
              child 1, id: string
              child 2, type: string
model_patch: string
patch: string
pred_passes_gen_tests: null
repo: string
resolved: int64
source_run_id: string
tools: list<item: struct<function: struct<description: string, name: string, parameters: struct<additionalP (... 1142 chars omitted)
  child 0, item: struct<function: struct<description: string, name: string, parameters: struct<additionalProperties:  (... 1130 chars omitted)
      child 0, function: struct<description: string, name: string, parameters: struct<additionalProperties: bool, properties: (... 1098 chars omitted)
          child 0, description: string
...
string
                      child 1, type: string
                  child 11, view_range: struct<description: string, items: struct<type: string>, type: string>
                      child 0, description: string
                      child 1, items: struct<type: string>
                          child 0, type: string
                      child 2, type: string
              child 2, required: list<item: string>
                  child 0, item: string
              child 3, type: string
      child 1, type: string
trajectory: list<item: struct<content: string, name: string, role: string, tool_call_id: string, tool_calls: lis (... 94 chars omitted)
  child 0, item: struct<content: string, name: string, role: string, tool_call_id: string, tool_calls: list<item: str (... 82 chars omitted)
      child 0, content: string
      child 1, name: string
      child 2, role: string
      child 3, tool_call_id: string
      child 4, tool_calls: list<item: struct<function: struct<arguments: string, name: string>, id: string, type: string>>
          child 0, item: struct<function: struct<arguments: string, name: string>, id: string, type: string>
              child 0, function: struct<arguments: string, name: string>
                  child 0, arguments: string
                  child 1, name: string
              child 1, id: string
              child 2, type: string
trajectory_id: string
actions: list<item: null>
  child 0, item: null
tool_calls: list<item: null>
  child 0, item: null
to
{'actions': List(Value('null')), 'messages': List({'content': Value('string'), 'name': Value('string'), 'role': Value('string'), 'tool_call_id': Value('string'), 'tool_calls': List({'function': {'arguments': Value('string'), 'name': Value('string')}, 'id': Value('string'), 'type': Value('string')})}), 'tool_calls': List(Value('null'))}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
                  return get_rows(
                         ^^^^^^^^^
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 295, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 128, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              exit_status: string
              gen_tests_correct: null
              instance_id: string
              messages: list<item: struct<content: string, name: string, role: string, tool_call_id: string, tool_calls: lis (... 94 chars omitted)
                child 0, item: struct<content: string, name: string, role: string, tool_call_id: string, tool_calls: list<item: str (... 82 chars omitted)
                    child 0, content: string
                    child 1, name: string
                    child 2, role: string
                    child 3, tool_call_id: string
                    child 4, tool_calls: list<item: struct<function: struct<arguments: string, name: string>, id: string, type: string>>
                        child 0, item: struct<function: struct<arguments: string, name: string>, id: string, type: string>
                            child 0, function: struct<arguments: string, name: string>
                                child 0, arguments: string
                                child 1, name: string
                            child 1, id: string
                            child 2, type: string
              model_patch: string
              patch: string
              pred_passes_gen_tests: null
              repo: string
              resolved: int64
              source_run_id: string
              tools: list<item: struct<function: struct<description: string, name: string, parameters: struct<additionalP (... 1142 chars omitted)
                child 0, item: struct<function: struct<description: string, name: string, parameters: struct<additionalProperties:  (... 1130 chars omitted)
                    child 0, function: struct<description: string, name: string, parameters: struct<additionalProperties: bool, properties: (... 1098 chars omitted)
                        child 0, description: string
              ...
              string
                                    child 1, type: string
                                child 11, view_range: struct<description: string, items: struct<type: string>, type: string>
                                    child 0, description: string
                                    child 1, items: struct<type: string>
                                        child 0, type: string
                                    child 2, type: string
                            child 2, required: list<item: string>
                                child 0, item: string
                            child 3, type: string
                    child 1, type: string
              trajectory: list<item: struct<content: string, name: string, role: string, tool_call_id: string, tool_calls: lis (... 94 chars omitted)
                child 0, item: struct<content: string, name: string, role: string, tool_call_id: string, tool_calls: list<item: str (... 82 chars omitted)
                    child 0, content: string
                    child 1, name: string
                    child 2, role: string
                    child 3, tool_call_id: string
                    child 4, tool_calls: list<item: struct<function: struct<arguments: string, name: string>, id: string, type: string>>
                        child 0, item: struct<function: struct<arguments: string, name: string>, id: string, type: string>
                            child 0, function: struct<arguments: string, name: string>
                                child 0, arguments: string
                                child 1, name: string
                            child 1, id: string
                            child 2, type: string
              trajectory_id: string
              actions: list<item: null>
                child 0, item: null
              tool_calls: list<item: null>
                child 0, item: null
              to
              {'actions': List(Value('null')), 'messages': List({'content': Value('string'), 'name': Value('string'), 'role': Value('string'), 'tool_call_id': Value('string'), 'tool_calls': List({'function': {'arguments': Value('string'), 'name': Value('string')}, 'id': Value('string'), 'type': Value('string')})}), 'tool_calls': List(Value('null'))}
              because column names don't match

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.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

OpenHands / SWE-rebench trajectory rows

This dataset contains exported rollout-card bundle JSONL files for the paper artifact.

Downloads last month
151