Skip to content

KS4 Autumn summary: show each school its own report columns - AB#317128 #953

Backlog

Description

@davidgouge

AB#317128

Summary

Show each school only the KS4 Autumn summary columns of the report for its school type, on the portal's Summary tab. There are four reports: state schools, independent schools, FE colleges and non-maintained special schools.

The CSV download is different. It must still contain some fields that are not in the school's report, with the value NA. Which fields is not yet confirmed (see Scope: portal and CSV).

ADO tickets: 317125 (state schools), 317126 (independent schools), 317127 (FE colleges), 317128 (non-maintained special schools). Parent: 295014.

Source: "Data Requirements for Oracle IA Schools Checking HS v2 all.xlsx", tab "KS4 Summary Data report", sections 1 to 4.

Main risk: the tickets choose the report by NFTYPE. The service does not know a school's NFTYPE.

What the tickets ask for

Ticket Report NFTYPEs Spec section Columns
317125 State schools 20–27, 50–53, 55, 57, 58 1 All fields (the full list)
317126 Independent 30, 48 2 TPUP, ATT8 and its parts, basics 94/95/97, multiLan, tripleSci. No P8, prior attainment, disadvantaged or SEN.
317127 FE colleges 31 3 Cohort, P8, ATT8, LO/MID/HI, disadvantaged. No SEN, EAL or mobility.
317128 Non-maintained special 28 4 The independent set plus the 4 SEN fields. The SEN fields are always NA.

Each ticket also gives the same 2026 changes:

  • Remove the EBacc indicators (16 fields, NC26-025).
  • Add the grade 7 fields (NC26-041).
  • P8 and prior attainment values are NULL, but their columns stay.

Scope: portal and CSV

The business confirmed this split:

  • Portal (Summary tab): each school sees only the fields of its own report.
  • CSV download: some fields that are not in the school's report must still be in the CSV, with the value NA.

The ADO tickets do not say this. Each ticket says only "download … as a CSV, using the indicators in section N of the spec".

What the spec ("KS4 Summary Data report" tab) says:

  • Row 4: the spec is for the "'Key stage 4 summary data' report on Checking Exercise website - available on 'Summary' tab of CE website". So the four subsets control the portal. This agrees with the confirmation.
  • Rows 15–16: there are four reports by NFTYPE. The independent, FE and non-maintained special reports are subsets of the state schools report.
  • Rows 18–19: the only NA rule in the spec. SENE4, PSENE4, SENK4 and PSENK4 are NA "in the reports" for ACCS, ACS, CYS, FDS, FS and NMSS.
  • Rows 330–331 (the grid): "One per school - depending on school type they get one of the columns". The grid has no CSV-only columns.
  • Grid column E ("28/8/24 DMN PRESENT IN PUB FILE?") ticks every state schools field. So the supplier file probably has every column for every school. If so, this service must write the NA.
  • In the grid, the independent report has no SEN fields. The non-maintained special report has them, and they are always NA.
  • The spec has no comments and nothing to the right of column E.

The spec does not say which extra fields the CSV keeps. The confirmation may refer only to the SEN rule, or to more fields. See the questions below.

What the code already does

ks4autumn/summary_schema.json already has the full state schools field list. The EBacc fields are already removed. The _97 fields are already there. The website headings are already grouped.

Every school sees all 93 columns now.

Work to do

  1. Find the type of the signed-in school (see the mapping below).
  2. On the Summary tab, show only the fields of that school's report.
  3. In the CSV, write the confirmed extra fields with the value NA. The list of fields is not confirmed yet.

DfE Sign-in type to NFTYPE mapping

The service gets the school's type from DfE Sign-in (organisation_type_id claim, from $.type.id). The tables below map it to an NFTYPE.

  • DfE Sign-in types: login.dfe.public-api, Establishment types.
  • NFTYPEs: "KS4 Summary Data report" tab, sections 1 to 4 (rows 40–54, 171–172, 197, 306).
  • The two code lists use the same numbers for different things (28, 30, 31, 48). Use a lookup. Do not pass the number through.
  • DfE Sign-in sends the id as a string, for example "01". Parse it as a number before the lookup.
  • A type with no NFTYPE has no report. Under the fail-closed rule, the school sees nothing.

DfE Sign-in types

DfE Sign-in type id DfE Sign-in name NFTYPE Abbreviation Report
01 Community School 21 CY State
02 Voluntary Aided School 22 VA State
03 Voluntary Controlled School 23 VC State
05 Foundation School 24 FD State
06 City Technology College 25 CTC State
07 Community Special School 26 CYS State (SEN fields NA)
08 Non-Maintained Special School 28 NMSS Non-maintained special
10 Other Independent Special School 48 INDSPS Independent
11 Other Independent School 30 IND Independent
12 Foundation Special School 27 FDS State (SEN fields NA)
14 Pupil Referral Unit
15 LA Nursery School
18 Further Education 31 FESI FE colleges
24 Secure Units
25 Offshore Schools
26 Service children's Education
27 Miscellaneous
28 Academy Sponsor Led 20 AC State
29 Higher Education Institution
30 Welsh Establishment
31 Sixth Form Centres
32 Special Post 16 Institution
33 Academy Special Sponsor Led 50 ACS State (SEN fields NA)
34 Academy Converter 51 ACC State
35 Free Schools 52 F State
36 Free Schools Special 53 FS State (SEN fields NA)
37 British Overseas Schools
38 Free Schools - Alternative Provision
39 Free Schools - 16-19
40 University Technical College 57 FUTC / UTC State
41 Studio Schools 58 FSS / SS State
42 Academy Alternative Provision Converter
43 Academy Alternative Provision Sponsor Led
44 Academy Special Converter 55 ACCS State (SEN fields NA)
45 Academy 16-19 Converter
46 Academy 16-19 Sponsor Led
47 Children's Centre
48 Children's Centre Linked Site
49 Online Provider
56 Institution funded by other government department
57 Academy secure 16 to 19

NFTYPEs with no DfE Sign-in type

None. Each of the 19 NFTYPEs in sections 1 to 4 has a DfE Sign-in type in the table above.

NFTYPE Description Abbreviation Report

Problems

  1. The service cannot find NFTYPE.
    • NFType is not supplied in the Summary CSV from LDS. We need to map the organisation_type_id we get from Dfe SignIn to an NF Type. See DfE Sign-in type to NFTYPE mapping.
  2. The schema cannot show a column subset by school type.
    • ExerciseDisplayService.ParseDefinition picks one column set for each schema (x-download.columnVariant). Nothing selects columns by the viewer.
    • This needs a new schema feature (for example, a per-report list on each field) or four schemas or variants.
    • This is design work that the tickets do not show.
  3. The spec's consolidated grid is out of date.
    • The blue grid at row 333 does not list PTL2BASICS_97, PTBASICS{LO,AV,HI}_97 or PTFSM6CLA1ABASICS_97.
    • Sections 1 to 4 list them (the green rows). Use the sections, not the grid, as the truth.
  4. The schema notes on the _97 fields are incomplete.
    • The PTL2BASICS_97 description does not say "Also in the report for independent schools, FE colleges, non-maintained special schools". The spec puts it in all four reports (rows 180, 218, 318).
    • The PTBASICSLO_97 note does not say FE colleges. Spec row 249 puts it in the FE report.
    • Fix these notes first if the subsets come from them.
  5. The NULL rule is not the same for each band.
    • PTBASICSLO_97 and PTBASICSAV_97 are NULL "due to Covid".
    • PTBASICSHI_97 and PTBASICSHI_95 are not NULL. The schema copies this.
    • It may be a spec error, because the high band also needs KS2 prior attainment.
  6. The NA for special schools has no owner.
    • 317125 and 317128 say SENE4, PSENE4, SENK4 and PSENK4 are NA for CYS, FDS, ACS, FS, ACCS and NMSS.
    • It is not clear if the supplier file or this service writes the NA. Data-share code does not change supplier values now.
  7. Smaller gaps.
    • The tickets talk only about the CSV download. The business has since confirmed that the subsets control the portal. See Scope: portal and CSV.
    • The tickets do not say what a school with an unmapped type sees. Under the fail-closed rule, it sees nothing.

Questions for the ticket author

  • Does "Other Independent Special School" (NFTYPE 48 / GIAS 10) get the independent report? The Include journey leaves out this type (ADO 281165).
  • Does the summary tab on the page also show only the school's report columns, or only the CSV? Answer: the subsets control the portal. The CSV keeps some extra fields as NA.
  • Which fields that are not in the school's report must be in the CSV with the value NA? Is it (a) every state schools field (93 columns), with NA in each field outside the school's report, (b) a named list of fields, or (c) only the four SEN fields for special schools?
  • Who writes the NA: the supplier or this service? Grid column E suggests that the supplier file has real values in every column.
  • The tickets say "leave the values blank" for P8 and prior attainment. Do these stay blank in the CSV, or become NA?
  • PTBASICSLO_97 and PTBASICSAV_97 are NULL for Covid, but PTBASICSHI_97 and PTBASICSHI_95 are not. Is that correct?
  • The consolidated grid (row 333) does not have the five _97 fields. Can someone update it, or confirm that sections 1 to 4 are the truth?
  • What does a school see if its type matches none of the four reports?

Activity

  1. changed the title [-]KS4 Autumn summary: show each school its own report columns (ADO 317125-317128)[/-] [+]KS4 Autumn summary: show each school its own report columns - AB#317128[/+] on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions