Repository navigation
StreamWatch 0.2.0: correct track scoring, queue notice metrics, license - #2
Merged
Merged
Conversation
…otices Comparison view - track_formats selects the decoder report by when it was logged, which is the audible boundary, instead of by when Music began buffering the item. - A track runs from its estimated start to the next one's. The view had taken the collector's late observation of a track change for the boundary and credited the next track's first RateCue snapshot to the track that had just ended: 194 of 427 plays reported unknown and 6 mismatched, where RateCue had ended 139 of 399 without a depth and had published no wrong lossless depth. - Leave out two kinds of row that are not plays of their own: Music showing the previous track with the new position for a moment at a boundary, and one play recorded twice. - A report with a rate and no depth is a lossy rendition. Displaying no depth for it is a match; displaying one is a mismatch. Collector - queue_prediction_metrics scores Music's advance notice of a queue item's format, at queueing and at buffering, against the item's first report. A database that predates the table is scored once from raw_log. - A same-track restart is recorded once a second poll confirms it. - Read the displayed format from the explicit fields RateCue 0.2 publishes, and understand both the new and the earlier menu title. Gate and agent - Allow RateCue's read-only decoder-status command. - Describe the new semantics and tables in the agent's schema notes. Adds SPDX license identifiers to every source file. Co-Authored-By: Claude Fable 5.2 <[email protected]>
- License StreamWatch under GPL-3.0-only, matching RateCue. - NOTICE: copyright and warranty statement, attribution to RateCue and to LosslessSwitcher for the log patterns the collector follows, the licenses of the Python packages the agent installs, and trademarks. - Contribution guidelines, code of conduct, issue and pull request templates. - Changelog, in Keep a Changelog form. - README: introduction and badges, the corrected comparison, the queue notice metrics, a project guide, and license and credits. Co-Authored-By: Claude Fable 5.2 <[email protected]>
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.
Purpose
StreamWatch 0.2.0. The comparison view scored tracks against the wrong boundaries, the predictor had nothing to measure, and the repository had no license.
Scoring
track_formatstook the collector's late observation of a track change for the boundary, so the next track's first, still-unknown RateCue snapshot was credited to the track that had just ended. Over two days it reported 194 of 427 plays asratecue_unknownand 6 asMISMATCH, where RateCue had ended 139 of 399 plays without a depth and had published no wrong lossless depth. A track now runs from its estimated start to the next one's.Prediction
queue_prediction_metricsscores Music's own advance notice of a queue item's format, when it queues the item and when it starts buffering it, against the item's first decoder report. No track identity is involved. Existing databases are scored once from the log lines they already hold.Release
Validation
python3 -m unittest discover -s testspasses (33 tests; 10 new)Not exercised on a live system
Private vulnerability reporting is not enabled on this repository, so the issue template points to the security policy. Enabling it under Settings → Code security would let SECURITY.md drop its interim note.
🤖 Generated with Claude Code