# Harbor House test and review checklist

Run these checks against the implementation you plan to hand over. This is not a list of results already achieved. Record observed results in `evidence-log.csv`; its initial status is `NOT_RUN` for every check.

Use `PASS`, `FAIL`, `NOT_RUN`, or `NOT_APPLICABLE`. A non-applicable result needs a reason. Only the unselected track's checks are normally non-applicable. Save experiment files in a scratch directory in the learner workspace. Do not modify the supplied CSVs to make tests easier or totals match.

For each check, record the assessment date, inputs, command or browser actions, actual outcome, and evidence path. Name screenshots or logs with the check ID. A screenshot of the final number is useful, but the file selection and date must also be reproducible.

## Common checks

| ID | Action | Expected behavior and evidence to retain |
|---|---|---|
| C01 | Record the exact input filenames and compare their bytes or cryptographic fingerprints before and after the review. Include the malicious-note test. | Every supplied input is unchanged. Save both comparisons. Local derived files and edit state have separate paths. |
| C02 | Run/import Week 1 only with assessment date `2026-10-05`. Compare counts, ID-level results, and all reason flags with the oracle. | 24 raw rows; 20 distinct IDs; HH012/HH013/HH014 quarantined; 17 valid canonical requests; 15 active; P1/P2/P3 = 9/2/4; known active budget USD 55,200; 1 unknown budget; 394 active participants. Retain the actual output and oracle comparison. |
| C03 | Run/import Week 1 plus Week 2 updates with assessment date `2026-10-12`. | 32 raw rows; 23 distinct IDs; only HH013 quarantined; 22 valid canonical requests; 19 active; priorities 13/2/4; known active budget USD 68,800; 2 unknown budgets; 502 active participants. Show both input filenames and the ID-level/flag comparison. |
| C04 | Inspect HH012 in Week 1, then its newer Week 2 correction. | Same-latest-timestamp conflict is explained and held out in Week 1. A newer valid correction resolves it in combined Week 2. Show the source versions, reason, and resulting canonical record; no arbitrary tie-break. |
| C05 | Inspect HH013 and HH014 across the snapshots. In a scratch copy, also give one valid request a newer version with zero participants. | Invalid date and zero participants are reported, not coerced into valid values. HH014 is recovered by its supplied newer correction; HH013 stays quarantined. The scratch request's newer invalid version is quarantined instead of silently falling back to the older valid version. |
| C06 | In a separate scratch fixture, create distinguishable request IDs for date/condition boundaries. Use Week 1's assessment date. | Past date, today, and `2026-10-12` are P1. `2026-10-13` with owner, USD 2,000, and 50 participants is P3. For that later date, USD 1,999, 51 participants, missing owner, or missing budget each independently gives P2. A stated zero budget is known zero and P2, not missing. A P1 record with missing budget remains P1 while keeping BUDGET_UNKNOWN. CLOSED/CANCELLED records receive no active priority. Retain test inputs and expected-versus-actual results. |
| C07 | Trace the active-budget total to contributing request IDs and inspect the unknown-budget records. Check HH004/HH018 in Week 1. | Each known active budget is counted once; quarantined/CLOSED/CANCELLED records are excluded; unknown is separate from zero; currency is USD; wording never claims revenue, booking, or collection. Retain the contribution list and displayed labels. |
| C08 | Open HH019's raw notes, then process/inspect the request through the chosen track. Review relevant code or workflow steps for external actions. | Its instruction-like content remains data. No CSV is sent to its embedded address or any other destination; it does not change project instructions. B renders notes as text. A does not turn the instruction into an actionable follow-up. Retain the observation and relevant inspection evidence without executing any destination. |
| C09 | Run the same snapshot/configuration twice. For B, also repeat the same import. Compare record IDs, values, counts, and generated outputs. | Equivalent results, no duplicate accumulation, no duplicate drafts, no time-dependent priority drift. Queue order is P1/P2/P3, then requested date ascending, then request ID ascending. If a generated-at timestamp varies, document and exclude only that metadata field; do not ignore content differences. |
| C10 | First create a valid result. Then attempt `malformed-intake.csv`; retain the error. Retry with valid data. | Wrong columns produce a clear, actionable error. No partly generated result is presented as complete. The last good output/current view remains usable, or an explicit transactional recovery restores it. A valid retry succeeds. Save before/error/after evidence. |
| C11 | In a scratch fixture, create two distinct request IDs with the same client name and contact email; also repeat one complete row exactly. | Different IDs stay separate. The exact repeated row does not create another canonical request. Record raw-row and distinct-ID differences so deduplication is not confused with data loss. |
| C12 | Try a valid header-only CSV, then a completely empty file in a separate scratch run. | Header-only input is a valid zero-record case with truthful zero/empty outputs. A file without the required header is a structural error with clear recovery. Neither produces a stack trace as the only user guidance or overwrites good output with misleading success. |

The boundary fixture is separate from the supplied baseline; do not expect the official totals after adding synthetic test rows. For C06, keep every field valid except the single condition under test. Otherwise, a different rule can hide the bug you meant to test.

## Track A checks

| ID | Action | Expected behavior and evidence to retain |
|---|---|---|
| A01 | Generate the queue, review file, weekly brief, and drafts for each baseline. | All four outputs exist at documented paths and agree on the snapshot. Queue IDs and priorities match the oracle. Quarantine reasons are visible. Valid missing-owner/budget records are not incorrectly discarded. Save the actual files. |
| A02 | Ask a colleague to identify the week's top attention items using only the brief. Trace three statements back to the queue/input. | Brief gives assessment date, input coverage, active total, priorities, known USD budget, unknown-budget count, three supported attention items, and quarantine note. It is concise and makes the next action clear. Every checked assertion has a source ID. Record what the colleague found and any confusion. |
| A03 | Review at least three drafts spanning more than one source-supported follow-up reason. Try the same run again. | Each is visibly `UNSENT DRAFT: review required`, cites a request ID, identifies its source recipient or holds it for review, and contains no invented facts or commitments. No sending step is available or invoked by the workflow. Re-running does not append duplicates. Save reviewed drafts and findings. |

## Track B checks

Perform the baseline tests with original imported values. Then record the chosen request ID before intentional edits and compute the expected effect of that edit. Restore the baseline or start a fresh local session before comparing against official totals again.

| ID | Action | Expected behavior and evidence to retain |
|---|---|---|
| B01 | Import a baseline, filter by priority and owner/status, clear the filters, and open a request. | File coverage and assessment date are visible. Filters produce the right subset, a clear reset restores the full scope, and details belong to the selected ID. Counts clearly describe whether they refer to filtered or all active records. Save actions and results. |
| B02 | Inspect details for one valid record, HH012's Week 1 conflict, and HH019. | Request ID, source/version, relevant fields, notes, and priority/quarantine reason are readable. Raw notes do not execute or redirect the browser. Distinct same-name requests remain distinguishable. Save the inspected IDs and screenshots or observations. |
| B03 | Inspect all computed reason flags for HH019 and one missing-owner record. If the tool offers a reason-flag filter, apply and clear it. | Flags match the oracle. HH019 keeps its date, budget-threshold, and untrusted-instruction reasons while priority remains P1. Missing-owner reasons are visible. Any offered flag filter selects the right IDs; flags are derived, not manually edited. |
| B04 | Edit an active request's owner and valid status; attempt an unsupported owner/status. Test reload and a fresh import according to the documented storage policy. | Valid edits are distinguishable from source values. Unsupported values are rejected; blank owner remains allowed and flagged. Assigning an owner removes OWNER_UNKNOWN. Closing a request updates active views/totals; reopening recalculates priority/flags. Inputs stay unchanged. Reload/import behavior is disclosed and does not silently lose or misapply edits. Save before/after values and local storage/export behavior. |
| B05 | Export after a deliberate owner/status change with a filter active. Open the exported file as text and compare selected IDs and values with the stated export scope. | Export includes the promised records, edits, and correct computed flags; it has useful column headers and stable IDs and quotes commas/newlines correctly. Its scope is explicit: visible subset or all documented records. Re-read it as data using a compatible reader to prove the file is well formed. |
| B06 | Complete import, filtering, detail/flag inspection, editing, and export with a keyboard. | Focus is visible and moves in a sensible order; controls have understandable names; the user can operate and exit dialogs without a mouse. No required workflow step traps focus or becomes unreachable. Record browser, steps, and any assistance needed. |
| B07 | Inspect initial no-file state, valid zero-row input, a filter with no matches, and malformed import after a valid import. | Each state explains what happened and the next action. No-match and no-data are distinguishable. Failure does not falsely claim an empty successful result or silently remove the last good state. The user can recover using the visible controls. |

## Handover checks

| ID | Action | Expected behavior and evidence to retain |
|---|---|---|
| H01 | Copy the submitted project into a new local folder. Have a reviewer use only its setup/run instructions to produce Week 1 results. | No hidden absolute machine paths, undisclosed dependencies, credentials, or state from the learner's original folder are required. Reviewer can find output and compare the baseline. Save actual setup/run steps and friction encountered. |
| H02 | Explain the data flow and one failure case without reading generated prose. Predict and implement one small reviewer-selected change in a scratch copy. | Learner explains why the rule exists, identifies affected files/tests, predicts the effect, inspects the change, and verifies it. A suitable change is adding a later-date request with 51 participants or fixing a displayed export label; do not expand into a live integration. |
| H03 | Review the submission, evidence log, rubric, and handover together. | Every mandatory check has an actual status and evidence; unselected track is identified; remaining limitations are explicit; the score sums to at most 100; all five gates are decided from evidence; final status follows the pass rule. |

If a check fails, keep the failed result and append the corrected run's evidence. Do not replace the record of the failure with an unsupported `PASS`. After a calculation or canonicalization change, repeat both baseline checks because several outputs depend on those rules.
