Late evening hacking on a record diff viewer
Find a file
Michał Szczepanik 3d81fbabee Sort lists prior to diffing
Objects in all lists inside the object will be sorted (by their value if
they are strings, or using pid / object / or notation if they are
dicts). If none of the expected keys is present, the sorting will treat
all items as empty strings, and degrade to no-op.

This makes the diff more stable, since it is not sensitive to random
changes of order (although lists are technically ordered, in our case
changes of ordering are most likely an artifact of conversion between
triples and JSON which happens in the background).

The sorting will be done unconditionally, but it would be easy to
introduce a flag to turn that on or off.
2026-03-30 13:49:48 +02:00
mini-curate.py Sort lists prior to diffing 2026-03-30 13:49:48 +02:00
mini-curate.tcss Hack together a skeleton of the UI 2026-03-28 20:48:42 +01:00
pyproject.toml Make it a uv project 2026-03-28 20:48:42 +01:00
uv.lock Make it a uv project 2026-03-28 20:48:42 +01:00