Esempio n. 1
0
        private void BuildPerformanceCriteriaVMs()
        {
            Ks2ActualRangeVm = new BenchmarkCriteriaRangeVM(
                question: SchoolCharacteristicsQuestions.KS2_ACTUAL,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.KS2_ACTUAL],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "Ks2Actual",
                minValue: BenchmarkCriteria.MinKs2Actual,
                maxValue: BenchmarkCriteria.MaxKs2Actual
                );

            Ks2ProgressRangeVM = new BenchmarkCriteriaRangeVM(
                question: SchoolCharacteristicsQuestions.KS2_PROGRESS,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.KS2_PROGRESS],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "Ks2Progress",
                minValue: BenchmarkCriteria.MinKs2Progress,
                maxValue: BenchmarkCriteria.MaxKs2Progress,
                minLimit: -20,
                maxLimit: 20,
                format: "F2"
                );

            AverageAtt8RangeVM = new BenchmarkCriteriaRangeVM(
                question: SchoolCharacteristicsQuestions.AVERAGE_ATTAINMENT_8,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.AVERAGE_ATTAINMENT_8],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "AvAtt8",
                minValue: BenchmarkCriteria.MinAvAtt8,
                maxValue: BenchmarkCriteria.MaxAvAtt8,
                minLimit: -0,
                maxLimit: 100,
                format: "F1"
                );

            Progress8MeasureRangeVM = new BenchmarkCriteriaRangeVM(
                question: SchoolCharacteristicsQuestions.PROGRESS_8_MEASURE,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.PROGRESS_8_MEASURE],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "P8Mea",
                minValue: BenchmarkCriteria.MinP8Mea,
                maxValue: BenchmarkCriteria.MaxP8Mea,
                minLimit: -5,
                maxLimit: 5
                );

            OfstedRatingMultipleChoiceVM = new BenchmarkCriteriaMultipleChoiceVM(
                question: SchoolCharacteristicsQuestions.OFSTED_RATING,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.OFSTED_RATING],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "OfstedRating",
                options: new List <OptionVM>
            {
                new OptionVM("Outstanding", "Outstanding", BenchmarkCriteria.OfstedRating),
                new OptionVM("Good", "Good", BenchmarkCriteria.OfstedRating),
                new OptionVM("Requires improvement", "Requires improvement", BenchmarkCriteria.OfstedRating),
                new OptionVM("Inadequate", "Inadequate", BenchmarkCriteria.OfstedRating),
                new OptionVM("Not rated", "Not rated", BenchmarkCriteria.OfstedRating)
            }
                );
        }
Esempio n. 2
0
        private void BuildGeneralCriteriaVMs()
        {
            NumberOfPupilsCriteriaRangeVm = new BenchmarkCriteriaRangeVM(
                question: SchoolCharacteristicsQuestions.NUMBER_OF_PUPILS,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.NUMBER_OF_PUPILS],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "NoPupil",
                minValue: BenchmarkCriteria.MinNoPupil,
                maxValue: BenchmarkCriteria.MaxNoPupil);

            SchoolPhaseMultipleChoiceVM = new BenchmarkCriteriaMultipleChoiceVM(
                question: SchoolCharacteristicsQuestions.SCHOOL_PHASE,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.SCHOOL_PHASE],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "SchoolPhase",
                options: new List <OptionVM>
            {
                new OptionVM("Nursery", "Nursery", BenchmarkCriteria.SchoolPhase),
                new OptionVM("Infant and junior", "Infant and junior", BenchmarkCriteria.SchoolPhase),
                new OptionVM("Infant", "Infant", BenchmarkCriteria.SchoolPhase),
                new OptionVM("Junior", "Junior", BenchmarkCriteria.SchoolPhase),
                new OptionVM("Middle deemed primary", "Middle deemed primary", BenchmarkCriteria.SchoolPhase),
                new OptionVM("Middle deemed secondary", "Middle deemed secondary", BenchmarkCriteria.SchoolPhase),
                new OptionVM("Secondary", "Secondary", BenchmarkCriteria.SchoolPhase),
                new OptionVM("Special", "Special", BenchmarkCriteria.SchoolPhase),
                new OptionVM("Pupil referral unit", "Pupil referral unit", BenchmarkCriteria.SchoolPhase),
                new OptionVM("All-through", "All-through", BenchmarkCriteria.SchoolPhase)
            });

            TypeOfEstabMaintainedMultipleChoiceVM = new BenchmarkCriteriaMultipleChoiceVM(
                question: SchoolCharacteristicsQuestions.TYPEOF_ESTABLISHMENT,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.TYPEOF_ESTABLISHMENT],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "TypeOfEstablishment",
                options: new List <OptionVM>
            {
                new OptionVM("Nursery", "Nursery", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Community", "Community school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Community special", "Community special school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Foundation", "Foundation school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Foundation special", "Foundation special school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Voluntary aided", "Voluntary aided school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Voluntary controlled", "Voluntary controlled school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Pupil referral unit", "Pupil referral unit", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Miscellaneous", "Miscellaneous", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Studio school", "Studio school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Academy converter", "Academy converter", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Academy special converter", "Academy special converter", BenchmarkCriteria.TypeOfEstablishment),
            });

            TypeOfEstabAcademiesMultipleChoiceVM = new BenchmarkCriteriaMultipleChoiceVM(
                question: SchoolCharacteristicsQuestions.TYPEOF_ESTABLISHMENT,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.TYPEOF_ESTABLISHMENT],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "TypeOfEstablishment",
                options: new List <OptionVM>
            {
                new OptionVM("Academy converter", "Academy converter", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Academy special converter", "Academy special converter", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Academy special sponsor led", "Academy special sponsor led", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Academy sponsor led", "Academy sponsor led", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("City technology college", "City technology college", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Free school", "Free school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("University technical college", "University technical college", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Studio school", "Studio school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Free school special", "Free school special", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Free school - alternative provision", "Free school alternative provision", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Pupil referral unit", "Pupil referral unit", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Academy alternative provision converter", "Academy alternative provision converter", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Academy alternative provision sponsor led", "Academy alternative provision sponsor led", BenchmarkCriteria.TypeOfEstablishment)
            });

            TypeOfEstabAllMultipleChoiceVM = new BenchmarkCriteriaMultipleChoiceVM(
                question: SchoolCharacteristicsQuestions.TYPEOF_ESTABLISHMENT,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.TYPEOF_ESTABLISHMENT],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "TypeOfEstablishment",
                options: new List <OptionVM>
            {
                new OptionVM("Nursery", "Nursery", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Community", "Community school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Community special", "Community special school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Foundation", "Foundation school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Foundation special", "Foundation special school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Voluntary aided", "Voluntary aided school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Voluntary controlled", "Voluntary controlled school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Pupil referral unit", "Pupil referral unit", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Academy converter", "Academy converter", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Academy special converter", "Academy special converter", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Academy sponsor led", "Academy sponsor led", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Academy special sponsor led", "Academy special sponsor led", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("City technology college", "City technology college", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Free school", "Free school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("University technical college", "University technical college", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Studio school", "Studio school", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Free school special", "Free school special", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Free school - alternative provision", "Free school alternative provision", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Academy alternative provision converter", "Academy alternative provision converter", BenchmarkCriteria.TypeOfEstablishment),
                new OptionVM("Academy alternative provision sponsor led", "Academy alternative provision sponsor led", BenchmarkCriteria.TypeOfEstablishment),
            });

            PercEligibleSchoolMealsRangeVm = new BenchmarkCriteriaRangeVM(
                question: SchoolCharacteristicsQuestions.PERCENTAGE_OF_ELIGIBLE_FREE_SCHOOL_MEALS,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.PERCENTAGE_OF_ELIGIBLE_FREE_SCHOOL_MEALS],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "PerFSM",
                minValue: BenchmarkCriteria.MinPerFSM,
                maxValue: BenchmarkCriteria.MaxPerFSM
                );

            PercPupilsSenRegisterRangeVm = new BenchmarkCriteriaRangeVM(
                question: SchoolCharacteristicsQuestions.PERCENTAGE_OF_PUPILS_ON_SEN_REGISTER,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.PERCENTAGE_OF_PUPILS_ON_SEN_REGISTER],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "PerSENReg",
                minValue: BenchmarkCriteria.MinPerSENReg,
                maxValue: BenchmarkCriteria.MaxPerSENReg
                );

            PercPupilsWithSenRangeVm = new BenchmarkCriteriaRangeVM(
                question: SchoolCharacteristicsQuestions.PERCENTAGE_OF_PUPILS_WITH_STATEMENT_OF_SEN,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.PERCENTAGE_OF_PUPILS_WITH_STATEMENT_OF_SEN],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "PerSEN",
                minValue: BenchmarkCriteria.MinPerSEN,
                maxValue: BenchmarkCriteria.MaxPerSEN
                );

            PercPupilsWithEalRangeVm = new BenchmarkCriteriaRangeVM(
                question: SchoolCharacteristicsQuestions.PERCENTAGE_OF_PUPILS_WITH_EAL,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.PERCENTAGE_OF_PUPILS_WITH_EAL],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "PerEAL",
                minValue: BenchmarkCriteria.MinPerEAL,
                maxValue: BenchmarkCriteria.MaxPerEAL
                );

            UrbanRuralMultipleChoiceVM = new BenchmarkCriteriaMultipleChoiceVM(
                question: SchoolCharacteristicsQuestions.URBAN_RURAL,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.URBAN_RURAL],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "UrbanRural",
                options: new List <OptionVM>
            {
                new OptionVM("Hamlet and isolated dwelling", "Hamlet and isolated dwelling", BenchmarkCriteria.UrbanRural),
                new OptionVM("Rural and village", "Rural and village", BenchmarkCriteria.UrbanRural),
                new OptionVM("Town and fringe", "Town and fringe", BenchmarkCriteria.UrbanRural),
                new OptionVM("Urban and city", "Urban and city", BenchmarkCriteria.UrbanRural),
                new OptionVM("Conurbation", "Conurbation", BenchmarkCriteria.UrbanRural),
            });

            LondonWeightingMultipleChoiceVM = new BenchmarkCriteriaMultipleChoiceVM(
                question: SchoolCharacteristicsQuestions.LONDON_WEIGHTING,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.LONDON_WEIGHTING],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "LondonWeighting",
                options: new List <OptionVM>
            {
                new OptionVM("Inner", "Inner", BenchmarkCriteria.LondonWeighting),
                new OptionVM("Outer", "Outer", BenchmarkCriteria.LondonWeighting),
                new OptionVM("Neither", "Neither", BenchmarkCriteria.LondonWeighting)
            });

            GovernmentOfficeMultipleChoiceVM = new BenchmarkCriteriaMultipleChoiceVM(
                question: SchoolCharacteristicsQuestions.GOVERNMENT_OFFICE,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.GOVERNMENT_OFFICE],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "GovernmentOffice",
                options: new List <OptionVM>
            {
                new OptionVM("East Midlands", "East Midlands", BenchmarkCriteria.GovernmentOffice),
                new OptionVM("East of England", "East of England", BenchmarkCriteria.GovernmentOffice),
                new OptionVM("London", "London", BenchmarkCriteria.GovernmentOffice),
                new OptionVM("North East", "North East", BenchmarkCriteria.GovernmentOffice),
                new OptionVM("North West", "North West", BenchmarkCriteria.GovernmentOffice),
                new OptionVM("South East", "South East", BenchmarkCriteria.GovernmentOffice),
                new OptionVM("South West", "South West", BenchmarkCriteria.GovernmentOffice),
                new OptionVM("West Midlands", "West Midlands", BenchmarkCriteria.GovernmentOffice),
                new OptionVM("Yorkshire and the Humber", "Yorkshire and the Humber", BenchmarkCriteria.GovernmentOffice)
            });

            PfiMultipleChoiceVM = new BenchmarkCriteriaMultipleChoiceVM(
                question: SchoolCharacteristicsQuestions.PFI,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.PFI],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "Pfi",
                options: new List <OptionVM>
            {
                new OptionVM("Part of PFI", "Part of PFI", BenchmarkCriteria.Pfi),
                new OptionVM("Not part of PFI", "Not Part Of PFI", BenchmarkCriteria.Pfi)
            });

            NumberIn6FormRangeVm = new BenchmarkCriteriaRangeVM(
                question: SchoolCharacteristicsQuestions.NUMBER_IN6_FORM,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.NUMBER_IN6_FORM],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "NoSixthForm",
                minValue: BenchmarkCriteria.MinNoSixthForm,
                maxValue: BenchmarkCriteria.MaxNoSixthForm
                );

            GenderMultipleChoiceVM = new BenchmarkCriteriaMultipleChoiceVM(
                question: SchoolCharacteristicsQuestions.GENDER_OF_PUPILS,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.GENDER_OF_PUPILS],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "Gender",
                options: new List <OptionVM>
            {
                new OptionVM("Boys", "Boys", BenchmarkCriteria.Gender),
                new OptionVM("Girls", "Girls", BenchmarkCriteria.Gender),
                new OptionVM("Mixed", "Mixed", BenchmarkCriteria.Gender)
            }
                );

            LowAgeRangeVm = new BenchmarkCriteriaRangeVM(
                question: SchoolCharacteristicsQuestions.LOWEST_AGE_PUPILS,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.LOWEST_AGE_PUPILS],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "LowestAgePupils",
                minValue: BenchmarkCriteria.MinLowestAgePupils,
                maxValue: BenchmarkCriteria.MaxLowestAgePupils
                );

            HighAgeRangeVm = new BenchmarkCriteriaRangeVM(
                question: SchoolCharacteristicsQuestions.HIGHEST_AGE_PUPILS,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.HIGHEST_AGE_PUPILS],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "HighestAgePupils",
                minValue: BenchmarkCriteria.MinHighestAgePupils,
                maxValue: BenchmarkCriteria.MaxHighestAgePupils
                );

            PercBoardersRangeVm = new BenchmarkCriteriaRangeVM(
                question: SchoolCharacteristicsQuestions.PERCENTAGE_BOARDERS,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.PERCENTAGE_BOARDERS],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "PerBoarders",
                minValue: BenchmarkCriteria.MinPerBoarders,
                maxValue: BenchmarkCriteria.MaxPerBoarders
                );

            AdmissionMultipleChoiceVM = new BenchmarkCriteriaMultipleChoiceVM(
                question: SchoolCharacteristicsQuestions.ADMISSIONS_POLICY,
                homeSchoolValue: this[SchoolCharacteristicsQuestions.ADMISSIONS_POLICY],
                homeSchoolName: BenchmarkSchool.Name,
                elementName: "AdmPolicy",
                options: new List <OptionVM>
            {
                new OptionVM("Comprehensive", "Comprehensive", BenchmarkCriteria.AdmPolicy),
                new OptionVM("Selective", "Selective", BenchmarkCriteria.AdmPolicy),
                new OptionVM("Modern", "Modern", BenchmarkCriteria.AdmPolicy),
                new OptionVM("Non-selective", "Non-selective", BenchmarkCriteria.AdmPolicy),
                new OptionVM("N/A", "N/A", BenchmarkCriteria.AdmPolicy),
            }
                );
        }