https://github.com/streamich/json-crdt-traces
JSON CRDT document sample change traces in JSON CRDT Patch format, for testing and benchmarking
https://github.com/streamich/json-crdt-traces
Last synced: 11 months ago
JSON representation
JSON CRDT document sample change traces in JSON CRDT Patch format, for testing and benchmarking
- Host: GitHub
- URL: https://github.com/streamich/json-crdt-traces
- Owner: streamich
- Created: 2023-11-08T20:01:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:26:33.000Z (over 2 years ago)
- Last Synced: 2024-05-01T12:32:36.846Z (about 2 years ago)
- Language: TypeScript
- Homepage:
- Size: 35.7 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JSON CRDT Traces
A collection of [JSON CRDT][json-crdt] traces for testing and benchmarking. The
traces are provided in [JSON CRDT Patch][json-crdt-patch] format.
[json-crdt]: https://jsonjoy.com/specs/json-crdt
[json-crdt-patch]: https://jsonjoy.com/specs/json-crdt-patch
## Traces
See the __[`traces/`](traces/)__ directory for the list of traces. Each trace
is located in a separate directory and contains the following files:
- `patches.*` - files that contain the whole editing trace in [JSON CRDT Patch format](https://jsonjoy.com/specs/json-crdt-patch/encoding).
- `patches.txt` - a text file containing the trace in human-readable format.
- `patches.bin` - a binary file containing the trace patches in [`binary` format](https://jsonjoy.com/specs/json-crdt-patch/encoding/binary-format),
the list of patches is store as a CBOR array.
- `patch.verbose.json` - a JSON file containing the trace patches in [`verbose` format](https://jsonjoy.com/specs/json-crdt-patch/encoding/verbose-format).
- `patch.compact.json` - a JSON file containing the trace patches in [`compact` format](https://jsonjoy.com/specs/json-crdt-patch/encoding/compact-format).
- `model.*` - files that contain the final state of the document in [JSON CRDT format](https://jsonjoy.com/specs/json-crdt/encoding/structural-encoding).
- `model.txt` - a text file containing the document in human-readable format.
- `model.bin` - a binary file containing the document in [`binary` format](https://jsonjoy.com/specs/json-crdt/encoding/structural-encoding/binary-structural-format).
- `model.verbose.json` - a JSON file containing the document in [`verbose` format](https://jsonjoy.com/specs/json-crdt/encoding/structural-encoding/verbose-structural-format).
- `model.compact.json` - a JSON file containing the document in [`compact` format](https://jsonjoy.com/specs/json-crdt/encoding/structural-encoding/compact-structural-format).
- `view.*` - files that store the final view of the document.
- `view.json` - the final view of the document in JSON format.
- `view.txt` - a text file containing the view, only available for text traces.
## License
- Code in this repository is provided under the [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) license.
- A number of datasets from the upstream `editing-traces` repository are provided under the CC BY 4.0 license as well, [see](https://github.com/josephg/editing-traces/blob/3caad3dcce0043ef925d588d4788dbcddececbd8/sequential_traces/README.md?plain=1#L88).