Live demo
BeginnerDemographic source check: sort six records into STOP, VERIFY or PASS
For each demographic answer in an invented grants database, record where it came from, whether the form offered a decline-to-state choice, how the answer will be used and the year it was given, then see which records to fix before anything is counted or shown.
What this runs: seven deterministic rules written in this page's own JavaScript, applied to each record in order; the first rule that matches decides, and a record that matches none passes. No model is called, no name or photo is read, nobody's identity is guessed, and nothing you enter leaves the page. Teaching choices, not legal rules, funder rules or study findings: every rule, the rule order and the 2023 to 2026 year window. This is not legal advice on collecting or using demographic data; talk to your counsel.
1. The task
Invented trust and records for practice. No real people. You work at the Invented Quarrendell Community Trust and are checking six demographic records before its board report (fake ID FAKE-REPORT-0001). Grantees are numbered, never named. For each record, choose where the answer came from, whether the form that collected it offered a decline-to-state choice, and what it will be used for. Then enter the year it was given or recorded (2023 to 2026). A blank is never read as No.
2. Results
| Record | Year | Verdict | Rule | All matches | Why |
|---|
3. Rule trace
Which rules matched each record. The first match, marked "decides", sets the verdict; later matches still need fixing.
| Rule | Record 1 | Record 2 | Record 3 | Record 4 | Record 5 | Record 6 |
|---|
4. Check record
Plain text you can select and keep with your report notes.
What you just ran
- R1 (STOP): the answer is a guess (a name or photo tool, an AI assistant, or a staff guess) and it would be shown as a label on one organization.
- R2 (STOP): the answer is a guess and it would be counted in a total. Count the record as Unknown until the person answers.
- R3 (VERIFY): a choice is blank or not one of the listed values, or an answer a person gave is marked Not asked. Spaces are trimmed; a lower-case "yes" is not a listed value.
- R4 (VERIFY): a guess is stored but nothing uses it yet. Delete it.
- R5 (VERIFY): no answer is recorded, but the record feeds a total or a label. Count it as Unknown and leave the label empty.
- R6 (VERIFY): the form that collected the answer offered no decline-to-state choice.
- R7 (VERIFY): the year is blank, not four digits, after 2026 or before 2023.
- R8 (PASS): none of the earlier rules matched. Keep the record, and show Unknown and decline-to-state answers as their own lines.
Background: asking instead of guessing, offering a decline-to-state choice on every question and counting a missing answer as Unknown borrow from Candid's FAQ and guide on nonprofit demographic data. The Census Bureau describes its race data as based on self-identification. Full links are in the tutorial's sources. None of them tested these rules. General information, not legal or tax advice. Read the tutorial