about summary refs log tree commit diff
path: root/scripts/insert_data.py
diff options
context:
space:
mode:
authorpi coding agent <pi@localhost>2026-10-15 20:44:47 +0000
committerFrederick Muriuki Muriithi <fredmanglis@gmail.com>2026-10-15 16:01:05 -0500
commit87ba0e2fae57764863af2c978a8878f92f043ab2 (patch)
treefc01b589ed946d508d26b2163d56aec565c033f2 /scripts/insert_data.py
parent930dfee072eeba7482fbd2828efd8fa3922b138f (diff)
downloadgn-uploader-87ba0e2fae57764863af2c978a8878f92f043ab2.tar.gz
Sort collected genotype symbols for deterministic output
The genotype symbols were converted to a tuple straight from a set, so their
order depended on the set's iteration order. That made the output (and the
JSON emitted by the CLI) non-deterministic, and caused the multi-processed
result to differ from the single-threaded result once symbols were merged
across chunks. Sort the symbols so the output is stable and identical for
both implementations. The set of symbols, which is what consumers care
about, is unchanged.
Diffstat (limited to 'scripts/insert_data.py')
0 files changed, 0 insertions, 0 deletions