From 2ca24422e9a7333b7644dbdfbe4ed99f9e7e41e1 Mon Sep 17 00:00:00 2001 From: rebecca Date: Thu, 12 Aug 2021 16:32:46 +0100 Subject: [PATCH 1/4] Add percentage entering ebacc fields to KS4 response --- .../Models/KeyStagePerformance/KeyStage4PerformanceResponse.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ApplyToBecomeInternal/ApplyToBecome.Data/Models/KeyStagePerformance/KeyStage4PerformanceResponse.cs b/ApplyToBecomeInternal/ApplyToBecome.Data/Models/KeyStagePerformance/KeyStage4PerformanceResponse.cs index cac93a5d4..b6c193e73 100644 --- a/ApplyToBecomeInternal/ApplyToBecome.Data/Models/KeyStagePerformance/KeyStage4PerformanceResponse.cs +++ b/ApplyToBecomeInternal/ApplyToBecome.Data/Models/KeyStagePerformance/KeyStage4PerformanceResponse.cs @@ -36,5 +36,8 @@ public class KeyStage4PerformanceResponse public DisadvantagedPupilsResponse LAAverageP8English { get; set; } public DisadvantagedPupilsResponse LAAverageP8Maths { get; set; } public DisadvantagedPupilsResponse LAAverageP8Ebacc { get; set; } + public decimal? Enteringebacc { get; set; } + public decimal? LAEnteringEbacc { get; set; } + public decimal? NationalEnteringEbacc { get; set; } } } From deb09f307553d00f781ab75555e59a40d0759724 Mon Sep 17 00:00:00 2001 From: rebecca Date: Thu, 12 Aug 2021 16:33:24 +0100 Subject: [PATCH 2/4] Map and display % entering ebacc fields in KS4 perf tables --- .../KeyStage4PerformanceTables/default.cshtml | 18 +++++++++--------- .../KeyStage4PerformanceTablesViewComponent.cs | 10 ++++++++++ .../KeyStage4PerformanceTableViewModel.cs | 10 ++++++++++ 3 files changed, 29 insertions(+), 9 deletions(-) diff --git a/ApplyToBecomeInternal/ApplyToBecomeInternal/Pages/Components/KeyStage4PerformanceTables/default.cshtml b/ApplyToBecomeInternal/ApplyToBecomeInternal/Pages/Components/KeyStage4PerformanceTables/default.cshtml index 8e8fda4d0..250b38a07 100644 --- a/ApplyToBecomeInternal/ApplyToBecomeInternal/Pages/Components/KeyStage4PerformanceTables/default.cshtml +++ b/ApplyToBecomeInternal/ApplyToBecomeInternal/Pages/Components/KeyStage4PerformanceTables/default.cshtml @@ -328,21 +328,21 @@ @ViewData["SchoolName"] - no data - no data - no data + @Model.PercentageEnteringEbacc + @Model.PercentageEnteringEbaccPreviousYear + @Model.PercentageEnteringEbaccTwoYearsAgo @ViewData["LocalAuthority"] LA average - no data - no data - no data + @Model.LaPercentageEnteringEbacc + @Model.LaPercentageEnteringEbaccPreviousYear + @Model.LaPercentageEnteringEbaccTwoYearsAgo National average - no data - no data - no data + @Model.NaPercentageEnteringEbacc + @Model.NaPercentageEnteringEbaccPreviousYear + @Model.NaPercentageEnteringEbaccTwoYearsAgo diff --git a/ApplyToBecomeInternal/ApplyToBecomeInternal/ViewComponents/KeyStage4PerformanceTablesViewComponent.cs b/ApplyToBecomeInternal/ApplyToBecomeInternal/ViewComponents/KeyStage4PerformanceTablesViewComponent.cs index 8cd20ac9d..bb464a185 100644 --- a/ApplyToBecomeInternal/ApplyToBecomeInternal/ViewComponents/KeyStage4PerformanceTablesViewComponent.cs +++ b/ApplyToBecomeInternal/ApplyToBecomeInternal/ViewComponents/KeyStage4PerformanceTablesViewComponent.cs @@ -152,6 +152,16 @@ private KeyStage4PerformanceTableViewModel Build(IReadOnlyCollection Date: Thu, 12 Aug 2021 16:34:12 +0100 Subject: [PATCH 3/4] Update KS4 tests to include % entering ebacc fields --- .../KeyStage4PerformanceIntegrationTests.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ApplyToBecomeInternal/ApplyToBecomeInternal.Tests/Pages/TaskList/KeyStagePerformance/KeyStage4PerformanceIntegrationTests.cs b/ApplyToBecomeInternal/ApplyToBecomeInternal.Tests/Pages/TaskList/KeyStagePerformance/KeyStage4PerformanceIntegrationTests.cs index 3d2346aa8..dd8fe4f6f 100644 --- a/ApplyToBecomeInternal/ApplyToBecomeInternal.Tests/Pages/TaskList/KeyStagePerformance/KeyStage4PerformanceIntegrationTests.cs +++ b/ApplyToBecomeInternal/ApplyToBecomeInternal.Tests/Pages/TaskList/KeyStagePerformance/KeyStage4PerformanceIntegrationTests.cs @@ -217,6 +217,16 @@ public async Task Should_be_reference_only_and_display_KS4_data() Document.QuerySelector("#na-p8-score-ebacc").TextContent.Should() .Be($"{keyStage4ResponseOrderedByYear.ElementAt(0).NationalAverageP8Ebacc.NotDisadvantaged}\n(disadvantaged pupils {keyStage4ResponseOrderedByYear.ElementAt(0).NationalAverageP8Ebacc.Disadvantaged})"); + Document.QuerySelector("#percentage-entering-ebacc").TextContent.Should().Contain(keyStage4ResponseOrderedByYear.ElementAt(0).Enteringebacc.ToString()); + Document.QuerySelector("#percentage-entering-ebacc-previous-year").TextContent.Should().Contain(keyStage4ResponseOrderedByYear.ElementAt(1).Enteringebacc.ToString()); + Document.QuerySelector("#percentage-entering-ebacc-two-years-ago").TextContent.Should().Contain(keyStage4ResponseOrderedByYear.ElementAt(2).Enteringebacc.ToString()); + Document.QuerySelector("#la-percentage-entering-ebacc").TextContent.Should().Contain(keyStage4ResponseOrderedByYear.ElementAt(0).LAEnteringEbacc.ToString()); + Document.QuerySelector("#la-percentage-entering-ebacc-previous-year").TextContent.Should().Contain(keyStage4ResponseOrderedByYear.ElementAt(1).LAEnteringEbacc.ToString()); + Document.QuerySelector("#la-percentage-entering-ebacc-two-years-ago").TextContent.Should().Contain(keyStage4ResponseOrderedByYear.ElementAt(2).LAEnteringEbacc.ToString()); + Document.QuerySelector("#na-percentage-entering-ebacc").TextContent.Should().Contain(keyStage4ResponseOrderedByYear.ElementAt(0).NationalEnteringEbacc.ToString()); + Document.QuerySelector("#na-percentage-entering-ebacc-previous-year").TextContent.Should().Contain(keyStage4ResponseOrderedByYear.ElementAt(1).NationalEnteringEbacc.ToString()); + Document.QuerySelector("#na-percentage-entering-ebacc-two-years-ago").TextContent.Should().Contain(keyStage4ResponseOrderedByYear.ElementAt(2).NationalEnteringEbacc.ToString()); + await NavigateAsync("Confirm and continue"); Document.Url.Should().BeUrl($"/task-list/{project.Id}"); From 89b6880ccb84b1f2827832462fbb0eeb026b53a0 Mon Sep 17 00:00:00 2001 From: rebecca Date: Thu, 12 Aug 2021 17:03:15 +0100 Subject: [PATCH 4/4] Use ordered list when mapping % entering ebacc fields in KS4 VC --- ...KeyStage4PerformanceTablesViewComponent.cs | 226 +++++++++--------- 1 file changed, 113 insertions(+), 113 deletions(-) diff --git a/ApplyToBecomeInternal/ApplyToBecomeInternal/ViewComponents/KeyStage4PerformanceTablesViewComponent.cs b/ApplyToBecomeInternal/ApplyToBecomeInternal/ViewComponents/KeyStage4PerformanceTablesViewComponent.cs index bb464a185..cde5ab846 100644 --- a/ApplyToBecomeInternal/ApplyToBecomeInternal/ViewComponents/KeyStage4PerformanceTablesViewComponent.cs +++ b/ApplyToBecomeInternal/ApplyToBecomeInternal/ViewComponents/KeyStage4PerformanceTablesViewComponent.cs @@ -45,123 +45,123 @@ public async Task InvokeAsync() private KeyStage4PerformanceTableViewModel Build(IReadOnlyCollection keyStage4Performance) { - var keyStage4PerformanceResults = keyStage4Performance.Take(3).OrderByDescending(ks4 => ks4.Year) + var keyStage4PerformanceOrdered = keyStage4Performance.Take(3).OrderByDescending(ks4 => ks4.Year) .Concat(Enumerable.Range(0, 3).Select(_ => new KeyStage4PerformanceResponse())).Take(3).ToList(); return new KeyStage4PerformanceTableViewModel { - Year = keyStage4PerformanceResults.ElementAt(0)?.Year.FormatKeyStageYear(), - PreviousYear = keyStage4PerformanceResults.ElementAt(1)?.Year.FormatKeyStageYear(), - TwoYearsAgo = keyStage4PerformanceResults.ElementAt(2)?.Year.FormatKeyStageYear(), - - Attainment8Score = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.SipAttainment8score), - Attainment8ScorePreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.SipAttainment8score), - Attainment8ScoreTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.SipAttainment8score), - LaAverageAttainment8Score = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.LAAverageA8Score), - LaAverageAttainment8ScorePreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.LAAverageA8Score), - LaAverageAttainment8ScoreTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.LAAverageA8Score), - NationalAverageAttainment8Score = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.NationalAverageA8Score), - NationalAverageAttainment8ScorePreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.NationalAverageA8Score), - NationalAverageAttainment8ScoreTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.NationalAverageA8Score), - - Attainment8ScoreEnglish = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.SipAttainment8scoreenglish), - Attainment8ScoreEnglishPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.SipAttainment8scoreenglish), - Attainment8ScoreEnglishTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.SipAttainment8scoreenglish), - LaAverageAttainment8ScoreEnglish = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.LAAverageA8English), - LaAverageAttainment8ScoreEnglishPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.LAAverageA8English), - LaAverageAttainment8ScoreEnglishTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.LAAverageA8English), - NationalAverageAttainment8ScoreEnglish = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.NationalAverageA8English), - NationalAverageAttainment8ScoreEnglishPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.NationalAverageA8English), - NationalAverageAttainment8ScoreEnglishTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.NationalAverageA8English), - - Attainment8ScoreMaths = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.SipAttainment8scoremaths), - Attainment8ScoreMathsPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.SipAttainment8scoremaths), - Attainment8ScoreMathsTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.SipAttainment8scoremaths), - LaAverageAttainment8ScoreMaths = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.LAAverageA8Maths), - LaAverageAttainment8ScoreMathsPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.LAAverageA8Maths), - LaAverageAttainment8ScoreMathsTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.LAAverageA8Maths), - NationalAverageAttainment8ScoreMaths = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.NationalAverageA8Maths), - NationalAverageAttainment8ScoreMathsPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.NationalAverageA8Maths), - NationalAverageAttainment8ScoreMathsTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.NationalAverageA8Maths), - - Attainment8ScoreEbacc = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.SipAttainment8scoreebacc), - Attainment8ScoreEbaccPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.SipAttainment8scoreebacc), - Attainment8ScoreEbaccTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.SipAttainment8scoreebacc), - LaAverageAttainment8ScoreEbacc = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.LAAverageA8EBacc), - LaAverageAttainment8ScoreEbaccPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.LAAverageA8EBacc), - LaAverageAttainment8ScoreEbaccTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.LAAverageA8EBacc), - NationalAverageAttainment8ScoreEbacc = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.NationalAverageA8EBacc), - NationalAverageAttainment8ScoreEbaccPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.NationalAverageA8EBacc), - NationalAverageAttainment8ScoreEbaccTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.NationalAverageA8EBacc), - - NumberOfPupilsProgress8 = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.SipNumberofpupilsprogress8), - NumberOfPupilsProgress8PreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.SipNumberofpupilsprogress8), - NumberOfPupilsProgress8TwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.SipNumberofpupilsprogress8), - LaAveragePupilsIncludedProgress8 = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.LAAverageP8PupilsIncluded), - LaAveragePupilsIncludedProgress8PreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.LAAverageP8PupilsIncluded), - LaAveragePupilsIncludedProgress8TwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.LAAverageP8PupilsIncluded), - NationalAveragePupilsIncludedProgress8 = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.NationalAverageP8PupilsIncluded), - NationalAveragePupilsIncludedProgress8PreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.NationalAverageP8PupilsIncluded), - NationalAveragePupilsIncludedProgress8TwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.NationalAverageP8PupilsIncluded), - - Progress8Score = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.SipProgress8Score), - Progress8ScorePreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.SipProgress8Score), - Progress8ScoreTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.SipProgress8Score), - LaAverageProgress8Score = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.LAAverageP8Score), - LaAverageProgress8ScorePreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.LAAverageP8Score), - LaAverageProgress8ScoreTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.LAAverageP8Score), - NationalAverageProgress8Score = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.NationalAverageP8Score), - NationalAverageProgress8ScorePreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.NationalAverageP8Score), - NationalAverageProgress8ScoreTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.NationalAverageP8Score), - Progress8ConfidenceInterval = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceResults.ElementAt(0)?.SipProgress8lowerconfidence, keyStage4PerformanceResults.ElementAt(0)?.SipProgress8upperconfidence), - Progress8ConfidenceIntervalPreviousYear = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceResults.ElementAt(1)?.SipProgress8lowerconfidence, keyStage4PerformanceResults.ElementAt(1)?.SipProgress8upperconfidence), - Progress8ConfidenceIntervalTwoYearsAgo = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceResults.ElementAt(2)?.SipProgress8lowerconfidence, keyStage4PerformanceResults.ElementAt(2)?.SipProgress8upperconfidence), - LaAverageProgress8ConfidenceInterval = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceResults.ElementAt(0)?.LAAverageP8LowerConfidence, keyStage4PerformanceResults.ElementAt(0)?.LAAverageP8UpperConfidence), - LaAverageProgress8ConfidenceIntervalPreviousYear = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceResults.ElementAt(1)?.LAAverageP8LowerConfidence, keyStage4PerformanceResults.ElementAt(1)?.LAAverageP8UpperConfidence), - LaAverageProgress8ConfidenceIntervalTwoYearsAgo = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceResults.ElementAt(2)?.LAAverageP8LowerConfidence, keyStage4PerformanceResults.ElementAt(2)?.LAAverageP8UpperConfidence), - NationalAverageProgress8ConfidenceInterval = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceResults.ElementAt(0)?.NationalAverageP8LowerConfidence, keyStage4PerformanceResults.ElementAt(0)?.NationalAverageP8UpperConfidence), - NationalAverageProgress8ConfidenceIntervalPreviousYear = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceResults.ElementAt(1)?.NationalAverageP8LowerConfidence, keyStage4PerformanceResults.ElementAt(1)?.NationalAverageP8UpperConfidence), - NationalAverageProgress8ConfidenceIntervalTwoYearsAgo = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceResults.ElementAt(2)?.NationalAverageP8LowerConfidence, keyStage4PerformanceResults.ElementAt(2)?.NationalAverageP8UpperConfidence), - - Progress8ScoreEnglish = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.SipProgress8english), - Progress8ScoreEnglishPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.SipProgress8english), - Progress8ScoreEnglishTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.SipProgress8english), - LaAverageProgress8ScoreEnglish = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.LAAverageP8English), - LaAverageProgress8ScoreEnglishPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.LAAverageP8English), - LaAverageProgress8ScoreEnglishTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.LAAverageP8English), - NationalAverageProgress8ScoreEnglish = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.NationalAverageP8English), - NationalAverageProgress8ScoreEnglishPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.NationalAverageP8English), - NationalAverageProgress8ScoreEnglishTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.NationalAverageP8English), - - Progress8ScoreMaths = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.SipProgress8maths), - Progress8ScoreMathsPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.SipProgress8maths), - Progress8ScoreMathsTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.SipProgress8maths), - LaAverageProgress8ScoreMaths = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.LAAverageP8Maths), - LaAverageProgress8ScoreMathsPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.LAAverageP8Maths), - LaAverageProgress8ScoreMathsTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.LAAverageP8Maths), - NationalAverageProgress8ScoreMaths = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.NationalAverageP8Maths), - NationalAverageProgress8ScoreMathsPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.NationalAverageP8Maths), - NationalAverageProgress8ScoreMathsTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.NationalAverageP8Maths), - - Progress8ScoreEbacc = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.SipProgress8ebacc), - Progress8ScoreEbaccPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.SipProgress8ebacc), - Progress8ScoreEbaccTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.SipProgress8ebacc), - LaAverageProgress8ScoreEbacc = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.LAAverageP8Ebacc), - LaAverageProgress8ScoreEbaccPreviousYear= DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.LAAverageP8Ebacc), - LaAverageProgress8ScoreEbaccTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.LAAverageP8Ebacc), - NationalAverageProgress8ScoreEbacc = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(0)?.NationalAverageP8Ebacc), - NationalAverageProgress8ScoreEbaccPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(1)?.NationalAverageP8Ebacc), - NationalAverageProgress8ScoreEbaccTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceResults.ElementAt(2)?.NationalAverageP8Ebacc), - - PercentageEnteringEbacc = keyStage4Performance.ElementAt(0)?.Enteringebacc.ToString(), - PercentageEnteringEbaccPreviousYear = keyStage4Performance.ElementAt(1)?.Enteringebacc.ToString(), - PercentageEnteringEbaccTwoYearsAgo = keyStage4Performance.ElementAt(2)?.Enteringebacc.ToString(), - LaPercentageEnteringEbacc = keyStage4Performance.ElementAt(0)?.LAEnteringEbacc.ToString(), - LaPercentageEnteringEbaccPreviousYear = keyStage4Performance.ElementAt(1)?.LAEnteringEbacc.ToString(), - LaPercentageEnteringEbaccTwoYearsAgo = keyStage4Performance.ElementAt(2)?.LAEnteringEbacc.ToString(), - NaPercentageEnteringEbacc = keyStage4Performance.ElementAt(0)?.NationalEnteringEbacc.ToString(), - NaPercentageEnteringEbaccPreviousYear = keyStage4Performance.ElementAt(1)?.NationalEnteringEbacc.ToString(), - NaPercentageEnteringEbaccTwoYearsAgo = keyStage4Performance.ElementAt(2)?.NationalEnteringEbacc.ToString() + Year = keyStage4PerformanceOrdered.ElementAt(0)?.Year.FormatKeyStageYear(), + PreviousYear = keyStage4PerformanceOrdered.ElementAt(1)?.Year.FormatKeyStageYear(), + TwoYearsAgo = keyStage4PerformanceOrdered.ElementAt(2)?.Year.FormatKeyStageYear(), + + Attainment8Score = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.SipAttainment8score), + Attainment8ScorePreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.SipAttainment8score), + Attainment8ScoreTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.SipAttainment8score), + LaAverageAttainment8Score = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.LAAverageA8Score), + LaAverageAttainment8ScorePreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.LAAverageA8Score), + LaAverageAttainment8ScoreTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.LAAverageA8Score), + NationalAverageAttainment8Score = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.NationalAverageA8Score), + NationalAverageAttainment8ScorePreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.NationalAverageA8Score), + NationalAverageAttainment8ScoreTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.NationalAverageA8Score), + + Attainment8ScoreEnglish = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.SipAttainment8scoreenglish), + Attainment8ScoreEnglishPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.SipAttainment8scoreenglish), + Attainment8ScoreEnglishTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.SipAttainment8scoreenglish), + LaAverageAttainment8ScoreEnglish = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.LAAverageA8English), + LaAverageAttainment8ScoreEnglishPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.LAAverageA8English), + LaAverageAttainment8ScoreEnglishTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.LAAverageA8English), + NationalAverageAttainment8ScoreEnglish = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.NationalAverageA8English), + NationalAverageAttainment8ScoreEnglishPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.NationalAverageA8English), + NationalAverageAttainment8ScoreEnglishTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.NationalAverageA8English), + + Attainment8ScoreMaths = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.SipAttainment8scoremaths), + Attainment8ScoreMathsPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.SipAttainment8scoremaths), + Attainment8ScoreMathsTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.SipAttainment8scoremaths), + LaAverageAttainment8ScoreMaths = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.LAAverageA8Maths), + LaAverageAttainment8ScoreMathsPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.LAAverageA8Maths), + LaAverageAttainment8ScoreMathsTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.LAAverageA8Maths), + NationalAverageAttainment8ScoreMaths = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.NationalAverageA8Maths), + NationalAverageAttainment8ScoreMathsPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.NationalAverageA8Maths), + NationalAverageAttainment8ScoreMathsTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.NationalAverageA8Maths), + + Attainment8ScoreEbacc = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.SipAttainment8scoreebacc), + Attainment8ScoreEbaccPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.SipAttainment8scoreebacc), + Attainment8ScoreEbaccTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.SipAttainment8scoreebacc), + LaAverageAttainment8ScoreEbacc = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.LAAverageA8EBacc), + LaAverageAttainment8ScoreEbaccPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.LAAverageA8EBacc), + LaAverageAttainment8ScoreEbaccTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.LAAverageA8EBacc), + NationalAverageAttainment8ScoreEbacc = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.NationalAverageA8EBacc), + NationalAverageAttainment8ScoreEbaccPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.NationalAverageA8EBacc), + NationalAverageAttainment8ScoreEbaccTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.NationalAverageA8EBacc), + + NumberOfPupilsProgress8 = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.SipNumberofpupilsprogress8), + NumberOfPupilsProgress8PreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.SipNumberofpupilsprogress8), + NumberOfPupilsProgress8TwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.SipNumberofpupilsprogress8), + LaAveragePupilsIncludedProgress8 = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.LAAverageP8PupilsIncluded), + LaAveragePupilsIncludedProgress8PreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.LAAverageP8PupilsIncluded), + LaAveragePupilsIncludedProgress8TwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.LAAverageP8PupilsIncluded), + NationalAveragePupilsIncludedProgress8 = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.NationalAverageP8PupilsIncluded), + NationalAveragePupilsIncludedProgress8PreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.NationalAverageP8PupilsIncluded), + NationalAveragePupilsIncludedProgress8TwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.NationalAverageP8PupilsIncluded), + + Progress8Score = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.SipProgress8Score), + Progress8ScorePreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.SipProgress8Score), + Progress8ScoreTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.SipProgress8Score), + LaAverageProgress8Score = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.LAAverageP8Score), + LaAverageProgress8ScorePreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.LAAverageP8Score), + LaAverageProgress8ScoreTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.LAAverageP8Score), + NationalAverageProgress8Score = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.NationalAverageP8Score), + NationalAverageProgress8ScorePreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.NationalAverageP8Score), + NationalAverageProgress8ScoreTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.NationalAverageP8Score), + Progress8ConfidenceInterval = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceOrdered.ElementAt(0)?.SipProgress8lowerconfidence, keyStage4PerformanceOrdered.ElementAt(0)?.SipProgress8upperconfidence), + Progress8ConfidenceIntervalPreviousYear = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceOrdered.ElementAt(1)?.SipProgress8lowerconfidence, keyStage4PerformanceOrdered.ElementAt(1)?.SipProgress8upperconfidence), + Progress8ConfidenceIntervalTwoYearsAgo = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceOrdered.ElementAt(2)?.SipProgress8lowerconfidence, keyStage4PerformanceOrdered.ElementAt(2)?.SipProgress8upperconfidence), + LaAverageProgress8ConfidenceInterval = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceOrdered.ElementAt(0)?.LAAverageP8LowerConfidence, keyStage4PerformanceOrdered.ElementAt(0)?.LAAverageP8UpperConfidence), + LaAverageProgress8ConfidenceIntervalPreviousYear = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceOrdered.ElementAt(1)?.LAAverageP8LowerConfidence, keyStage4PerformanceOrdered.ElementAt(1)?.LAAverageP8UpperConfidence), + LaAverageProgress8ConfidenceIntervalTwoYearsAgo = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceOrdered.ElementAt(2)?.LAAverageP8LowerConfidence, keyStage4PerformanceOrdered.ElementAt(2)?.LAAverageP8UpperConfidence), + NationalAverageProgress8ConfidenceInterval = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceOrdered.ElementAt(0)?.NationalAverageP8LowerConfidence, keyStage4PerformanceOrdered.ElementAt(0)?.NationalAverageP8UpperConfidence), + NationalAverageProgress8ConfidenceIntervalPreviousYear = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceOrdered.ElementAt(1)?.NationalAverageP8LowerConfidence, keyStage4PerformanceOrdered.ElementAt(1)?.NationalAverageP8UpperConfidence), + NationalAverageProgress8ConfidenceIntervalTwoYearsAgo = DisplayExtensions.DisplayConfidenceInterval(keyStage4PerformanceOrdered.ElementAt(2)?.NationalAverageP8LowerConfidence, keyStage4PerformanceOrdered.ElementAt(2)?.NationalAverageP8UpperConfidence), + + Progress8ScoreEnglish = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.SipProgress8english), + Progress8ScoreEnglishPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.SipProgress8english), + Progress8ScoreEnglishTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.SipProgress8english), + LaAverageProgress8ScoreEnglish = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.LAAverageP8English), + LaAverageProgress8ScoreEnglishPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.LAAverageP8English), + LaAverageProgress8ScoreEnglishTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.LAAverageP8English), + NationalAverageProgress8ScoreEnglish = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.NationalAverageP8English), + NationalAverageProgress8ScoreEnglishPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.NationalAverageP8English), + NationalAverageProgress8ScoreEnglishTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.NationalAverageP8English), + + Progress8ScoreMaths = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.SipProgress8maths), + Progress8ScoreMathsPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.SipProgress8maths), + Progress8ScoreMathsTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.SipProgress8maths), + LaAverageProgress8ScoreMaths = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.LAAverageP8Maths), + LaAverageProgress8ScoreMathsPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.LAAverageP8Maths), + LaAverageProgress8ScoreMathsTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.LAAverageP8Maths), + NationalAverageProgress8ScoreMaths = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.NationalAverageP8Maths), + NationalAverageProgress8ScoreMathsPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.NationalAverageP8Maths), + NationalAverageProgress8ScoreMathsTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.NationalAverageP8Maths), + + Progress8ScoreEbacc = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.SipProgress8ebacc), + Progress8ScoreEbaccPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.SipProgress8ebacc), + Progress8ScoreEbaccTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.SipProgress8ebacc), + LaAverageProgress8ScoreEbacc = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.LAAverageP8Ebacc), + LaAverageProgress8ScoreEbaccPreviousYear= DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.LAAverageP8Ebacc), + LaAverageProgress8ScoreEbaccTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.LAAverageP8Ebacc), + NationalAverageProgress8ScoreEbacc = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(0)?.NationalAverageP8Ebacc), + NationalAverageProgress8ScoreEbaccPreviousYear = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(1)?.NationalAverageP8Ebacc), + NationalAverageProgress8ScoreEbaccTwoYearsAgo = DisplayExtensions.DisplayKeyStageDisadvantagedResult(keyStage4PerformanceOrdered.ElementAt(2)?.NationalAverageP8Ebacc), + + PercentageEnteringEbacc = keyStage4PerformanceOrdered.ElementAt(0)?.Enteringebacc.ToString(), + PercentageEnteringEbaccPreviousYear = keyStage4PerformanceOrdered.ElementAt(1)?.Enteringebacc.ToString(), + PercentageEnteringEbaccTwoYearsAgo = keyStage4PerformanceOrdered.ElementAt(2)?.Enteringebacc.ToString(), + LaPercentageEnteringEbacc = keyStage4PerformanceOrdered.ElementAt(0)?.LAEnteringEbacc.ToString(), + LaPercentageEnteringEbaccPreviousYear = keyStage4PerformanceOrdered.ElementAt(1)?.LAEnteringEbacc.ToString(), + LaPercentageEnteringEbaccTwoYearsAgo = keyStage4PerformanceOrdered.ElementAt(2)?.LAEnteringEbacc.ToString(), + NaPercentageEnteringEbacc = keyStage4PerformanceOrdered.ElementAt(0)?.NationalEnteringEbacc.ToString(), + NaPercentageEnteringEbaccPreviousYear = keyStage4PerformanceOrdered.ElementAt(1)?.NationalEnteringEbacc.ToString(), + NaPercentageEnteringEbaccTwoYearsAgo = keyStage4PerformanceOrdered.ElementAt(2)?.NationalEnteringEbacc.ToString() }; } }