Skip to content

Commit

Permalink
Merge pull request #27 from nsip/fixes-202200608
Browse files Browse the repository at this point in the history
Fixes 202200608
  • Loading branch information
opoudjis authored Sep 28, 2022
2 parents 8e6b76d + 38b873e commit 93778d5
Show file tree
Hide file tree
Showing 11 changed files with 391 additions and 69 deletions.
115 changes: 115 additions & 0 deletions cmd/nrt/config/StudentProficiency.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@

[usage]
reportName = "Student proficiency report"
activated = true
outputFileName = "./out/system_reports/studentProficiency.csv"

# Order of fields below is left to right order
# columns will appear in final output, can be changed as needed.
# Double brackets required to ensure map is created as array to preserve order
# commenting out a key/value pair will remove that column from the
# final report
#
[[fields]]
"School" = "CalculatedFields.SchoolId"
[[fields]]
"YrLevel" = "CalculatedFields.YrLevel"
[[fields]]
"Domain" = "CalculatedFields.Domain"
#
# fields above are for report splitting
#

[[fields]]
"Jurisdiction" = "StudentPersonal.OtherIdList.OtherId.#[Type==JurisdictionId].value"
[[fields]]
"ASL School ID" = "SchoolInfo.ACARAId"
[[fields]]
"School name" = "SchoolInfo.SchoolName"
[[fields]]
"Local Campus ID" = "SchoolInfo.Campus.SchoolCampusId"
[[fields]]
"School Suburb" = "SchoolInfo.AddressList.Address.0.City"
[[fields]]
"School Post Code" = "SchoolInfo.AddressList.Address.0.PostalCode"
[[fields]]
"School Local ID" = "SchoolInfo.LocalId"
[[fields]]
"Main School Flag" = "StudentPersonal.MostRecent.MembershipType"
[[fields]]
"Other School ID" = "StudentPersonal.MostRecent.OtherEnrollmentSchoolACARAId"
[[fields]]
"Other School Name" = "StudentPersonal.MostRecent.OtherSchoolName"
[[fields]]
"Reporting School ID" = "StudentPersonal.MostRecent.ReportingSchoolId"
[[fields]]
"PSI" = "StudentPersonal.OtherIdList.OtherId.#[Type==NAPPlatformStudentId].value"
[[fields]]
"Local School Student ID" = "StudentPersonal.LocalId"
[[fields]]
"Surname" = "StudentPersonal.PersonInfo.Name.FamilyName"
[[fields]]
"First Name" = "StudentPersonal.PersonInfo.Name.GivenName"
[[fields]]
"Middle Name" = "StudentPersonal.PersonInfo.Name.MiddleName"
[[fields]]
"Preferred Name" = "StudentPersonal.PersonInfo.Name.PreferredGivenName"
[[fields]]
"DOB" = "StudentPersonal.PersonInfo.Demographics.BirthDate"
[[fields]]
"Sector Student ID" = "StudentPersonal.OtherIdList.OtherId.#[Type==SectorStudentId].value"
[[fields]]
"Diocesan Student ID" = "StudentPersonal.OtherIdList.OtherId.#[Type==DiocesanStudentId].value"
[[fields]]
"TAA Student ID" = "StudentPersonal.OtherIdList.OtherId.#[Type==TAAStudentId].value"
[[fields]]
"Jurisdiction Student ID" = "StudentPersonal.StateProvinceId"
[[fields]]
"Test Year" = "CalculatedFields.Reading.NAPTest.TestContent.TestYear"
[[fields]]
"Year Level" = "StudentPersonal.MostRecent.YearLevel.Code"
[[fields]]
"Test Level" = "StudentPersonal.MostRecent.TestLevel.Code"
[[fields]]
"Class Group" = "StudentPersonal.MostRecent.ClassCode"
[[fields]]
"Participation Code: Numeracy" = "CalculatedFields.Numeracy.NAPEventStudentLink.ParticipationCode"
[[fields]]
"Participation Code: Reading" = "CalculatedFields.Reading.NAPEventStudentLink.ParticipationCode"
[[fields]]
"Participation Code: Writing" = "CalculatedFields.Writing.NAPEventStudentLink.ParticipationCode"
[[fields]]
"Participation Code: G&P" = "CalculatedFields.GrammarAndPunctuation.NAPEventStudentLink.ParticipationCode"
[[fields]]
"Participation Code: Spelling" = "CalculatedFields.Spelling.NAPEventStudentLink.ParticipationCode"
[[fields]]
"Scaled Score: Numeracy" = "CalculatedFields.Numeracy.NAPStudentResponseSet.DomainScore.ScaledScoreValue"
[[fields]]
"Scaled Score: Reading" = "CalculatedFields.Reading.NAPStudentResponseSet.DomainScore.ScaledScoreValue"
[[fields]]
"Scaled Score: Writing" = "CalculatedFields.Writing.NAPStudentResponseSet.DomainScore.ScaledScoreValue"
[[fields]]
"Scaled Score: G&P" = "CalculatedFields.GrammarAndPunctuation.NAPStudentResponseSet.DomainScore.ScaledScoreValue"
[[fields]]
"Scaled Score: Spelling" = "CalculatedFields.Spelling.NAPStudentResponseSet.DomainScore.ScaledScoreValue"
[[fields]]
"Student Band: Numeracy" = "CalculatedFields.Numeracy.NAPStudentResponseSet.DomainScore.StudentDomainBand"
[[fields]]
"Student Band: Reading" = "CalculatedFields.Reading.NAPStudentResponseSet.DomainScore.StudentDomainBand"
[[fields]]
"Student Band: Writing" = "CalculatedFields.Writing.NAPStudentResponseSet.DomainScore.StudentDomainBand"
[[fields]]
"Student Band: G&P" = "CalculatedFields.GrammarAndPunctuation.NAPStudentResponseSet.DomainScore.StudentDomainBand"
[[fields]]
"Student Band: Spelling" = "CalculatedFields.Spelling.NAPStudentResponseSet.DomainScore.StudentDomainBand"
[[fields]]
"Student Proficiency: Numeracy" = "CalculatedFields.Numeracy.NAPStudentResponseSet.DomainScore.StudentProficiency"
[[fields]]
"Student Proficiency: Reading" = "CalculatedFields.Reading.NAPStudentResponseSet.DomainScore.StudentProficiency"
[[fields]]
"Student Proficiency: Writing" = "CalculatedFields.Writing.NAPStudentResponseSet.DomainScore.StudentProficiency"
[[fields]]
"Student Proficiency: G&P" = "CalculatedFields.GrammarAndPunctuation.NAPStudentResponseSet.DomainScore.StudentProficiency"
[[fields]]
"Student Proficiency: Spelling" = "CalculatedFields.Spelling.NAPStudentResponseSet.DomainScore.StudentProficiency"

39 changes: 20 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,39 @@ module github.com/nsip/dev-nrt
go 1.16

require (
github.com/DataDog/zstd v1.4.8 // indirect
github.com/PuerkitoBio/goquery v1.6.1
github.com/andybalholm/cascadia v1.2.0 // indirect
github.com/antchfx/xpath v1.1.11 // indirect
github.com/clipperhouse/jargon v1.0.7
github.com/clipperhouse/uax29 v1.6.8 // indirect
github.com/dgraph-io/badger/v2 v2.2007.2
github.com/dgraph-io/ristretto v0.0.3 // indirect
github.com/PuerkitoBio/goquery v1.8.0
github.com/antchfx/xpath v1.2.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/clipperhouse/jargon v1.0.9
github.com/clipperhouse/segment v0.9.2 // indirect
github.com/clipperhouse/uax29 v1.12.4 // indirect
github.com/dgraph-io/badger/v2 v2.2007.4
github.com/dgraph-io/ristretto v0.1.0 // indirect
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
github.com/fatih/color v1.10.0 // indirect
github.com/fatih/set v0.2.1
github.com/golang/glog v1.0.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/snappy v0.0.3 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/gosuri/uiprogress v0.0.1
github.com/iancoleman/strcase v0.1.3
github.com/json-iterator/go v1.1.11
github.com/iancoleman/strcase v0.2.0
github.com/json-iterator/go v1.1.12
github.com/klauspost/compress v1.15.9 // indirect
github.com/mattn/go-runewidth v0.0.12 // indirect
github.com/microcosm-cc/bluemonday v1.0.20 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/nats-io/nuid v1.0.1
github.com/nsip/dev-nrt-splitter v1.0.0
github.com/nsip/sifxml2go v0.0.0-20210301053240-e6ece7304c58
github.com/pelletier/go-toml v1.9.1
github.com/pkg/errors v0.9.1 // indirect
github.com/nsip/dev-nrt-splitter v1.0.1
github.com/nsip/sifxml2go v0.0.0-20220414080417-b4d923876df7
github.com/pelletier/go-toml v1.9.5
github.com/rivo/uniseg v0.2.0 // indirect
github.com/subchen/go-xmldom v1.1.2
github.com/tamerh/xml-stream-parser v1.4.0
github.com/tamerh/xpath v1.0.0 // indirect
github.com/tidwall/gjson v1.12.1
github.com/tidwall/gjson v1.14.1
github.com/tidwall/sjson v1.2.4
golang.org/x/net v0.0.0-20210510120150-4163338589ed // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/cheggaaa/pb.v1 v1.0.28
gopkg.in/fatih/set.v0 v0.2.1
)
Loading

0 comments on commit 93778d5

Please sign in to comment.