Repository navigation
Frame generation: real-file check tool (execute-only, digests and verdict only) - #178
Merged
Merged
Conversation
…dict only) clean/fg/tools/real_check.py runs the converter once on one given frame-generation library with the preset-FG map and records only the verdict, the map's digest, the file version and size, the number of matching stage digests and the converted file's digest; it deletes the converted file. It never opens the library, and never records offsets, values or bytes of it. Refs #96 Signed-off-by: phantoslayer21 <156617979+phantoslayer21@users.noreply.github.com>
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.
Adds a tool for the frame-generation real-file check: does our converter convert a player's own library with the preset-FG map, with every stage digest matching? It records digests and the verdict only (lane h). It stacks on #177 (the map and the converter's offset axes); after #177 merges, this PR's base becomes main.
clean/fg/tools/real_check.py--raw, as a console-less child at below-normal priority.Refs #96
Tested
python -m unittest clean.fg.tests.test_fg_real_check: 6 tests pass locally. They use made-up converter logs (pass, fewer digests, a failure exit, empty output) and a stand-in converter script written by the test: a pass removes the model file, a failure leaves nothing, and a used work folder is refused. The record is checked to hold no offsets.clean/fgtest set and the line-ending check pass. The public gates pass, with no hits inclean/fg.Not tested