Repository navigation
Track 4 staging (1/3): The deployed definitions of the input tables - #168
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
dev/t4-staging/inputs.sql creates the input tables Track 4 reads that other tracks own and that are not on master yet: the T1.1 roster and Gitea PR tables, the T2.5 blame summary, the T2.6 commit history (member_commit_activity is its view), the T3.4 surveys and the T5.3/T5.4 SOW tables. It is a pg_dump of the deployed Horizon schema, so a staging run sees the production column names, types, NOT NULLs and CHECKs; only the foreign keys to Track 5 tables that are not stood in for are left out. For throwaway databases only.
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.
dev/t4-staging/inputs.sql creates the input tables Track 4 reads that other
tracks own and that are not on master yet: the T1.1 roster and Gitea PR
tables, the T2.5 blame summary, the T2.6 commit history (member_commit_activity
is its view), the T3.4 surveys and the T5.3/T5.4 SOW tables. It is a pg_dump
of the deployed Horizon schema, so a staging run sees the production column
names, types, NOT NULLs and CHECKs; only the foreign keys to Track 5 tables
that are not stood in for are left out. For throwaway databases only.
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 tables ← this PRt4/7b-staging-seedTrack 4 staging (2/3): A synthetic semester with expected metric valuest4/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: 2 files changed, 417 insertions(+).