Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/missionmatch / internal/platform/bls/profile.go |
| Date | Not specified in source |
| Repository | Janady13/missionmatch |
| Revision | 720d47fae476b0d38477ae4401697d372b1ea2bc |
| Branch | feature/opportunity-to-outcome |
| Path or archive member | internal/platform/bls/profile.go |
| Original SHA-256 | f6ab2c990efaadfc41b217aa6a16cfd54a6223027b30a6e40cc51ee42eec02aa |
| Git blob SHA | b6c5587746ca5b06375471e630a2c601e1fcf808 |
| Reading-copy SHA-256 | f6ab2c990efaadfc41b217aa6a16cfd54a6223027b30a6e40cc51ee42eec02aa |
Every recorded occurrence
These 11 records contain identical original source bytes. Their paths and revisions remain part of the archive.
| Original record | Branch or archive | Revision / identifier | Original location |
|---|---|---|---|
| Janady13/missionmatch / internal/platform/bls/profile.go | feature/opportunity-to-outcome | 720d47fae476b0d38477ae4401697d372b1ea2bc | Open original |
| Janady13/missionmatch / internal/platform/bls/profile.go | collision-deconfliction | 4ee5a09972608ed89f8377c6665542d5f450f0a6 | Open original |
| Janady13/missionmatch / internal/platform/bls/profile.go | m5-price-to-win | 41000ad30fff4129fdaf5ec84e15ba14c27d4890 | Open original |
| Janady13/missionmatch / internal/platform/bls/profile.go | master | 1e9249840a4302ec82e123b9c9cb6f75badea3e4 | Open original |
| Janady13/missionmatch / internal/platform/bls/profile.go | mag-substrate | b82c7100a492dec67dfd1eda6b3f53def859be35 | Open original |
| Janady13/missionmatch / internal/platform/bls/profile.go | time-to-fill-survival | b66e1e505863d4f17741a4b9ede73509e45bd6c6 | Open original |
| Janady13/missionmatch / internal/platform/bls/profile.go | presentation-readiness | eb574acaa29d71ce4d0f852572e87c275c79fdb7 | Open original |
| Janady13/missionmatch / internal/platform/bls/profile.go | vendor-intelligence | fe9796a19c261951d3f2565206c0c1b5ac294465 | Open original |
| Janady13/missionmatch / internal/platform/bls/profile.go | phase2-connectors | e038d4c687aec16f8bd9bc4d907eea14d91f8704 | Open original |
| Janady13/missionmatch / internal/platform/bls/profile.go | feature/aioe-upgrade | 2178e7298d0e5d9af83afa12402fd587f0ba6ed8 | Open original |
| Janady13/missionmatch / internal/platform/bls/profile.go | capture-readiness | bae6af7cb2997e819174a9e9cfff5e16067a1975 | Open original |
Recovered source transcript
Download complete source text ↓129 lines · 4.6 KB
package bls
// The OEWS regional wage baseline, shaped for Galapagos. Each Galapagos cleared role maps to the
// closest detailed OEWS occupation (SOC). CALC labor categories are vendor free text, but OEWS SOC
// codes are standard, so this is a clean, accurate local baseline for the Hawaii and New Mexico work.
// Occupation is one OEWS occupation mapped to a Galapagos role.
type Occupation struct {
SOC string // 6 digit SOC, for example 151212
Title string // OEWS occupation title
Role string // the Galapagos role label
}
// Area is an OEWS state area.
type Area struct {
Code string // 7 digit OEWS area code
Abbr string // HI or NM
Name string // Hawaii or New Mexico
}
// Metric is an OEWS datatype.
type Metric struct {
Datatype string // 04 annual mean, 13 annual median
Name string // annual_mean or annual_median
}
// GalapagosOccupations maps each cleared role to the closest standard OEWS occupation. Computer Systems
// Engineers and Architects has no single detailed SOC, so Computer Network Architects (151241) and
// Software Developers (151252) stand in for the architect and engineer roles.
var GalapagosOccupations = []Occupation{
{SOC: "151212", Title: "Information Security Analysts", Role: "ISSO and Cyber"},
{SOC: "151241", Title: "Computer Network Architects", Role: "Space and Cyber Architect"},
{SOC: "151252", Title: "Software Developers", Role: "Systems Engineer"},
{SOC: "113021", Title: "Computer and Information Systems Managers", Role: "Program Manager"},
{SOC: "151232", Title: "Computer User Support Specialists", Role: "Help Desk and IT Specialist"},
}
// GalapagosAreas are the two states where Galapagos performs.
var GalapagosAreas = []Area{
{Code: "1500000", Abbr: "HI", Name: "Hawaii"},
{Code: "3500000", Abbr: "NM", Name: "New Mexico"},
}
// Metrics are the wage measures pulled.
var Metrics = []Metric{
{Datatype: "04", Name: "annual_mean"},
{Datatype: "13", Name: "annual_median"},
}
// SeriesSpec is a fully described OEWS series to pull.
type SeriesSpec struct {
SeriesID string
OccCode string
OccTitle string
Role string
Area string
AreaName string
Metric string
}
// seriesID builds an OEWS state series id: OEU + S(state) + area + industry 000000 + SOC + datatype.
func seriesID(area, soc, datatype string) string {
return "OEUS" + area + "000000" + soc + datatype
}
// NationalArea is the OEWS national area code (the seven zero area) and NationalIndustry is the all
// industry code (the six zero industry). The national series prefix is OEUN (the N national variant of
// the OEUS state series), not OEUS.
const (
NationalArea = "0000000"
NationalIndustry = "000000"
)
// NationalAreaAbbr and NationalAreaName are the bls_wages area labels for a national row. National OEWS
// data has no Galapagos role, so the national rows carry an empty role and this US area label, distinct
// from the HI and NM state rows the Galapagos baseline writes.
const (
NationalAreaAbbr = "US"
NationalAreaName = "United States"
)
// NationalSeriesID builds an OEWS national series id: OEUN + national area (0000000) + all industry
// (000000) + the six digit SOC + the datatype (04 annual mean, 13 annual median). For SOC 151212 and
// datatype 04 it returns OEUN000000000000015121204, the verified national annual mean series.
func NationalSeriesID(soc, datatype string) string {
return "OEUN" + NationalArea + NationalIndustry + soc + datatype
}
// NationalSeries returns the two national OEWS series specs (annual mean 04 and annual median 13) for one
// detailed SOC occupation. The specs carry the national US area label and an EMPTY role (national OEWS data
// has no Galapagos role), so the national rows are distinct from the HI and NM state rows. The OccTitle is
// the OEWS occupation title from the flat file.
func NationalSeries(soc, title string) []SeriesSpec {
out := make([]SeriesSpec, 0, len(Metrics))
for _, m := range Metrics {
out = append(out, SeriesSpec{
SeriesID: NationalSeriesID(soc, m.Datatype),
OccCode: soc,
OccTitle: title,
Role: "",
Area: NationalAreaAbbr,
AreaName: NationalAreaName,
Metric: m.Name,
})
}
return out
}
// GalapagosSeries returns every OEWS series to pull for the Galapagos baseline.
func GalapagosSeries() []SeriesSpec {
var out []SeriesSpec
for _, a := range GalapagosAreas {
for _, o := range GalapagosOccupations {
for _, m := range Metrics {
out = append(out, SeriesSpec{
SeriesID: seriesID(a.Code, o.SOC, m.Datatype),
OccCode: o.SOC,
OccTitle: o.Title,
Role: o.Role,
Area: a.Abbr,
AreaName: a.Name,
Metric: m.Name,
})
}
}
}
return out
}