Conversation
Reviewer's GuideAdds deterministic, clock-controllable ranking and digest generation, introduces focused tests for ranking, digest, store, and categories, and wires a read-only pull-request CI workflow that runs those tests and compile checks on Python 3.11 and 3.13 while documenting the validation commands in the README. Sequence diagram for deterministic ranking and digest generationsequenceDiagram
actor Developer
participant Tests
participant Ranker as score_repositories
participant DigestMD as build_markdown_digest
participant DigestTG as build_telegram_link_digest
Developer->>Tests: run unittest
Tests->>Ranker: score_repositories(category, repos, now=fixed_datetime)
Ranker-->>Tests: ranked_repos
Tests->>DigestMD: build_markdown_digest(categories, ranked_repos, top_n, generated_at=fixed_datetime)
DigestMD-->>Tests: markdown_digest
Tests->>DigestTG: build_telegram_link_digest(categories, ranked_repos, top_n, generated_at=fixed_datetime)
DigestTG-->>Tests: telegram_digest
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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
Adds focused pull-request validation for the standalone Top Quant Gits scout without changing its default runtime behavior.
Changes
Validation
py -3.13 -m unittest discover -s tests -v— 9 tests passedpy -3.13 -m compileall -q top_quant_gits tests— passedgit diff --check— passedScope
output/latest_digest.mdwere not changedSummary by Sourcery
Add deterministic validation for repository ranking, digest generation, categories, and seen-repository storage.
Enhancements:
CI:
Documentation:
Tests: