Skip to content

quiz: grow building-pressure bank 10 → 15 [S] - #650

Open
EWH2000 wants to merge 2 commits into
mainfrom
feat/quiz-building-pressure-15
Open

EWH2000 wants to merge 2 commits into
mainfrom
feat/quiz-building-pressure-15

Conversation

@EWH2000

@EWH2000 EWH2000 commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

Next bank in the quiz-growth arc: the Building Pressure quiz bank grows from 10 to 15 questions. With more questions than the page's defaultCount (10), the engine now picks a different 10 each run. Nothing is removed: the original ten questions are unchanged, and each new one tests a lesson passage the ten didn't cover.

Changes

html/_data/quizzes/building-pressure.js, additions only:

id type tests anchor
bp-tracking-in-flow mcq Return-fan tracking holds its offset in measured flow, because a fixed speed offset holds no particular CFM gap #relief-lineup
bp-tracking-offset-sizing numeric A commissioned offset meets a ledger that moved: 2,000 CFM commissioned + a 1,200 CFM kitchen hood added later = 3,200 CFM (re-scenarioed per the refuter, see below) #relief-lineup
bp-vav-deposit-moves tf The VAV wrinkle: the outside air coming in changes with fan speed as well as damper position #dampers-pressure
bp-windward-reference gotcha A building-static point that swings crisply is a bare windward reference tube reading gusts. The tech's belief that the loop needs more gain is the trap #measuring-it
bp-duct-static-not-building mcq The "Not the same pressure" callout: a steady duct static tells you nothing about building static #measuring-it (the callout has no id of its own, so the link goes to the section it sits in; the header comment says so)
  • Header: adds the sampling note and a coverage sentence that names the lesson's sections without counting questions (same pattern as the air-handlers growth in quiz: grow air-handlers bank 10 → 15 [S] #609).
  • Correct-answer letters: a0/b5/c3/d0 → a2/b5/c3/d1. In every new question the correct choice is no longer than the longest wrong choice.
  • Metric figures: no new temperatures. Pressure and flow conversions follow the lesson's own (1.5 in. w.c. ↔ 375 Pa, ×1.7 for CFM → m³/h, as the existing numeric already does).
  • Owner stances: "deadband" is used once and explained in the same sentence as a band around setpoint where the loop holds still. No vendor names. No "coming soon" wording; the VAV explanation points to the existing VAV Systems lesson.
  • Not touched: defaultCount, the practice landing card and its pills, README counts, and the lesson itself. The FAQPage JSON-LD picked up the new questions on its own (15 Question entries in the built page).

Owner invitation: if you have a field gotcha of your own that beats any of these, swap it in. The windward-reference gotcha in particular would be better as a real story.

Test plan

  • npm run build: clean, 140 files written
  • tests/quiz-banks.spec.js: 42/42 passed
  • tests/metric-spans.spec.js: 3/3 passed
  • tests/link-integrity.spec.js: 4/4 passed
  • tests/smoke.spec.js -g "practice — building pressure": 1/1 passed
  • Throwaway Playwright probe on the built page (Questions = All, Order = sequential), not committed: every one of the 15 questions mounted, revealed and answered with no console or page errors. All 5 new questions appear in the Review table, and their Learn-more links go to #relief-lineup ×2, #dampers-pressure and #measuring-it ×2, all of which exist on the lesson.
  • Owner read-through of the new prompts and explanations

Refuter fixes applied

Commit ef13ae5 (quiz: refuter fixes to the building-pressure bank):

  • bp-tracking-offset-sizing: was a duplicate of bp-minimum-oa-sizing. Both asked the reader to add dedicated exhaust to the pressurization surplus. At minimum OA with the relief closed, the two are even the same physical quantity, so a sampled run could show the same addition twice under two names. The id and the #relief-lineup anchor stay. The question now tests the lesson beat nothing else covers, the widget's lesson that a stale offset meets a ledger that moved. Commissioned offset 1,500 + 500 = 2,000 CFM (2,550 + 850 = 3,400 m³/h). A 1,200 CFM (2,040 m³/h) kitchen hood is added later, so the offset must become 3,200 CFM (3,400 + 2,040 = 5,440 m³/h, which adds up from the displayed numbers). Left at 2,000, the building drifts negative whenever the hood runs. Answer 2000 → 3200, tolerance 50.
  • One wording change from the refuter's suggested prompt: the hood is described as having "no makeup air of its own". A hood with its own makeup-air unit would leave the ledger unchanged, so without that clause a field reader could reasonably answer 2,000. This matches the lesson widget, where the hood has no makeup air.
  • Header: the coverage clause "what the offset is made of" now reads "what happens to a commissioned offset when the ledger moves" (comment reflowed).
  • Re-run after the fix: tests/quiz-banks.spec.js 42/42, tests/metric-spans.spec.js 3/3, tests/link-integrity.spec.js 4/4 (49 passed, 0 failed).

Merge authority

Quiz bank renders into a live practice page → owner merges.

🤖 Generated with Claude Code

Quiz-growth arc, next bank: building-pressure grows past its page's
defaultCount (10) so the engine samples a different 10 each run.
Add-only — the existing ten questions are untouched; the header gains
the sampling note and a coverage sentence that names lesson sections
rather than counting questions.

New questions, each sourced from a lesson passage the ten didn't test:

- bp-tracking-in-flow (mcq, #relief-lineup): return-fan tracking is
  held in measured flow, because a fixed speed offset holds no
  particular CFM gap.
- bp-tracking-offset-sizing (numeric, #relief-lineup): the tracking
  offset is the ledger again — exhaust 1,500 + surplus 500 = 2,000 CFM.
- bp-vav-deposit-moves (tf, #dampers-pressure): on VAV the deposit
  column moves with fan speed, not just damper position.
- bp-windward-reference (gotcha, #measuring-it): a crisply swinging
  building-static point is a bare windward reference tube reading
  gusts, not a loop that needs more gain.
- bp-duct-static-not-building (mcq, #measuring-it): duct static says
  nothing about building static (the "Not the same pressure" callout,
  which has no id of its own).

Correct-letter distribution a0/b5/c3/d0 -> a2/b5/c3/d1. No new
temperature figures; pressure and flow parentheticals follow the
lesson's own conversions.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
controlsfreak ef13ae5 Commit Preview URL

Branch Preview URL
Oct 07 2026, 01:27 AM

The refuter found bp-tracking-offset-sizing a substantive duplicate of
bp-minimum-oa-sizing: both added dedicated exhaust to the
pressurization surplus, and at minimum OA with relief closed the two
are physically the same quantity, so a sampled run could present one
addition twice under two labels.

The question keeps its id and its relief-lineup anchor but now tests
the lesson beat nothing else covers - the widget's moral that a stale
offset meets a ledger that moved. A kitchen hood (no makeup air of its
own) added after commissioning grows the required offset from 2,000 to
3,200 CFM; metric closes on the displayed operands (3,400 + 2,040 =
5,440 m3/h).

- html/_data/quizzes/building-pressure.js: re-scenario the question,
  answer 2000 -> 3200, new explain; header coverage clause now reads
  "what happens to a commissioned offset when the ledger moves"

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant