No description
  • JavaScript 91.2%
  • Python 8.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
anystar 78217455de init
2026-10-11 16:46:15 +11:00
.openai init 2026-10-11 16:46:15 +11:00
dist init 2026-10-11 16:46:15 +11:00
tests init 2026-10-11 16:46:15 +11:00
README.md init 2026-10-11 16:46:15 +11:00
START-HERE.txt init 2026-10-11 16:46:15 +11:00

Repair Lab · MOSFET Bench

A private, buildless Sites learning website. Open dist/index.html to study the three pins, a rendered TO-220 package and standard N-channel enhancement symbol, and a qualitative gate-voltage demo.

The eight-pin testing exercise at #meter-exercise uses the supplied package reference image and a labelled SiR870DP PowerPAK SO-8 pinout. Its underside diagram has nine selectable contacts: eight pins and the exposed drain pad. The seven-step guide covers gate discharge, both body-diode polarities, and G–S/G–D isolation in both directions. The fault lab compares a no-static-fault device, D–S short and G–S short, and explicitly simulated gate charge. Diode readings are illustrative, not guaranteed datasheet values. These checks do not certify performance under load.

The example package is FQP30N06L; the demonstration is an explicitly labelled generic teaching model, not a simulation or datasheet curve. Source is grounded in the demo, so its slider is VGS. Other circuits can have source above ground. Current dots show conventional current from drain to source. The intrinsic body diode points source to drain.

The bottom section at #mosfet-quiz has twenty multiple-choice questions covering fundamentals, package connections, gate drive, diode tests, repair diagnosis and conduction loss. Each question has four choices, one answer, a hint and feedback for every option. Answers are checked once and advance manually. Results include a score and missed-question review, with fresh rounds for missed questions or all twenty. Scores remain in page-session memory. The question bank is in dist/questions.js and interaction code is in dist/quiz.js.

All learner-facing explanations use plain language. The optional word-help box defines channel, body diode, VGS, VDS, short, OL, load and datasheet/pinout. The exercise uses “Clear gate charge” and “Try faults”, explains probe positions directly, and keeps the conditions and limits of basic meter tests clear. Quiz questions, hints, choices and feedback follow the same wording.

Validation

Run python tests/validate.py then node tests/interactions.cjs. These validate the actual shipped interaction scripts with the document's parsed controls. Checks cover pointer preview/restore, persistent selection across both diagrams, keyboard selection, body diode toggle, slider boundaries, presets, visual state, and reset. Exercise checks cover all pin groups, both polarities, same-node readings, preparation, wrong setups, completion, probe swaps, gate charge/discharge, fault selection, role visibility and reset. Quiz checks cover the reviewed answer key, both numerical answers, every option's feedback, empty submission, single scoring, manual navigation, hint reset, full results, mixed and zero scores, repeated retries and restart. Document checks validate assets, ID references and accessible controls. Responsive CSS includes layouts for desktop, tablet and phone and honours reduced motion.

Browser QA was unavailable in the build environment. No browser preview server was started.

The tracked .openai/hosting.json configures dist as the static deployment directory. There are no application dependencies or external script/font assets. External links are optional manufacturer references. Private access is enforced by Sites, not page JavaScript.