Add live QC Status Matrix page + nav link - #2
Draft
tkolberg wants to merge 1 commit into
Draft
Conversation
New CGI page qc_matrix.py (+ qc_matrix_functions.py) rendering every board x every test type in one grid. A test is scored PASS if the board cleared it at least once, FAIL only if every attempt failed, and NOT-YET-RUN if never tried; tests outside a board type's set (Type_test_stitch) are marked N/A. Each row also shows the ECON (U251_T1/_T2) and LDO (U661/U681) serials from the photograph station (Board_component) and the lpGBT ID recovered from the board's most recent test-data attachment ($.test_data.DAQ.id, same source as get_sn_from_lpgbt_id), plus a passed/applicable progress bar. Board IDs link to their module.py detail page. Linked from base.py nav Summary dropdown and footer (no dashboard.py exists; the nav is the site-wide entry point). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YGahLrgqHVspAg4b3tY8oE
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.
What
A new live CGI page — QC Status Matrix — showing every board × every test type in a single grid, reachable from the site nav (Summary ▾ → QC Status Matrix, and the footer).
Requested view: if a board ever passed a test, it counts as passed; mark it failed only if every attempt failed; mark it not-yet-run if it was never tried. Chip IDs (ECON, LDO, lpGBT) are shown per board where recorded.
Cell scoring
Type_test_stitch)Against live
mbdbtoday: 531 passed · 105 failed · 58 not-yet-run across 65 boards × 18 test types.Chip IDs
U251_T1/U251_T2) and LDO (U661/U681) serials fromBoard_component(photograph station) — 29 boards scanned.$.test_data.DAQ.id, the same sourceget_sn_from_lpgbt_iduses), shown in hex — 34 boards.Files
cgi-bin/mbDB/qc_matrix.py— CGI entry point (mirrorssearch.py).cgi-bin/mbDB/qc_matrix_functions.py— gathers data + renders the grid (sticky headers, rotated test labels, sticky Full-ID column, per-board progress bar). Scoped<style>under.qcmso it doesn't touch the rest of the site.cgi-bin/mbDB/base.py— link added to the Summary nav dropdown + footer. (There is nodashboard.py; the nav is the site-wide entry point.)Read-only (
connect(0)/ testreader). No schema or data changes.Notes for review
🤖 Generated with Claude Code