Repository navigation
Track 4 staging (2/3): A synthetic semester with expected metric values - #169
Open
SuperNova-W wants to merge 1 commit into
Open
SuperNova-W wants to merge 1 commit into
SuperNova-W wants to merge 1 commit into
Conversation
seed.py fills a throwaway database with a deterministic FALL 2026 semester: a normal project with Co-authored-by trailers (a teammate's and a bot's), a project with engineers_review_prs off, a one-engineer group, a project with no SOW and an engineer with no Git activity, an engineer who stops in September, a review request answered across the daylight-saving change, two survey rounds with answers from tech leads, engineers and project leads (some that must not count), club-wide tech leads, and members and projects that are not ranked. Sessions run in New York time. It also works out values for most metrics from the seeded rows with the card formulas, independently of the pipeline, into public.t4_expected.
This branch has not been deployed
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.
seed.py fills a throwaway database with a deterministic FALL 2026 semester:
a normal project with Co-authored-by trailers (a teammate's and a bot's), a
project with engineers_review_prs off, a one-engineer group, a project with no
SOW and an engineer with no Git activity, an engineer who stops in September,
a review request answered across the daylight-saving change, two survey rounds
with answers from tech leads, engineers and project leads (some that must not
count), club-wide tech leads, and members and projects that are not ranked.
Sessions run in New York time.
It also works out values for most metrics from the seeded rows with the card
formulas, independently of the pipeline, into public.t4_expected.
Stack
Track 4, stacked on Michael's #147 → #149 → #151 → #153. Review and merge in order; each PR shows only its own change.
t4/base-pr-153: a copy of T4.4: Delivery against the SOW metrics #153's head (90b8e5b, in Michael's fork), so this stack can target it. After T4.1: Ranking schema, rubric v1 and ranking runs #147–T4.4: Delivery against the SOW metrics #153 merge, retarget PR 1 tomaster.t4/4a-schema-upgradeT4.1 fix: add excluded_buckets to an existing ranked_memberst4/4b-review-fixesT4.3 fix: real elapsed review hours, Co-authored-by trailers, roster-only contributorst4/4c-survey-rolesT4.3 fix: count survey answers only from the respondents the card namest4/4d-inactive-stretchT4.2 fix: longest_inactive_stretch counts the gap since the last activityt4/5a-scoringT4.5 (1/4): Percentile, bucket and overall scoringt4/5b-read-modelsT4.5 (2/4): Published ranking document and leaderboard read modelst4/5c-member-scoresT4.5 (3/4): member_scores assett4/5d-publishT4.5 (4/4): publish_ranking assett4/6a-explanationsT4.6 (1/4): Explanation input, Claude call and fallbackt4/6b-member-explanationsT4.6 (2/4): member_explanations asset and published notest4/6c-admin-cliT4.6 (3/4): Admin CLI: finalize, compare, add-notet4/6d-rubric-v2T4.6 (4/4): Rubric v2 without survey buckets as the defaultt4/7a-staging-inputsTrack 4 staging (1/3): The deployed definitions of the input tablest4/7b-staging-seedTrack 4 staging (2/3): A synthetic semester with expected metric values ← this PRt4/7c-staging-runnerTrack 4 staging (3/3): Run the ranking graph end to end on staging and check itTesting
./nx run horizon-dag:checkpasses on this branch. Database tests run whenTEST_POSTGRES_URLpoints at a Postgres the tests may create databases on, for examplepostgresql://postgres@127.0.0.1:5432/postgres; without it they are skipped.horizon/dev/t4-staging): every seeded case and every independently computed metric value matches. The same harness fails on the code before PRs 2–4.Size: 1 file changed, 403 insertions(+).