ok   bank has 20 cases (tcQN = 20)
ok   case  1 -> (1,3) One-way ANOVA
ok   case  1 design 3 is in the quiz table
ok   case  1 line <= 46 chars: 'Sentence length (months) for similar burglary'
ok   case  1 line <= 46 chars: 'convictions, handed down by three different'
ok   case  1 line <= 46 chars: 'judges.'
ok   case  1 line <= 46 chars: 'Months = interval; 3 judges = 3+ groups'
ok   case  1 also accepts Kruskal-Wallis test
ok   case  1 alt cell in the quiz table
ok   case  2 -> (2,2) Chi-square 2x2, or Fisher's exact
ok   case  2 design 2 is in the quiz table
ok   case  2 line <= 46 chars: 'Re-arrest within two years (yes/no) for'
ok   case  2 line <= 46 chars: 'parolees in a drug-court programme and in'
ok   case  2 line <= 46 chars: 'standard probation.'
ok   case  2 line <= 46 chars: 'Yes/no outcome, 2 separate groups; give the OR'
ok   case  2 also accepts Relative risk, odds ratio, chi-square
ok   case  2 alt cell in the quiz table
ok   case  3 -> (1,4) Paired t test
ok   case  3 design 4 is in the quiz table
ok   case  3 line <= 46 chars: 'Accuracy (% correct) of the same 25 latent-'
ok   case  3 line <= 46 chars: 'print examiners before and after a training'
ok   case  3 line <= 46 chars: 'course.'
ok   case  3 line <= 46 chars: 'The same examiners measured twice: PAIRED'
ok   case  3 has no alt
ok   case  4 -> (3,2) Mann-Whitney U (Wilcoxon rank-sum)
ok   case  4 design 2 is in the quiz table
ok   case  4 line <= 46 chars: 'Confidence in a bitemark match on a 1-5 Likert'
ok   case  4 line <= 46 chars: 'scale: board-certified versus non-certified'
ok   case  4 line <= 46 chars: 'examiners.'
ok   case  4 line <= 46 chars: 'Likert scores are ordinal; 2 separate groups'
ok   case  4 has no alt
ok   case  5 -> (4,2) Log-rank test (two groups)
ok   case  5 design 2 is in the quiz table
ok   case  5 line <= 46 chars: 'Days from release to re-arrest in two re-entry'
ok   case  5 line <= 46 chars: 'programmes; some were never re-arrested during'
ok   case  5 line <= 46 chars: 'follow-up.'
ok   case  5 line <= 46 chars: 'Time to an event, some censored: survival'
ok   case  5 has no alt
ok   case  6 -> (1,6) Pearson r and linear regression
ok   case  6 design 6 is in the quiz table
ok   case  6 line <= 46 chars: 'Crime rate and unemployment rate, both'
ok   case  6 line <= 46 chars: 'measured in each of 50 counties.'
ok   case  6 line <= 46 chars: ''
ok   case  6 line <= 46 chars: 'Two measured variables, no groups: association'
ok   case  6 has no alt
ok   case  7 -> (1,2) Unpaired (two-sample) t test
ok   case  7 design 2 is in the quiz table
ok   case  7 line <= 46 chars: 'Blood alcohol concentration of drivers stopped'
ok   case  7 line <= 46 chars: 'at a rural and at an urban checkpoint.'
ok   case  7 line <= 46 chars: ''
ok   case  7 line <= 46 chars: 'BAC is measured; 2 separate groups of drivers'
ok   case  7 has no alt
ok   case  8 -> (2,4) McNemar's test
ok   case  8 design 4 is in the quiz table
ok   case  8 line <= 46 chars: 'The same 60 examiners judge one bitemark'
ok   case  8 line <= 46 chars: "twice, a year apart: 'match' or 'no match'"
ok   case  8 line <= 46 chars: 'each time.'
ok   case  8 line <= 46 chars: 'Same examiners, yes/no, twice: paired nominal'
ok   case  8 has no alt
ok   case  9 -> (2,3) Chi-square for an r x c table
ok   case  9 design 3 is in the quiz table
ok   case  9 line <= 46 chars: 'Guilty plea (yes/no) by clients of public'
ok   case  9 line <= 46 chars: 'defenders, appointed counsel and private'
ok   case  9 line <= 46 chars: 'attorneys.'
ok   case  9 line <= 46 chars: 'Yes/no outcome in three separate groups'
ok   case  9 has no alt
ok   case 10 -> (3,3) Kruskal-Wallis test
ok   case 10 design 3 is in the quiz table
ok   case 10 line <= 46 chars: 'Injury severity (none, minor, serious, fatal)'
ok   case 10 line <= 46 chars: 'in assaults with four different weapon types.'
ok   case 10 line <= 46 chars: ''
ok   case 10 line <= 46 chars: 'Ranked categories = ordinal; 4 separate groups'
ok   case 10 has no alt
ok   case 11 -> (3,4) Wilcoxon signed-rank test
ok   case 11 design 4 is in the quiz table
ok   case 11 line <= 46 chars: 'Stress rated 1-10 by the same 20 officers'
ok   case 11 line <= 46 chars: 'before and after a critical-incident'
ok   case 11 line <= 46 chars: 'debriefing.'
ok   case 11 line <= 46 chars: 'Same officers rated twice, ordinal: paired'
ok   case 11 has no alt
ok   case 12 -> (1,5) Repeated-measures ANOVA
ok   case 12 design 5 is in the quiz table
ok   case 12 line <= 46 chars: 'Reaction time (ms) of the same 15 officers in'
ok   case 12 line <= 46 chars: 'a shooting simulator under three lighting'
ok   case 12 line <= 46 chars: 'levels.'
ok   case 12 line <= 46 chars: 'Same officers under 3 conditions: repeated'
ok   case 12 has no alt
ok   case 13 -> (3,5) Friedman test
ok   case 13 design 5 is in the quiz table
ok   case 13 line <= 46 chars: 'The same 12 mock jurors rate (1-7) how'
ok   case 13 line <= 46 chars: 'convincing eyewitness, DNA and confession'
ok   case 13 line <= 46 chars: 'evidence is.'
ok   case 13 line <= 46 chars: 'Same jurors, 3 conditions, ordinal ratings'
ok   case 13 has no alt
ok   case 14 -> (2,5) Cochran's Q test
ok   case 14 design 5 is in the quiz table
ok   case 14 line <= 46 chars: 'The same 30 trainees, each marked pass or fail'
ok   case 14 line <= 46 chars: 'at three successive firearms qualifications.'
ok   case 14 line <= 46 chars: ''
ok   case 14 line <= 46 chars: 'Same trainees, pass/fail, three occasions'
ok   case 14 has no alt
ok   case 15 -> (3,6) Spearman rank correlation
ok   case 15 design 6 is in the quiz table
ok   case 15 line <= 46 chars: 'Fifteen crime labs ranked by case backlog, and'
ok   case 15 line <= 46 chars: 'ranked again by audit error rate.'
ok   case 15 line <= 46 chars: ''
ok   case 15 line <= 46 chars: 'Two rankings of the same labs: rank corr.'
ok   case 15 has no alt
ok   case 16 -> (4,3) Log-rank test (several groups)
ok   case 16 design 3 is in the quiz table
ok   case 16 line <= 46 chars: 'Time to first parole violation under low,'
ok   case 16 line <= 46 chars: 'medium and high supervision, over three years'
ok   case 16 line <= 46 chars: 'of follow-up.'
ok   case 16 line <= 46 chars: 'Time to event, censored; 3 separate groups'
ok   case 16 has no alt
ok   case 17 -> (4,6) Cox proportional-hazards regression
ok   case 17 design 6 is in the quiz table
ok   case 17 line <= 46 chars: 'Time to re-offence after release, with age,'
ok   case 17 line <= 46 chars: 'prior arrests and employment as predictors.'
ok   case 17 line <= 46 chars: ''
ok   case 17 line <= 46 chars: 'Time to event against several predictors: Cox'
ok   case 17 has no alt
ok   case 18 -> (2,6) Relative risk, odds ratio, chi-square
ok   case 18 design 6 is in the quiz table
ok   case 18 line <= 46 chars: 'In 300 autopsies: was the toxicology screen'
ok   case 18 line <= 46 chars: 'positive (yes/no), and was the death ruled'
ok   case 18 line <= 46 chars: 'accidental (yes/no)?'
ok   case 18 line <= 46 chars: 'Two yes/no traits on each case: association'
ok   case 18 also accepts Chi-square 2x2, or Fisher's exact
ok   case 18 alt cell in the quiz table
ok   case 19 -> (1,2) Unpaired (two-sample) t test
ok   case 19 design 2 is in the quiz table
ok   case 19 line <= 46 chars: 'Intercanine width (mm) measured on the dental'
ok   case 19 line <= 46 chars: 'casts of 40 men and 40 women.'
ok   case 19 line <= 46 chars: ''
ok   case 19 line <= 46 chars: 'Width is measured; men and women are separate'
ok   case 19 has no alt
ok   case 20 -> (1,4) Paired t test
ok   case 20 design 4 is in the quiz table
ok   case 20 line <= 46 chars: 'Two odontologists each measure the same 30'
ok   case 20 line <= 46 chars: 'skulls. Do their mean measurements differ?'
ok   case 20 line <= 46 chars: ''
ok   case 20 line <= 46 chars: 'The same skulls measured by both: PAIRED'
ok   case 20 has no alt
     the bank covers 18 of the 18 testable cells
ok   tcNotP equals the "Not on the Prime" rule (any detail line; beta 2a, T3)
ok   thirteen hatched tests (13; beta 2 had twelve, T3)
ok   check line 1 <= 42 chars (42)
ok   check line 2 <= 42 chars (42)
ok   check line 3 <= 42 chars (39)
ok   check line 4 <= 42 chars (39)
ok   check line 5 <= 42 chars (40)
ok   check line 6 <= 42 chars (40)
ok   check line 7 <= 42 chars (40)
ok   check line 8 <= 42 chars (0)
ok   check line 9 <= 42 chars (0)
ok   check line 10 <= 42 chars (40)
ok   check line 11 <= 42 chars (0)
ok   check line 12 <= 42 chars (0)
ok   check line 13 <= 42 chars (41)
ok   check line 14 <= 42 chars (0)
ok   check line 15 <= 42 chars (0)
ok   check line 16 <= 42 chars (0)
ok   check line 17 <= 42 chars (0)
ok   check line 18 <= 42 chars (0)
ok   check line 19 <= 42 chars (0)
ok   check line 20 <= 42 chars (0)
ok   check line 21 <= 42 chars (39)
ok   check line 22 <= 42 chars (0)
ok   check line 23 <= 42 chars (41)
ok   check line 24 <= 42 chars (0)
ok   scale node 1 fits
ok   row summary 1 <= 46
ok   scale node 2 fits
ok   row summary 2 <= 46
ok   scale node 3 fits
ok   row summary 3 <= 46
ok   scale node 4 fits
ok   row summary 4 <= 46
ok   design node 1 fits
ok   column summary 1 <= 46
ok   design node 2 fits
ok   column summary 2 <= 46
ok   design node 3 fits
ok   column summary 3 <= 46
ok   design node 4 fits
ok   column summary 4 <= 46
ok   design node 5 fits
ok   column summary 5 <= 46
ok   design node 6 fits
ok   column summary 6 <= 46
ok   guide level 0: root and four scales
ok   soft keys on level 0
ok   level 1 drawn
ok   level 1: breadcrumb Nominal and six designs
ok   level 2: the leaf names chi-square / Fisher
ok   details page with Check line
ok   details subtitle
ok   orange path lines drawn ([0, 0, 0, 2, 6, 6, 10, 14, 14, 14])
ok   keyboard to Survival
ok   keyboard: survival x association = Cox
ok   hatched leaf says not on the Prime
ok   returns 'TestChooser: Cox proportional-hazards regression'
ok   guide: no text in the strip, too wide, or overlapping
     guide: 58 screens, 42 blits
ok   table: headings, corner, legend
ok   first tap selects and names the test (no details)
ok   second tap opens the details
ok   row label lights the row
ok   heading lights the column
ok   corner key shows the one-sample column
ok   + lights the row
ok   - lights the column
ok   Right past design 5 slides back to page 1
ok   Right x5 then Enter: Pearson details
ok   hatching dots in the G2 cache: 1472
ok   G2 rebuilt only on layout changes (3 builds)
ok   returns 'TestChooser: Pearson r and linear regression'
ok   table: no text in the strip, too wide, or overlapping
ok   a round is a permutation of 1..20: [13, 11, 8, 19, 17, 16, 15, 4, 10, 18, 5, 14, 20, 1, 6, 9, 2, 12, 3, 7]
ok   quiz: case text and score line
ok   a green cell is drawn for a right answer
ok   right answer opens the details page
ok   a wrong-answer frame per wrong case (7)
ok   the reason line: 'Same officers rated twice, ordinal: paired'
ok   round over: 13 of 20
ok   returns 'TestChooser: Paired t test'
ok   quiz: no text in the strip, too wide, or overlapping
ok   help: two pages
ok   Quit soft key leaves: 'TestChooser: no test looked at'
ok   help: no text in the strip, too wide, or overlapping
ok   soft keys jump Guide -> Table -> Quiz -> Guide -> menu
     the review's check_TestChooser on beta 2: 26 checks, failed ['A tcNotP matches the details line "Not on the Prime" for all', 'B no reference to the retired ConTable2 / FEP in displayed t', 'C menu items of more than 30 characters (the emulator cut 31']
     the review's check_TestChooser on beta 2a: 26 checks, failed none
ok   beta2a: the review's three failing checks (A: T3 hatching, B: T1 ConTable2/FEP, C: T2 menu line) fail on beta 2
ok   beta2a: check_TestChooser on beta 2a: all 26 checks pass
ok   beta2a: details page of test 6, line 4 (y = 145) reads 'Fleet: EpiStats > 2x2 Table; ChiTable.'; every detail line <= 42 characters
ok   beta2a: details page of test 7, line 2 (y = 81) reads 'Expected < 5 in <= 20% of cells; none < 1.'; every detail line <= 42 characters
ok   beta2a: details page of test 8, line 3 (y = 119) reads 'Fleet: EpiStats > 2x2 Table > Paired.'; every detail line <= 42 characters
ok   beta2a: McNemar, "Afterwards:" reads ['By hand, 1 df: X2 = (|b-c| - 1)^2/(b+c).'] -- the continuity-corrected statistic of es_McNemar
ok   beta2a: details page of test 9, line 3 (y = 119) reads 'Not on the Prime.  R: RVAideMemoire pkg.'; every detail line <= 42 characters
ok   beta2a: details page of test 10, line 3 (y = 119) reads 'Fleet: EpiStats > Risk; Inference X2.'; every detail line <= 42 characters
ok   beta2a: details page of test 16, line 2 (y = 81) reads 'Most powerful if hazards are proportional.'; every detail line <= 42 characters
ok   beta2a: test 1 keeps "Welch form if SDs differ" (D12 is open)
ok   beta2a: no code line names ConTable2 or FEP (0)
ok   beta2a: EpiStats v1.7c has the "2×2 Table Analysis" module (Fisher, the Paired reading with McNemar) and "Risk Analysis (RR, OR, NNT)" -- the places the pages now name
ok   beta2a T3: tcNotP = the tests whose details say "Not on the Prime" (13), 18 and 19 both hatched
ok   beta2a T3: the table's hatching dots in G2: beta 2 1339, beta 2a 1472 (one more cell)
ok   beta2a T2: the menu reads ['Guide me: the flowchart', 'Browse the table (Glantz)', 'Quiz: which test fits?', 'Help', 'Quit'] (longest 25)
ok   beta2a T2: the renamed item still opens the quiz
ok   beta2a: the routines that differ from beta 2: ['TestChooser', 'tcDetail', 'tcInit'] (want TestChooser (the menu), tcDetail, tcInit (tcNotP)); 52 routines
     beta 2 -> beta 2a code lines: -9 +9
ok   beta2a: 9 code lines changed: 7 detail strings, 1 menu string, the tcNotP list
ok   beta2a: no // comment inside an open bracket []
ok   beta2a: the banner, the beta 2a paragraph, the status line (PC harness only) and the disclaimer
ok   beta2a: no scientific fixed decimal in the 174 ppl_run_v3e runs above []
ok   beta2a: every LOCAL line holds at most 6 names; no INSTRING

252 checks passed, 0 failed
