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:    TypeError
Message:      Couldn't cast array of type
struct<kind: string, mapping: string>
to
{'binding': Value('string'), 'kind': Value('string'), 'source': Value('string')}
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                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 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 489, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2303, in cast_table_to_schema
                  cast_array_to_feature(
                  ~~~~~~~~~~~~~~~~~~~~~^
                      table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      feature,
                      ^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1852, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2109, in cast_array_to_feature
                  casted_array_values = _c(array.values, feature.feature)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1854, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2149, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<kind: string, mapping: string>
              to
              {'binding': Value('string'), 'kind': Value('string'), 'source': Value('string')}

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.

Document Change Assurance Benchmark (DCAB)

This dataset mirrors the deterministic fixture corpus from DCAB v0.32.0. It contains 42 paired synthetic WordprocessingML cases for static document-change assurance.

Each case directory provides a baseline package, candidate package, and target-free truth.json. The public truth files describe only a narrow fact category and a reference review convention. They never disclose URI-like targets, field instructions or fragmented field-code runs, VML shape IDs or target frames, linked-OLE ProgIDs/object IDs/update modes, DrawingML nonvisual object names/descriptions/IDs, raw hidden serialization values, graphic-data URIs, ActiveX control names/class IDs/persistence metadata, document-variable names or values, mail-merge recipient hashes or inclusion values, save-through-XSLT anchors or local solution identifiers, attached-custom-XML-schema namespace values, raw w:linkStyles, w:removePersonalInformation, w:savePreviewPicture, or content-control w:lock serialization values, content-control IDs/tags/text, permission marker IDs or individual editor assignments, task-pane web-extension IDs, classic-comment anchors and paragraph IDs, comment author/initial/date/body values, raw commentsExtended serialization values, frameset layout/name/size values, package-signature values, manifest object IDs, reference URIs, relationship selectors, signature/origin paths, thumbnail relationship sources/targets, content types, part paths, references, store descriptors, property values, XPath values, relationship IDs, custom XML values, thumbnail image bytes, Markup Compatibility branch bodies, feature-prefix or qualified-name values, compatibility-rule values, or opaque payload bytes.

Layout

fixtures/
  manifest.jsonl
  interaction.word_hyperlink_target_retargeted/
    baseline.docx
    candidate.docx
    truth.json
  ...

The corpus covers direct Word and legacy VML shape hyperlinks, HYPERLINK, simple and fragmented complex INCLUDETEXT, DDE, DOCVARIABLE, and fixed legacy FORMTEXT fields, persisted document variables, attached custom XML schema declarations, automatic field-recalculation-on-open, template-style-update-on-open, personal-information-removal-on-save, form-data-only-save, preview-thumbnail-on-save, and content-control-lock declarations, editable-range permission markup, task-pane Office web-extension auto-show configuration, Office 2013 commentsExtended done metadata, attached-template, mail-merge data-source/recipient-selection, and save-through-XSLT settings, master-subdocument and frameset-source dependencies, legacy VML linked-OLE objects, DrawingML linked-picture relationships and direct nonvisual visibility declarations, alternative-format import payloads, hidden text, tracked insertion markup, Track Changes and document protection settings, bound and unbound custom-XML payloads, relationship-bound OPC package-thumbnail payloads, static OPC package-signature declaration coverage, OOXML Markup Compatibility choice requirements, VBA project payload boundaries, embedded OLE payload boundaries, and ActiveX control-persistence payload boundaries.

Safety boundary

URI-like relationship values in packages use example.invalid, and the DDE source is a synthetic local-style string. Macro, OLE, and ActiveX persistence bytes are inert synthetic marker data. The package-thumbnail pair uses deterministic fully synthetic 1×1 PNG bytes and treats them as opaque. The corpus is static: use it without resolving a relationship, loading an attached template, updating a field or style, opening a Word client, parsing or decoding an opaque payload, activating OLE or ActiveX, or executing code.

The unbound custom-XML pair retains a conventional custom-XML data/properties topology and all stored Word text while changing only inert XML bytes. It contains no w:dataBinding marker and makes no claim that Word displays, uses, or removes the stored XML.

The package-thumbnail pair retains the standard root thumbnail relationship, image/png content type, member set, and all stored Word text while changing only a fully synthetic PNG's bytes. It does not decode the image or claim that it previews the document or will be displayed by any client.

The Markup Compatibility pair retains one mc:AlternateContent, one mc:Choice, one mc:Fallback, its package member set, and all stored Word text while changing only a private Choice/@Requires feature prefix. It does not validate MCE conformance, resolve the prefix, choose a branch, preprocess or save a package, or claim any client rendering behavior.

The DrawingML visibility pair retains one compact inline DrawingML carrier, its package topology, and all stored Word text while changing only direct wp:docPr/@hidden from false to true. It does not identify a visual object, calculate effective visibility, choose an MCE branch, lay out or render DrawingML, or claim client behavior.

The form-data-only-save pair retains one fixed legacy FORMTEXT carrier, its package topology, and all stored Word text while changing only direct w:saveFormsData/@w:val from false to true. It does not read or evaluate a form-field value, open Word, save a document, emit a delimited record, determine a delimiter, or claim client behavior.

The preview-thumbnail-on-save pair retains no thumbnail relationship or image part, its package topology, and all stored Word text while changing only direct w:savePreviewPicture/@w:val from false to true. It does not create, decode, render, or classify an image; open Word; save a document; generate a thumbnail; or claim client behavior.

The content-control-lock pair retains one direct SDT carrier, its fixed ID/tag and stored text, package topology, and all other stored Word text while changing only direct w:sdtPr/w:lock/@w:val from unlocked to sdtContentLocked. It does not infer a lock from omitted markup, classify a control type, read a control value, open Word, apply a lock, or claim client behavior.

The package-signature pairs retain their signature-origin topology, package membership, and stored Word text while changing only private static relationship-selection declarations in XMLDSIG-shaped manifests. Their package-specific object uses OPC's required idPackageObject identifier. One uses the standard RelationshipsGroupReference/@SourceType selector to reassign a private relationship type while keeping its public coverage cardinality fixed. Their digest and signature values are fixed synthetic placeholders: they exercise declared coverage only and do not establish cryptographic validity, signer identity, trust, integrity, or a client-side signature result.

Reproducibility

The source repository includes a deterministic builder and independent structural verifier:

python -m pip install document-change-benchmark
dcab validate --fixtures fixtures

This mirror has no special execution requirement. It is provided under the MIT license; see LICENSE.

Scope

DCAB does not claim client rendering/runtime compatibility or universal security policy. It is a narrow, tool-neutral static-review benchmark. In particular, it does not resolve or follow links; retrieve sources, templates, frame documents, or mail-merge data; parse or decode opaque macro, thumbnail, OLE, ActiveX, or alternative-format payloads; interpret unbound custom-XML data; resolve an MCE feature prefix or choose an MCE branch; calculate effective DrawingML visibility or content-control locking; calculate or validate a package signature, digest, certificate, trust, or integrity result; update/evaluate fields; read a form/control value; open Word; save a document; emit a form-data record; generate a thumbnail; activate objects; execute code; synchronize comments or task panes; or assert client behavior. See the repository README and v0.32 research notes for the exact contracts and limits.

Downloads last month
-