Repository navigation
Build structured results from qsidd output - #100
Merged
Merged
Conversation
harryswift01
force-pushed
the
96-feature-build-structured-results
branch
from
November 12, 2026 11:48
dc2cb34 to
9cd5c52
Compare
Base automatically changed from
96-feature-group-results-by-transition
to
main
November 12, 2026 15:54
harryswift01
force-pushed
the
96-feature-build-structured-results
branch
from
November 12, 2026 15:54
9cd5c52 to
115fd8c
Compare
jimboid
approved these changes
Nov 16, 2026
jimboid
left a comment
Member
There was a problem hiding this comment.
Happy to see this merge. Looks very complete
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds the
sist.resultspackage, which turns qsidd's full-precision output into a result matching the schema, for both successful and failed runs. Part of #96.Changes
qsidd_output.py: splits qsidd's text output into values, warnings and the per-position table.sequence.py: reads the input sequence the way qsidd does.reader.py: turns qsidd's output into result values for any algorithm, using the names in the transitions registry.model.py: typed dataclasses for each section of a result, each writing its part of the schema.diagnostics.py: warning and error codes, and the checks that raise warnings for the sequence, the settings and qsidd's own warnings.provenance.py: records the SIST version, git commit, environment and timings.writer.py: checks a result against the schema and writes it as JSON.builder.py: puts the parts together for a successful or failed run.null.Testing
Impact
--jsonoption in the next PR.Checklist
pyproject.tomlchanged, the lower bounds were reviewed deliberately