fix(home): correct education/Ofsted claims on the landing page #73

Merged
tudor merged 3 commits from fix/homepage-education-accuracy into main 2026-07-21 09:04:57 +00:00
Owner

Summary

An English Education & Ofsted accuracy review of the landing page surfaced five issues where the homepage marketing content had drifted from the current education regime — and, in the Ofsted case, from what the app's own school pages already render. This fixes the 3 Critical and 2 High findings.

Changes

🔴 Critical

  • Ofsted card now reflects the current regime. Overall single-word grades were abolished (Sept 2024); inspections produce a report card on a five-point scale from Nov 2025. Replaced the OUTSTANDING badge mock with a report-card preview — per-area ratings (Achievement · Strong, Curriculum & teaching · Expected standard, Attendance & behaviour · Strong) plus stand-alone Safeguarding · Met — mirroring what CompareOfsted.tsx renders on a real school page. Copy now explains the Nov 2025 change and that un-reinspected schools still show a legacy grade.
  • Attainment 8 benchmark corrected. National avg 50.245.9 (real 2024/25 figure); illustrative school value 62.4 → 54.8, delta +12.2 → +8.9.
  • KS2 progress removed from the compare mock. KS2 progress scores aren't published for 2023/24 or 2024/25 (no post-COVID KS1 baseline). Swapped Reading progress for Higher standard (RWM), which is published.

🟠 High

  • "UK" → "England". The data is England-only; now consistent with the hero and page metadata.
  • Softened the "40-page inspection report" exaggeration.

Testing

  • npx tsc --noEmit — clean
  • npm run build — compiles, TypeScript + static generation pass

Landing-page marketing sections aren't covered by the e2e/ journeys (those exercise real school pages, which already model both Ofsted frameworks), so no test changes were required. Happy to add a homepage journey asserting the report-card copy if we want it guarded going forward.

Note: the local dev server is documented as non-functional in this repo, so verification is limited to typecheck + build; the changes are static markup/CSS with no runtime logic.

🤖 Generated with Claude Code

https://claude.ai/code/session_0146VHeLAWjDVE2B5uU67jCB

## Summary An **English Education & Ofsted accuracy review** of the landing page surfaced five issues where the homepage marketing content had drifted from the current education regime — and, in the Ofsted case, from what the app's own school pages already render. This fixes the 3 Critical and 2 High findings. ## Changes ### 🔴 Critical - **Ofsted card now reflects the current regime.** Overall single-word grades were abolished (Sept 2024); inspections produce a **report card on a five-point scale** from Nov 2025. Replaced the `OUTSTANDING` badge mock with a report-card preview — per-area ratings (Achievement · Strong, Curriculum & teaching · Expected standard, Attendance & behaviour · Strong) plus stand-alone **Safeguarding · Met** — mirroring what `CompareOfsted.tsx` renders on a real school page. Copy now explains the Nov 2025 change and that un-reinspected schools still show a legacy grade. - **Attainment 8 benchmark corrected.** `National avg 50.2` → **45.9** (real 2024/25 figure); illustrative school value 62.4 → 54.8, delta +12.2 → +8.9. - **KS2 progress removed from the compare mock.** KS2 progress scores aren't published for 2023/24 or 2024/25 (no post-COVID KS1 baseline). Swapped `Reading progress` for **Higher standard (RWM)**, which is published. ### 🟠 High - **"UK" → "England".** The data is England-only; now consistent with the hero and page metadata. - **Softened the "40-page inspection report"** exaggeration. ## Testing - `npx tsc --noEmit` — clean - `npm run build` — compiles, TypeScript + static generation pass Landing-page marketing sections aren't covered by the `e2e/` journeys (those exercise real school pages, which already model both Ofsted frameworks), so no test changes were required. Happy to add a homepage journey asserting the report-card copy if we want it guarded going forward. Note: the local dev server is documented as non-functional in this repo, so verification is limited to typecheck + build; the changes are static markup/CSS with no runtime logic. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_0146VHeLAWjDVE2B5uU67jCB
tudor added 1 commit 2026-07-21 08:00:28 +00:00
fix(home): correct education/Ofsted claims on the landing page
PR Checks / Frontend Typecheck + Tests (pull_request) Successful in 1m3s
PR Checks / Backend Smoke (pull_request) Successful in 7s
PR Checks / Build Backend (no push) (pull_request) Successful in 12s
PR Checks / Build Frontend (no push) (pull_request) Successful in 42s
PR Checks / Build Pipeline (no push) (pull_request) Successful in 10s
PR Checks / AI Code Review (Claude) (pull_request) Successful in 37s
1b8adb91ee
Homepage marketing content had drifted from both the current
education regime and the app's own school pages. An expert accuracy
review surfaced five issues (3 critical, 2 high):

- Ofsted card showed a single "OUTSTANDING" word-grade. Overall grades
  were abolished (Sept 2024) and inspections now produce a report card
  on a five-point scale (from Nov 2025). Rebuilt the card as a report
  card with per-area ratings + stand-alone safeguarding, matching what
  CompareOfsted actually renders on a school page.
- Attainment 8 "National avg 50.2" was wrong; the real 2024/25 figure
  is 45.9. Corrected the benchmark and the illustrative school value.
- Compare mock featured a KS2 "Reading progress" score, but KS2
  progress isn't published for 2023/24 or 2024/25 (no post-COVID KS1
  baseline). Swapped for Higher standard (RWM), which is published.
- Editorial called it "UK school performance data"; the data is
  England-only. Now matches the hero and page metadata.
- Softened the "40-page inspection report" exaggeration.

Landing-page copy isn't covered by e2e journeys, so no test changes.
Verified with tsc --noEmit and next build.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0146VHeLAWjDVE2B5uU67jCB

🤖 AI Code Review (Claude Code)

Frontend-only change to the homepage: minor editorial copy tweaks in EditorialSection, and a rework of the static Ofsted illustration in HowItWorksSection from a single grade badge to a mock multi-area 'report card' (with corresponding CSS module class renames). No backend, data pipeline, or CI/deploy files touched.

No issues found.

## 🤖 AI Code Review (Claude Code) Frontend-only change to the homepage: minor editorial copy tweaks in EditorialSection, and a rework of the static Ofsted illustration in HowItWorksSection from a single grade badge to a mock multi-area 'report card' (with corresponding CSS module class renames). No backend, data pipeline, or CI/deploy files touched. ✅ No issues found.
tudor added 1 commit 2026-07-21 08:07:24 +00:00
fix(home): correct remaining KS2/Ofsted terminology on the landing page
PR Checks / Frontend Typecheck + Tests (pull_request) Successful in 1m1s
PR Checks / Backend Smoke (pull_request) Successful in 7s
PR Checks / Build Backend (no push) (pull_request) Successful in 10s
PR Checks / Build Frontend (no push) (pull_request) Successful in 41s
PR Checks / Build Pipeline (no push) (pull_request) Successful in 9s
PR Checks / AI Code Review (Claude) (pull_request) Successful in 1m35s
13253116c2
Follow-up to the accuracy pass — the medium-severity wording issues
from the same expert review:

- KS2 "Exceeding" isn't a DfE term. The above-expected level is the
  "higher standard" for the reading and maths tests and "greater depth"
  for teacher-assessed writing. Labelled per subject, and brought the
  illustrative reading value down from an implausible 73% (national
  higher standard is ~29%) to a realistic strong-school figure.
- Attributed inspection outcomes to Ofsted, not only the DfE (Ofsted is
  a separate non-ministerial department).
- Hero: "2026/2027 admissions results" -> "the 2026/27 admissions
  round" (admissions produce offers, not results, and we don't hold
  per-school offer outcomes).

Tightened .miniRowHead so the longer "Greater depth" label stays on one
line and the three subject columns keep their bars aligned (the visual
is desktop-only; hidden on mobile).

Verified with tsc --noEmit and next build.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0146VHeLAWjDVE2B5uU67jCB

🤖 AI Code Review (Claude Code)

This PR is a copy/content and styling update to the homepage: refined editorial wording, and a reworked "How It Works" Ofsted card that replaces the old single-grade badge with a mock-up of Ofsted's new five-point "report card" framework (rolled out Nov 2025). CSS class renames (ofstedBadge→ofstedFramework, removal of ofstedVerdict) are scoped to HomeView.module.css and don't collide with the identically-named but separately-scoped classes used by SchoolRow/SecondarySchoolRow/CompareOfsted, so nothing else breaks.

🟡 Minor

  • nextjs-app/components/HowItWorksSection.tsx: The Attainment 8 bar visualization is now internally inconsistent: previously bar width and national-line position matched the displayed numbers 1:1 (width 62% for value 62.4, natLine at 50% for avg 50.2). After this change, att8Fill width is 68% but att8Value is 54.8, and att8NatLine is at 57% while 'National avg' reads 45.9 — the bars no longer visually represent the numbers shown next to them.
  • nextjs-app/components/HowItWorksSection.tsx: The new report-card mock lists 'Safeguarding: Met' inside the same rcList styled identically to the five-point-scale areas (Strong/Expected standard), but the accompanying copy says Ofsted now rates each area 'on a five-point scale' — safeguarding is actually a separate binary met/not-met judgement under the real framework, so grouping it visually with the graded areas is slightly misleading.
## 🤖 AI Code Review (Claude Code) This PR is a copy/content and styling update to the homepage: refined editorial wording, and a reworked "How It Works" Ofsted card that replaces the old single-grade badge with a mock-up of Ofsted's new five-point "report card" framework (rolled out Nov 2025). CSS class renames (ofstedBadge→ofstedFramework, removal of ofstedVerdict) are scoped to HomeView.module.css and don't collide with the identically-named but separately-scoped classes used by SchoolRow/SecondarySchoolRow/CompareOfsted, so nothing else breaks. ### 🟡 Minor - **nextjs-app/components/HowItWorksSection.tsx**: The Attainment 8 bar visualization is now internally inconsistent: previously bar width and national-line position matched the displayed numbers 1:1 (width 62% for value 62.4, natLine at 50% for avg 50.2). After this change, att8Fill width is 68% but att8Value is 54.8, and att8NatLine is at 57% while 'National avg' reads 45.9 — the bars no longer visually represent the numbers shown next to them. - **nextjs-app/components/HowItWorksSection.tsx**: The new report-card mock lists 'Safeguarding: Met' inside the same rcList styled identically to the five-point-scale areas (Strong/Expected standard), but the accompanying copy says Ofsted now rates each area 'on a five-point scale' — safeguarding is actually a separate binary met/not-met judgement under the real framework, so grouping it visually with the graded areas is slightly misleading.
tudor added 1 commit 2026-07-21 09:01:11 +00:00
fix(home): make Att8 bar match its numbers and separate safeguarding
PR Checks / Frontend Typecheck + Tests (pull_request) Successful in 1m2s
PR Checks / Backend Smoke (pull_request) Successful in 6s
PR Checks / Build Backend (no push) (pull_request) Successful in 10s
PR Checks / Build Frontend (no push) (pull_request) Successful in 42s
PR Checks / Build Pipeline (no push) (pull_request) Successful in 10s
PR Checks / AI Code Review (Claude) (pull_request) Successful in 1m6s
22e9eb2d48
Two internal-consistency fixes on the "What you'll see" mock:

- The Attainment 8 bar had drifted from the numbers beside it (fill 68%
  / line 57% vs a 54.8 score and 45.9 national avg). Restored the mock's
  original 1:1 value-to-percent mapping: fill 54.8%, national line 45.9%.
- The report card grouped "Safeguarding: Met" in the same five-point
  list as the graded areas, but safeguarding is a separate binary
  met/not-met judgement under the real framework. Moved it below the
  list behind a divider, with an outlined chip and a "separate check"
  label so it no longer reads as a graded area.

Verified with tsc --noEmit and next build.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0146VHeLAWjDVE2B5uU67jCB

🤖 AI Code Review (Claude Code)

This PR updates homepage marketing copy and the illustrative 'How it works' card to reflect Ofsted's new report-card inspection framework (five-point per-area grades plus a separate safeguarding met/not-met chip), replacing the old single-word Ofsted badge. Changes are confined to static, non-data-driven presentational components (HomeView, HowItWorksSection, EditorialSection) and their CSS module; class renames (ofstedBadge/ofstedVerdict → ofstedFramework/rcList/rcChip*) are scoped to HomeView.module.css and don't collide with the same-named classes used elsewhere (SchoolRow/SecondarySchoolRow have their own separate CSS modules).

No issues found.

## 🤖 AI Code Review (Claude Code) This PR updates homepage marketing copy and the illustrative 'How it works' card to reflect Ofsted's new report-card inspection framework (five-point per-area grades plus a separate safeguarding met/not-met chip), replacing the old single-word Ofsted badge. Changes are confined to static, non-data-driven presentational components (HomeView, HowItWorksSection, EditorialSection) and their CSS module; class renames (ofstedBadge/ofstedVerdict → ofstedFramework/rcList/rcChip*) are scoped to HomeView.module.css and don't collide with the same-named classes used elsewhere (SchoolRow/SecondarySchoolRow have their own separate CSS modules). ✅ No issues found.
tudor merged commit af23fbf27e into main 2026-07-21 09:04:57 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tudor/school_compare#73