Data quality audit for duplicates, orphans, and contradictions
Compare every stored record in this pack by its identity, keep one canonical record per identity in one college workspace, retire the rest, and use the validation rules on this page before you save a new record. Records that differ only by letter case, spacing, or punctuation are duplicates under the canonicalization plan below, unless a must-not-merge rule in the same plan keeps them apart.
How this audit was done
Each record was grouped by workspace, record type, and identity, then checked for a second active record, a missing link, or a field that disagrees with the canonical record.
- Identity for a source is the source record in one college workspace, with its source title, source link, owner office, last checked date, and review date.
- Identity for a library entry is one repeated question in one college, with one approved source, one owner office, and one review date, as stated in Reuse a verified answer.
- Identity for a saved answer on this device is title, question, source link, college workspace, and assistant, as used by the duplicate check in My Answers and Try a sample.
- No course identifier and no room identifier field is documented in this pack. The same identity rule applies to the identifiers that are documented: college workspace, assistant, source, question record, and answer record. An identifier is passed back unchanged, with one active record per identifier per workspace.
- Every SQL statement stays scoped by tenant_id, so a duplicate check never joins records across colleges and system view shows counts by college only, as stated in Configuration and safe defaults.
Deterministic canonicalization plan
Apply the normalizer in this section to every identity field before any duplicate check, at save, at import, and at publish. The normalizer is for matching only. The display form on the canonical record is kept as saved, in the case and punctuation the owner approved.
Step 1: Normalize text in this order
Convert the text to Unicode Normalization Form C. Trim leading and trailing space. Collapse every run of space, tab, or line break to one space. Convert to lower case with a locale independent lower case rule, not a device locale rule. Remove punctuation for matching, where punctuation means a comma, full stop, question mark, exclamation mark, colon, semicolon, bracket, quote, or slash, and replace it with one space. Collapse space again and trim. Keep every letter and every digit. A date, a number, a fee, and a code keep their digits, so 15 and 16 never match.
Step 2: Normalize a source link in this order
Trim space. Convert the scheme and the host to lower case. Remove a fragment after the hash. Remove one trailing slash from a path that is longer than one character. Keep the query string and the path case, because a path can be case sensitive on the college site. Compare the link only inside the same college workspace.
Step 3: Normalize a code or identifier in this order
Trim space and convert to lower case only. Do not remove internal space or punctuation from a code, because CS 101 and CS101 and ENG-201 and ENG201 can be different codes. A code that the college treats as the same code is entered once in the office directory or source record, and that entry is the display form.
Step 4: Build the normalized key
A normalized key is the college workspace, the record type, and the normalized identity fields in the table below, in the order shown, joined in that order. Two records are duplicates only when every part of the key matches. A match on a title alone is not a duplicate when the workspace, the assistant, or the source link differs.
Step 5: Check the key among active records only
Run the check among active records in the same workspace and the same record type. A retired, superseded, suspended, expired, or draft record is not counted as an active duplicate, and a new record is not blocked by a retired record with the same key.
| Record type | Normalized key, in order | Uniqueness constraint |
|---|---|---|
| Source | College workspace, then normalized source link | One active source per normalized link per college. A second save with the same normalized link shows the approved source and offers Edit or Open. A title with the same normalized text but a different link is a different source and is flagged as a possible duplicate for a person to check, not auto merged. |
| Library entry and repeated question | College workspace, assistant, then normalized question | One approved entry per normalized question per college and assistant. A second entry with the same key is merged under the steps below, as stated in Merge duplicate questions. |
| Saved answer on this device | Normalized title, normalized question, normalized source link, college workspace, assistant | One saved answer per key on this device. A save that matches an existing key states Already saved and makes no second copy. The exact text check in current code is replaced by this normalized key check in the same change that ships a code change. |
| Collection | College workspace, then normalized collection name | One active collection per normalized name per college. A name that differs only by case, spacing, or punctuation is the same collection. The built in Unfiled collection is the fallback and is never renamed or deleted. |
| Assistant | College workspace, then normalized assistant name | One active assistant per normalized name per college. A new assistant with the same key is blocked and the builder is shown the existing assistant to edit. |
| Office and owner office name | College workspace, then normalized office name | One entry per normalized name per college in the office directory. Contact details are taken from that one entry only, and no contact detail is invented. |
| Guide | Guide slug | One index card and one guide file per slug. The card count and the file count are stated as separate counts. |
Worked examples that are duplicates
- When is the last day to add a class for spring? and when is the last day to add a class for spring match, and the normalized key is the same.
- Add deadline for spring term and Add deadline, for spring term match after punctuation is removed for matching.
- Registrar Office and registrar office match, and the display form Registrar Office is kept on the canonical record.
- https://Example.EDU/page/ and https://example.edu/page match after scheme and host lower case and trailing slash removal.
Worked examples that must not merge
- Add deadline for spring and Add deadline for fall do not match, because a content word differs.
- January 15 and January 16 do not match, because a digit differs.
- The same question in two colleges, or for two assistants, does not match, because the workspace or assistant part of the key differs.
- CS 101 and CS101 do not match as codes, because internal space is kept for a code.
- A title match with a different source link does not match for a source, because the link is the source key.
Fuzzy matching, a shared word, and a similar title are never a merge on their own. A person checks a possible duplicate that shares a title, and the merge runs only when the full normalized key matches or when a person confirms the merge in Improve.
Findings in this pack and the canonical record to keep
Read the canonical value first. The variant column names the wording or record to remove from active use.
| Record group | Duplicate or contradiction found | Canonical record to keep | Orphan risk |
|---|---|---|---|
| Guides index cards | Showing 45 of 45 guides is canonical. Variants state 26 of 26, 21, 15 guide cards, and 38 guide files, counted by files instead of cards. | One card per guide slug, 45 cards, with the card count stated as a card count in Guides. | A guide file with no card, or a card with no file, looks orphaned when file count and card count are mixed. Check slug to card to file in both directions. |
| Notification limits | One anti-spam section states at most 2 scheduled messages per day, quiet hours from 22:00, and no weekly cap. The canonical limits state at most 3 per person per workspace per day, at most 5 non-essential per week, and no non-essential send between 21:00 and 08:00 college local time. | The limits in Notification preferences, with at most 1 scheduled summary per recipient per day. | A reminder type with no recipient list entry, or a recipient with no type turned on, sends nothing and stays as an orphan entry in the list. |
| Support return time | Support calls returned within 2 hours appears as a product claim on About and in report inventories. | Support contact is stated on About, with no response time promised as a product feature, as stated in Claims check. | A support record with no named account, no call topic, or no escalation step cannot be returned or escalated. |
| Accessibility wording | Built to meet WCAG 2.1 AA is stated as a completed result on the accessibility page and the home page evidence list. | Built toward WCAG 2.1 AA, with an audit in the pilot and a conformance report completed during evaluation, as stated in Accessibility. | A barrier report with no screen, device, or step named cannot be retested by keyboard or screen reader. |
| Demo sources | See answers built from your own sources, in a demo, appears in bands beside a demo button. | In the demo, answers are built from sample college sources only, as stated in Request a demo. Your own sources are used after a source is approved in the signed-in app. | A demo request with no college, role, or question list cannot be answered with a sourced walkthrough. |
| Library entries | The same repeated question can gather a second entry, a second answer, and a second rating in a separate place. | One approved entry per repeated question per college, with its source, owner office, and review date, as stated in Reuse a verified answer and Merge duplicate questions. | An entry with no linked assistant, no use in the last period, or a source past its review date stays visible in Reports so an owner can retire it. |
| Sources | The same source link or the same title can be added twice with a different owner office or a different review date. | The approved source record with owner office, review date, source title, source link, and last checked date, as stated in Sources and approval and Approve a source. | An approved source with no linked assistant or library entry is unused. A linked source that is suspended, expired, or retired stops being used in new answers and past citations stay readable. |
Referential integrity map across questions, topics, answers, attachments, users, and workspaces
Identity always includes tenant_id. A parent record is usable only when it exists in the same tenant_id as the child. A joined record from another college is treated as missing, not as a match.
| Entity | Identity in one workspace | Parent that must exist in the same workspace | Orphan definition |
|---|---|---|---|
| Question | tenant_id plus question record id | Assistant record with the same tenant_id, and workspace membership for the signed-in identity inside that workspace | Question with no assistant in the same tenant_id, assistant in another college, or signed-in identity with no membership in that workspace |
| Topic or theme | tenant_id plus theme id, with normalized theme text for matching only | Canonical library entry or approved source with the same tenant_id | Theme with no canonical record in the same tenant_id, theme linked to a retired source, or theme counted under a different college |
| Answer | tenant_id plus answer record id, with the answer generation key from tenant_id, question record id, assistant id, wording version, and sorted retrieved source ids with a hash of each passage | Question record and assistant record with the same tenant_id, plus at least one approved source citation where the answer is shown as sourced | Answer with no question in the same tenant_id, citation to a source in another college, or sourced answer with no listed source title, link, and last checked date matching the source record |
| Attachment | tenant_id plus file reference id, using the FILES binding for stored files | Question record or approved source record with the same tenant_id | Attachment with no parent in the same tenant_id, attachment cited by an answer in another workspace, or file stored with no owner office and review date where a source file is required |
| User or account | tenant_id plus signed-in identity, used only inside one college workspace for repeat use | Workspace membership and role assignment with the same tenant_id | Role with no membership in that workspace, identity counted across colleges, or person name, email, or account id used as a segment in system view |
| Workspace | tenant_id as the MAJIC company id, one workspace per college, college name confirmed at the top of the app | None, root record. System view aggregates counts by tenant_id only | Workspace with the wrong college name shown, workspace with no college name confirmed, or system view row that returns question text |
A shared source is the only stated exception to one-college storage. A source stays in one college workspace until system office governance staff mark it shared in Sources. A shared source still names its owning college workspace on every citation, and it never widens a question, answer, or attachment from another college to use it.
Foreign key constraint plan
Every parent key starts with tenant_id. A foreign key without tenant_id is not approved, because it would allow a child in one college to point to a parent in another college. The plan below is for a reviewed build change. It changes no locked file and it ships only through the normal build with tests.
| Child record | Composite parent key | Delete rule | Update rule | Reason |
|---|---|---|---|---|
| Question | tenant_id plus assistant_id, referencing the assistant primary key tenant_id plus id | RESTRICT. Delete of an assistant is blocked while questions remain | RESTRICT on tenant_id and id. An identifier change is a new record, not an update in place | Stops dangling questions and stops a question pointing to an assistant in another college |
| Topic or theme link | tenant_id plus source_id or library entry id, referencing the approved source or library entry primary key tenant_id plus id | RESTRICT. Move theme links to the canonical record before the duplicate is retired | RESTRICT on tenant_id and id | Stops a theme pointing to a retired or missing source |
| Answer and answer citation | tenant_id plus question_id referencing question tenant_id plus id, and tenant_id plus source_id referencing approved source tenant_id plus id | RESTRICT for question and cited source. A cited source is retired or suspended, never hard deleted, so past citations stay readable | RESTRICT on tenant_id and id. A changed passage hash or wording version creates a new answer record with a new generation key | Keeps every sourced answer traceable to a question and an approved source in the same workspace |
| Attachment | tenant_id plus parent_id referencing question or approved source tenant_id plus id | RESTRICT while cited. CASCADE only for owned file rows after the retention rule expires and the audit record is kept, as stated in the cleanup order below | RESTRICT on tenant_id and id | Stops a file cited by an answer in another workspace and stops loss of a cited file |
| Feedback or rating | tenant_id plus answer_id referencing answer tenant_id plus id | RESTRICT while the answer record remains. CASCADE only when the answer record itself is removed under the retention rule | RESTRICT on tenant_id and id. A changed rating replaces the earlier rating for the same answer | A rating cannot outlive its answer in another workspace and a repeat rating adds no second count |
| User role | tenant_id plus account_id referencing workspace membership tenant_id plus account_id | RESTRICT. A role cannot be kept after membership ends in that workspace | RESTRICT on tenant_id and account_id | Stops a role leaking into another college and stops a newly invited person holding a role with no assignment |
- Each parent table declares PRIMARY KEY (tenant_id, id). Each child table declares its foreign key as FOREIGN KEY (tenant_id, parent_id) REFERENCES parent (tenant_id, id), with the delete and update rules in the table above.
- No foreign key uses id alone. No query joins a child to a parent on id without tenant_id. Tests prepare every query against the schema with tenant_id bound from the session, as in Configuration and safe defaults.
- SET NULL is used only for an optional, non-cited link where the child remains valid without a parent, such as a saved collection link that falls back to Unfiled. SET NULL is never used for question, answer, citation, attachment parent, or role links.
- Hard delete is never used for a cited source, a question with an answer, or a workspace. Retire, suspend, or expire the parent and keep past citations readable for audit.
Orphan and cross-workspace checks to run before a cleanup
Run each check inside one college workspace at a time and report counts grouped by tenant_id only. A check that returns a count above zero names the child record type and the missing parent type. It does not return question text across colleges.
Parent missing in the same workspace
Join each child to its parent on tenant_id plus parent id and list children where the parent join returns no row. Cover question to assistant, answer to question, answer citation to approved source, attachment to question or source, feedback to answer, theme link to canonical entry, and role to workspace membership.
Parent exists only in another workspace
Repeat the join on parent id alone and list children where a parent row exists under a different tenant_id but no parent row exists under the child tenant_id. Quarantine each listed child so it stops being used in new answers until a same-workspace parent is named.
Duplicate active identity in one workspace
Group by tenant_id, record type, and normalized identity and list groups with more than one active record. Normalized identity means trimmed text with runs of space collapsed to one space, compared in lower case for matching only, with the display form kept on the canonical record.
Sourced answer with no matching citation fields
List answers shown as sourced where source title, source link, or last checked date is blank or differs from the retrieved source record. Discard that passage and follow the not-known or unavailable path stated in the answer wording rules.
Retired record still linked to a published assistant
List published assistants whose linked source is suspended, expired, retired, or past its review date, and themes linked to a retired source. Stop new answers from that source until re-approval by a different person.
Excluded and stale records
List test and staff preview records separately, list unavailable checks separately from not answered, and list saved passages whose stored hash or wording version no longer matches the current approved source. Stale records are not reused as current checked answers.
Safe deletion and reassignment rules
Follow these rules in order for one college workspace at a time. Do not delete a retired record that past citations or audit entries still name.
Quarantine cross-workspace links first
Set each child with a parent only in another workspace to not used in new answers. Keep the record readable for audit with its tenant_id shown. Name the missing same-workspace parent in the work queue.
Reassign links to the canonical record in the same workspace only
Pick the canonical record as in the merge steps below: approved, in date, owner office and review date named, most complete source detail, and earlier approved record where two records are both approved. Move assistant links, library links, theme links, attachment parent links, and saved collection links to that canonical record. Never move a link, a question, an answer, or an attachment to another college. A shared source moves only where governance marked it shared in the owning workspace.
Retire duplicates, never hard delete cited parents
Set each duplicate to retired or superseded at once so it stops being used in new answers. Keep past citations readable and keep the approval record with reviewer name, decision, note, and date. A retired source is removed from new answers at once and past citations stay readable.
Delete leaf rows only after retention and audit
Feedback, rating, and owned attachment rows with no audit use are deleted only after the college retention rule expires, session-only handling is stated, and the deletion is logged with workspace, kind, topic id, college local time, and reason. Question and answer records under a cited source are retired through the parent path, not deleted as leaf rows.
Re-approve by a different person and set a future review date
The approver reads the canonical source and wording and approves, returns with a note, pauses, or retires. No person approves their own submission. A source past its review date stops being used in new answers until re-approval sets a new review date.
Retest, then check the count in the next period
Ask one question the canonical record can answer and one it cannot in the test panel through Test answers. Mark each result pass or needs work. Read Read reports for the next period and mark a theme resolved only when the duplicate and orphan counts fell and the canonical record covers it.
- Reassignment never changes tenant_id on a record. A record that needs a different college is a new record in that college, approved there, not a moved record.
- Reassignment never widens a source list, a recipient list, or a workspace. A role, an office, and a workspace are scopes and eligibility checks, never recipients by themselves.
- When no canonical record exists in the same workspace, retire the child and flag it unassigned in its queue. Do not borrow a parent from another college and do not leave the child linked to a retired parent.
Inventory of every site content record in pack app-campus.site.1, part 01
Each row is one record group in the files included in part 01. Part 02 was left out of the pack, so this inventory must be rerun when part 02 is supplied and must not be treated as complete for part 02. Completeness is checked for title, owner, campus or department, source, effective date, and expiry or review date.
| Record group | Where in the pack | Title | Owner | Campus or department | Source | Effective date | Expiry or review date | Completeness |
|---|---|---|---|---|---|---|---|---|
| Marketing and reference pages | public/*.html, for example home, features, assistants, sources, widget, reports, security, accessibility, about, status, operations, notifications, request demo | Present in the title tag and the h1 on each page | Not stated per page. Footer states Built by Majic Holdings only | None stated. Pages are system level, not one college | Internal links only. No source record is cited per page | None stated | None stated | Incomplete for owner, campus or department, effective date, and expiry or review date |
| Guides and guide index cards | public/guides/*.html, public/guides/index.html, and the search index on public/search.html | Present in the title tag and the h1 | Missing | Missing | Related guide links only. Some search index descriptions are generic, stated as Guide to the title by title and topic | Missing | Missing | Incomplete for owner, campus or department, source detail, effective date, and expiry or review date. Count is also inconsistent, with 45 cards stated as canonical and a larger search index list |
| Answer library sample entries | public/answer-library.html, 6 sample entries | Present | Present as owner office, Registrar Office, IT Help Desk, or Financial Aid Office | Incomplete. Assistant is named, college is shown as Sample workspace, a placeholder | Source title and source link present. Last checked date is shown as see source record, a placeholder | Not stated in the entry | Review date is shown as see source record, a placeholder | Incomplete for campus, effective date, last checked date, and review date |
| Sources shown as sample rows | public/sources.html sample table and illustration, and the source rule in the same page | Present | Required by the rule in the page text | One college stated in the rule | The page or file itself | Approval date is required by the rule, not shown in the sample rows | Review date is required by the rule. Sample rows show Review date as a literal placeholder | Rule is complete. Sample rows are incomplete and placeholder |
| Saved answers on this device | public/my-answers.html, public/my-essentials.html, public/print-answers.html, public/offline.html pack, public/try-sample.html history | Required in the save form | Workspace and assistant are optional and may be blank | Workspace is optional and may be blank, shown as Not recorded | Source title, source link, and last checked date are optional and may be blank | Created date is stored | None stated | Incomplete when workspace, assistant, source, or last checked date is blank. Such a record cannot be checked against a source |
| Knowledge hub and sample start | public/knowledge-hub.html, public/sample-start.html | Present | Missing | New college workspace is stated, no college name is stated | Sample sources are named, Spring term dates and Course catalog registration | None stated | Review date is stated as a rule, no date value is stated per record | Incomplete for owner, effective date, and review date value |
| Operations, health, and analytics reference pages | public/operations.html, public/config-manifest.html, public/config-inventory.html, public/health-api.html, public/analytics-funnel.html, public/analytics-taxonomy.html, public/kpi-dashboard.html, and related pages | Present | Missing per page | None stated, system level | Named source file is stated in most tables, for example public/site.js or APPKIT.md | None stated | None stated | Incomplete for owner, effective date, and expiry or review date. Source file naming is complete where stated |
A field that is stated as a rule, for example review date is required, is not the same as a date value on the record. The tables above flag the value, not the rule.
Field completeness audit and backfill or removal plan for each incomplete record
Use the backfill step first. Use the removal rule only when the backfill step cannot be completed with a real value from the office directory or the approved source record.
| Record group | Incomplete fields flagged | Backfill step | Removal rule |
|---|---|---|---|
| Marketing and reference pages | Owner per page, campus or department, effective date, expiry or review date | Add one owner line per page, Majic Holdings site owner, add an effective date as the deploy date of the change that adds the line, and add a review date as the next deploy date. Keep the footer line as the company line. | Do not remove a marketing page for a missing date. Mark the page as under review in the inventory until the backfill is done, and keep every URL live. |
| Guides and guide index cards | Owner, campus or department, source detail, effective date, expiry or review date, plus generic search descriptions and the card count mismatch | Assign one owner office per guide from the guide topic, add effective date and review date to the guides index card, replace each generic search description with a topic specific description taken from the guide h1 and first section, and restate the card count as a card count and the file count as a file count in the same change. | Retire a guide file and remove its index card and its search index entry when no owner office can be assigned in one release. Record the retirement in the guide registry and keep the URL listed as retired, with no new content added to that URL. |
| Answer library sample entries | Campus, effective date, last checked date, review date. Placeholder values are see source record and Sample workspace | Replace see source record with the last checked date taken from the source record, replace the review date placeholder with a future review date from the source record, and replace Sample workspace with the college name from the workspace in the signed in app. Keep the sample only label until that backfill is done. | Remove a sample entry from the publish list when its source cannot be approved for that college. Keep the entry labelled sample only on this public page, and do not publish it as a college library entry. |
| Sources shown as sample rows | Review date value and approval date value in the sample rows, shown as placeholders | Replace the placeholder in the illustration with a real example date labelled example only, and show the approval date and review date in the sample table from the source record fields. | Do not publish a source record with a placeholder review date. Keep the record in draft until the owner office, approval date, and review date are real values. |
| Saved answers on this device | Workspace, assistant, source title, source link, and last checked date when blank | Ask the person to add workspace, assistant, source title, source link, and last checked date from the answer screen before the save is treated as checked. Show Not recorded until those fields are added, as the pages already do. | Do not delete a saved answer for incompleteness. Exclude an incomplete saved answer from print and share until it is backfilled, and keep it in My Answers so the person can add the missing fields. |
| Knowledge hub and sample start | Owner, effective date, review date value | Add one owner office per hub and per sample set, add an effective date as the date the sample set was checked, and add a review date in the future from the source record. | Keep the pages labelled sample only. Do not publish a hub as a college record until the owner, effective date, and review date are real values. |
| Operations, health, and analytics reference pages | Owner, effective date, expiry or review date | Add one owner line per page, add an effective date as the deploy date, and add a review date as the next deploy date. Keep the named source file in each table as the source for the values in that table. | Do not remove a reference page for a missing date. Mark the page as under review in the inventory until the backfill is done, and keep every URL live. |
- Every record in the inventory above has a title, an owner, a campus or department, a source, an effective date, and an expiry or review date, or it is marked incomplete with the backfill step and removal rule in this section
- No placeholder value, such as see source record, Review date, or Sample workspace, is treated as a complete field
- A generic search description is not treated as a source. The source is the guide page itself, with its title and its first section
- A blank workspace, assistant, source, or last checked date on a saved answer is shown as Not recorded and is excluded from print and share until backfilled
- Part 02 records are not claimed in this inventory. Rerun the inventory when part 02 is supplied, in the same table format as above
Deduplication and canonical merge steps
Follow these steps in order for one college workspace at a time. Do not delete a retired record, because past citations and audit entries must stay readable.
Step 1: Group by normalized key in one workspace
Group active records by workspace, record type, and the normalized key in the table above. A group with more than one active record is a duplicate group. A group with one record is not a duplicate group, however similar its title is to another group.
Step 2: Pick the canonical record by a total order
Rank each record in the group in this order and keep the first record. Rank 1 is approved status over in review, draft, suspended, expired, or retired. Rank 2 is a review date in the future over a review date in the past or missing. Rank 3 is a named owner office over no owner office. Rank 4 is the most complete record, counted as the number of non empty fields among source title, source link, last checked date, owner office, and review date. Rank 5 is the earliest approval date. Rank 6 is the earliest created date. Rank 7 is the lowest record id in ascending order. The order is total, so two runs of the same group pick the same canonical record.
Step 3: Merge fields by precedence, not by recency
Keep the display title, the owner office, the review date, and the last checked date from the canonical record. Fill a field that is empty on the canonical record from the highest ranked duplicate that has that field. Never overwrite a non empty canonical field with a value from a duplicate. Never combine two different dates, fees, or contact details into a new value. Record the merge reason and the source record ids on the retired records.
Step 4: Move every link to the canonical record
Move assistant links, library links, theme links, attachment parent links, and saved collection links to the canonical record in the same workspace. Repoint history entries that name a duplicate saved answer to the canonical saved answer, keep the latest entry per saved answer, and keep the count at 20, as stated in My Answers. Update the theme in Improve and the list behind each number in Reports so the canonical answer is counted once. A rating, a handoff, and a citation that already name a duplicate question stay linked to that question for audit, and the canonical question is used for new answers.
Step 5: Retire the duplicates at once
Set each duplicate to retired or superseded in the same change, so it stops being used in new answers. Keep past citations readable for audit and keep the approval record with reviewer name, decision, note, and date on the canonical record and on each retired record.
Step 6: Retest and approve by a different person
Ask one question the canonical record can answer and one it cannot in the test panel through Test answers. Mark each result pass or needs work. A person does not approve their own submission.
Step 7: Check the count in the next period
Read Read reports for the next period. Mark a theme resolved only when the duplicate count fell and the canonical record covers it. Show the duplicate count before the merge and after the merge, with the count behind each number.
Validation rules to prevent recurrence
Apply each rule at the step named. A failed check stops the save, the import, or the publish, and the person fixes the record instead of adding a second one.
| Check point | Validation rule | Fail action |
|---|---|---|
| On add or on edit | Build the normalized key from the table above and check it among active records in the same college workspace and record type before the save. A source link is normalized as stated in the plan. An identifier is stored once per workspace, and a name change updates the canonical record. Every foreign key includes tenant_id and resolves to a parent in the same workspace. | Show the existing canonical record by its display title and ask the person to Edit or Open it, instead of saving a second record. State that the records match after case, spacing, and punctuation are ignored for matching. Where the parent is missing in the same workspace, keep the child quarantined and name the missing parent. |
| On add or on approval | Owner office and review date are required for a source and for a library entry. The review date is in the future for an approved record. A source past its review date stops being used in new answers until it is re-approved. | Keep the record in draft or in review, name the missing field, and do not link it to an assistant. |
| On import | Import uses the same normalized key check as a manual save. A duplicate title, question, source link, workspace, and assistant is skipped and counted. Collection identifiers that are not known fall back to Unfiled, as stated in My Answers. Two entries in the same import file with the same key are treated as one, and the second is skipped and counted. A parent identifier that resolves only in another workspace is skipped, not imported as a link. | Skip the duplicate or cross-workspace link, show added and skipped counts, and keep the saved library unchanged for skipped entries. |
| On publish | Re run the normalized key check at publish for every linked source, assistant, and library entry. Every linked source is approved for that college and resolves in the same tenant_id, a handoff office is named, and the test panel shows pass for a covered question and pass for the not-known path. No person approves their own submission. | Stop publishing, show the duplicate group and the canonical record, merge or retire the duplicate, and test again. |
| On guide and page update | One guide slug has one index card and one guide file. Counts state whether they are card counts or file counts. A numeric value, date, or version value is checked against the authoritative page named in Canonical corrected values and Canonical fact sheet. | Correct the count or wording in the same change, and keep every URL live. |
| On report and export | Test and staff preview sessions are labeled as test and excluded from headline counts. Unavailable checks stay separate from not answered. Each headline number opens the list behind it for the same college, assistant, channel, and date range. A superseded record is excluded from headline counts and its count is shown as superseded. System view returns counts grouped by tenant_id only. | Show the excluded and superseded counts beside the headline count and do not share a rate with a zero denominator. |
- Every approved source is linked to at least one assistant or library entry, or is flagged as unused in Reports.
- Every assistant has a named handoff office with name, phone, email, hours, and location from the office directory, and no contact detail is invented.
- Every library entry links an approved source for that college, with source title, source link, and last checked date matching the source record.
- Every saved answer names its college workspace and assistant, or states Not recorded, and its collection exists or falls back to Unfiled.
- A retired or superseded record is not linked to any assistant and is not counted as a current answer.
- A uniqueness check never joins records across colleges. The same normalized key in two colleges is two records, one per college.
- Every question, answer, attachment, theme link, and role resolves to a parent in the same tenant_id, or is quarantined with a named missing parent.
Check two records before you save a second one
Paste the title, question, and source link for two records. The checker builds the normalized key for each record and states whether the two records are duplicates under the plan above. Nothing you enter on this page is sent or saved by this page.
Compare two records by normalized key
Fields marked are required. Use the same college workspace and assistant for both records to test a duplicate. A different workspace or assistant is a different record.
Enter both titles to compare the records. The verdict states duplicate or different, with the normalized keys shown.
| Record | Normalized title | Normalized question | Normalized source link | Verdict |
|---|---|---|---|---|
| Record A | ||||
| Record B |
Checks before you rely on a merged record
Do each check on the canonical record. If a check fails, fix the record before you link it again.
- The canonical record belongs to one college workspace and the college name is shown on screen.
- Only one active record remains for that normalized key in that workspace, and the duplicate count before and after the merge is shown.
- Every fact in the answer matches the linked approved source, and the last checked date is shown beside the source link.
- Every linked parent resolves in the same tenant_id, with no cross-workspace parent and no dangling attachment, theme link, or role.
- The owner office and review date are current, and the approver is a different person from the builder.
- Test results show pass for a covered question and pass for the not-known path.
- Counts in the next period show the duplicate and orphan counts fell, with the count behind each rate.
- Every record in the inventory above has a title, an owner, a campus or department, a source, an effective date, and an expiry or review date, or it is marked incomplete with a backfill step and a removal rule in this page.
Keep one canonical record per identity
Use the canonical values on this page, merge duplicates by the steps above, enforce same-workspace parent links, and check the count in the next period before you call the work done.