Split NextPath employability horizons
Homelab Main / validate (push) Failing after 1m32s Details
Homelab Main / running-update (push) Has been skipped Details
Homelab Main / debian-ops (push) Has been skipped Details

This commit is contained in:
juvenal.diaz 2026-12-05 14:58:43 -06:00
parent 37bc56787a
commit a29f0c385f
6 changed files with 184 additions and 81 deletions

View File

@ -10,10 +10,11 @@ four kinds of evidence without pretending they are interchangeable:
4. Arizona labor-market outlook and recent example job postings.
The product does not calculate a person's probability of being hired. It
publishes a transparent **Arizona employability outlook percentage** comparing
annual completions, projected annual openings, and current occupation postings.
Raw counts, dates, geography, sources, and limitations remain visible beside
the percentage.
publishes transparent **employability today** and **five-year outlook** market
indexes comparing exact Arizona program completions, projected annual openings,
official employment growth, and sampled current occupation postings. Raw
counts, dates, geography, sources, formula inputs, and limitations remain
visible beside both percentages.
See [the architecture document](../../docs/nextpath-architecture.md) for the
MVP boundaries and delivery slices.
@ -35,10 +36,11 @@ writes a mode-0600 pre-deploy backup under `/data/homelab-nextpath/backups`.
## Enable the Arizona employability outlook
Jeannie retrieves all three inputs from public, read-only sources that require
no user or operator account: College Scorecard for annual completions,
Projections Central for Arizona annual openings, and Ayla's public government
hiring feed for a current Arizona posting snapshot.
Jeannie retrieves the inputs from public, read-only sources that require no
user or operator account: three annual IPEDS completion files using exact
six-digit CIP programs, Projections Central for Arizona annual openings and
employment growth, and Ayla's public government hiring feed for a current
Arizona posting snapshot.
Deploy normally:

View File

@ -5,44 +5,59 @@ package opportunity
import (
"errors"
"math"
"sort"
"strconv"
"strings"
"time"
)
const FormulaVersion = "az-employability-outlook-v1"
const FormulaVersion = "az-employability-outlook-v2"
var ErrInsufficientEvidence = errors.New("insufficient evidence for employability outlook")
type Evidence struct {
ArizonaAnnualGraduates int `json:"arizona_annual_graduates"`
ArizonaProjectedOpenings int `json:"arizona_projected_annual_openings"`
ActivePostings int `json:"active_postings"`
GraduateAcademicYear string `json:"graduate_academic_year"`
ProjectionPeriod string `json:"projection_period"`
PostingsObservedAt time.Time `json:"postings_observed_at"`
Geography string `json:"geography"`
SOCToCIPMappingCoverage float64 `json:"soc_to_cip_mapping_coverage"`
GraduateSourceURL string `json:"graduate_source_url"`
ProjectionSourceURL string `json:"projection_source_url"`
PostingSourceURL string `json:"posting_source_url"`
ArizonaAnnualGraduates int `json:"arizona_annual_graduates"`
ArizonaGraduateHistory GraduateHistory `json:"arizona_graduate_history"`
ArizonaProjectedOpenings int `json:"arizona_projected_annual_openings"`
ProjectedEmploymentGrowthPercent float64 `json:"projected_employment_growth_percent"`
ActivePostings int `json:"active_postings"`
GraduateAcademicYear string `json:"graduate_academic_year"`
ProjectionPeriod string `json:"projection_period"`
PostingsObservedAt time.Time `json:"postings_observed_at"`
Geography string `json:"geography"`
SOCToCIPMappingCoverage float64 `json:"soc_to_cip_mapping_coverage"`
GraduateSourceURL string `json:"graduate_source_url"`
ProjectionSourceURL string `json:"projection_source_url"`
PostingSourceURL string `json:"posting_source_url"`
}
type Outlook struct {
FormulaVersion string `json:"formula_version"`
EmployabilityOutlookPercent int `json:"employability_outlook_percent"`
AnnualDemandCoveragePercent int `json:"annual_demand_coverage_percent"`
LivePostingCoveragePercent int `json:"live_posting_coverage_percent"`
AnnualDemandToGraduateRatio float64 `json:"annual_demand_to_graduate_ratio"`
Label string `json:"label"`
Confidence string `json:"confidence"`
Limitations []string `json:"limitations"`
Evidence Evidence `json:"evidence"`
FormulaVersion string `json:"formula_version"`
TodayEmployabilityPercent int `json:"today_employability_percent"`
FiveYearEmployabilityPercent int `json:"five_year_employability_percent"`
AnnualDemandCoveragePercent int `json:"annual_demand_coverage_percent"`
LivePostingCoveragePercent int `json:"live_posting_coverage_percent"`
FiveYearDemandCoveragePercent int `json:"five_year_demand_coverage_percent"`
GrowthSignalPercent int `json:"growth_signal_percent"`
AnnualDemandToGraduateRatio float64 `json:"annual_demand_to_graduate_ratio"`
ThreeYearAverageGraduates int `json:"three_year_average_graduates"`
ProjectedFiveYearGraduates int `json:"projected_five_year_graduates"`
GraduateAnnualTrendPercent float64 `json:"graduate_annual_trend_percent"`
TodayLabel string `json:"today_label"`
FiveYearLabel string `json:"five_year_label"`
Confidence string `json:"confidence"`
Limitations []string `json:"limitations"`
Evidence Evidence `json:"evidence"`
}
// Calculate uses projected annual openings for the stable 75-percent signal
// and a current occupation posting snapshot for the remaining 25 percent.
// The result is market context, not a personal hiring probability.
// Calculate creates two market indexes. Today's index combines projected
// annual openings with a live posting sample against the three-year average of
// exact Arizona CIP completions. The five-year index combines future demand
// coverage against trend-projected graduate supply with the official
// employment-growth projection. Neither index is a hiring probability.
func Calculate(evidence Evidence) (Outlook, error) {
if evidence.ArizonaAnnualGraduates <= 0 || evidence.ArizonaProjectedOpenings < 0 || evidence.ActivePostings < 0 {
average, trend, ok := graduateHistory(evidence.ArizonaGraduateHistory)
if !ok || evidence.ArizonaAnnualGraduates <= 0 || evidence.ArizonaProjectedOpenings < 0 || evidence.ActivePostings < 0 {
return Outlook{}, ErrInsufficientEvidence
}
if evidence.GraduateAcademicYear == "" || evidence.ProjectionPeriod == "" || evidence.PostingsObservedAt.IsZero() || evidence.Geography == "" {
@ -55,11 +70,24 @@ func Calculate(evidence Evidence) (Outlook, error) {
return Outlook{}, ErrInsufficientEvidence
}
annualRatio := float64(evidence.ArizonaProjectedOpenings) / float64(evidence.ArizonaAnnualGraduates)
annualRatio := float64(evidence.ArizonaProjectedOpenings) / float64(average)
liveRatio := float64(evidence.ActivePostings) / float64(evidence.ArizonaAnnualGraduates)
annualCoverage := cappedPercent(annualRatio)
liveCoverage := cappedPercent(liveRatio)
outlookPercent := int(math.Round(float64(annualCoverage)*0.75 + float64(liveCoverage)*0.25))
today := int(math.Round(float64(annualCoverage)*0.75 + float64(liveCoverage)*0.25))
// Supply growth is deliberately capped at +/-10% per year so one unusual
// completion year cannot dominate the five-year result.
projectionTrend := math.Min(0.10, math.Max(-0.10, trend))
projectedGraduates := int(math.Round(float64(evidence.ArizonaAnnualGraduates) * math.Pow(1+projectionTrend, 5)))
if projectedGraduates < 1 {
projectedGraduates = 1
}
futureCoverage := cappedPercent(float64(evidence.ArizonaProjectedOpenings) / float64(projectedGraduates))
// Official growth of -5% maps to zero and +20% maps to 100, with values
// outside that range capped. This makes the scale explicit and stable.
growthSignal := cappedPercent((evidence.ProjectedEmploymentGrowthPercent + 5) / 25)
fiveYear := int(math.Round(float64(futureCoverage)*0.75 + float64(growthSignal)*0.25))
confidence := "lower"
if evidence.SOCToCIPMappingCoverage >= 0.8 {
@ -69,22 +97,72 @@ func Calculate(evidence Evidence) (Outlook, error) {
}
return Outlook{
FormulaVersion: FormulaVersion,
EmployabilityOutlookPercent: outlookPercent,
AnnualDemandCoveragePercent: annualCoverage,
LivePostingCoveragePercent: liveCoverage,
AnnualDemandToGraduateRatio: math.Round(annualRatio*100) / 100,
Label: outlookLabel(outlookPercent),
Confidence: confidence,
FormulaVersion: FormulaVersion,
TodayEmployabilityPercent: today,
FiveYearEmployabilityPercent: fiveYear,
AnnualDemandCoveragePercent: annualCoverage,
LivePostingCoveragePercent: liveCoverage,
FiveYearDemandCoveragePercent: futureCoverage,
GrowthSignalPercent: growthSignal,
AnnualDemandToGraduateRatio: math.Round(annualRatio*100) / 100,
ThreeYearAverageGraduates: average,
ProjectedFiveYearGraduates: projectedGraduates,
GraduateAnnualTrendPercent: math.Round(trend*10000) / 100,
TodayLabel: outlookLabel(today),
FiveYearLabel: outlookLabel(fiveYear),
Confidence: confidence,
Limitations: []string{
"Rough market estimate—not your chance of being hired.",
"Market indexes—not your chance of being hired.",
"Current postings are a changing sample of government and official hiring sources, not the whole Arizona market.",
"Graduate supply is projected from three historical years and cannot predict enrollment, migration, or career changes.",
"Graduates may enter other occupations, and workers may enter without a mapped Arizona program.",
},
Evidence: evidence,
}, nil
}
type GraduateHistory map[string]int
func (history GraduateHistory) String() string {
years := make([]string, 0, len(history))
for year := range history {
years = append(years, year)
}
sort.Strings(years)
parts := make([]string, 0, len(years))
for _, year := range years {
parts = append(parts, year+": "+strconv.Itoa(history[year]))
}
return strings.Join(parts, ", ")
}
func graduateHistory(history map[string]int) (int, float64, bool) {
if len(history) < 3 {
return 0, 0, false
}
years := make([]string, 0, len(history))
total := 0
for year, graduates := range history {
if graduates < 0 {
return 0, 0, false
}
years = append(years, year)
total += graduates
}
sort.Strings(years)
average := int(math.Round(float64(total) / float64(len(years))))
if average <= 0 {
return 0, 0, false
}
oldest := history[years[0]]
latest := history[years[len(years)-1]]
trend := 0.0
if oldest > 0 {
trend = (float64(latest-oldest) / float64(oldest)) / float64(len(years)-1)
}
return average, trend, true
}
func cappedPercent(ratio float64) int {
return int(math.Round(math.Min(1, math.Max(0, ratio)) * 100))
}
@ -92,12 +170,12 @@ func cappedPercent(ratio float64) int {
func outlookLabel(percent int) string {
switch {
case percent >= 80:
return "strong demand relative to recent graduates"
return "strong demand relative to graduate supply"
case percent >= 50:
return "moderate demand relative to recent graduates"
return "moderate demand relative to graduate supply"
case percent >= 25:
return "competitive market"
default:
return "limited visible demand relative to recent graduates"
return "limited visible demand relative to graduate supply"
}
}

View File

@ -8,8 +8,9 @@ import (
func completeEvidence() Evidence {
return Evidence{
ArizonaAnnualGraduates: 1000, ArizonaProjectedOpenings: 800,
ActivePostings: 200, GraduateAcademicYear: "2024-25",
ArizonaAnnualGraduates: 100, ArizonaGraduateHistory: GraduateHistory{"2022": 100, "2023": 100, "2024": 100},
ArizonaProjectedOpenings: 100, ProjectedEmploymentGrowthPercent: 10,
ActivePostings: 50, GraduateAcademicYear: "2024",
ProjectionPeriod: "2024-2034", PostingsObservedAt: time.Date(2026, 12, 5, 12, 0, 0, 0, time.UTC),
Geography: "Arizona", SOCToCIPMappingCoverage: 0.9,
GraduateSourceURL: "https://example.test/graduates", ProjectionSourceURL: "https://example.test/projections",
@ -22,13 +23,13 @@ func TestCalculateShowsTransparentBoundedOutlook(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if outlook.EmployabilityOutlookPercent != 65 {
t.Fatalf("outlook = %d, want 65", outlook.EmployabilityOutlookPercent)
if outlook.TodayEmployabilityPercent != 88 || outlook.FiveYearEmployabilityPercent != 90 {
t.Fatalf("outlooks = today %d, five-year %d; want 88 and 90", outlook.TodayEmployabilityPercent, outlook.FiveYearEmployabilityPercent)
}
if outlook.AnnualDemandCoveragePercent != 80 || outlook.LivePostingCoveragePercent != 20 {
if outlook.AnnualDemandCoveragePercent != 100 || outlook.LivePostingCoveragePercent != 50 {
t.Fatalf("unexpected components: %+v", outlook)
}
if outlook.AnnualDemandToGraduateRatio != 0.8 || outlook.Confidence != "higher" {
if outlook.AnnualDemandToGraduateRatio != 1 || outlook.ThreeYearAverageGraduates != 100 || outlook.ProjectedFiveYearGraduates != 100 || outlook.Confidence != "higher" {
t.Fatalf("unexpected ratio/confidence: %+v", outlook)
}
if len(outlook.Limitations) == 0 {
@ -38,17 +39,33 @@ func TestCalculateShowsTransparentBoundedOutlook(t *testing.T) {
func TestDemandAboveGraduatesRetainsUncappedRatio(t *testing.T) {
evidence := completeEvidence()
evidence.ArizonaProjectedOpenings = 2400
evidence.ActivePostings = 1500
evidence.ArizonaProjectedOpenings = 240
evidence.ActivePostings = 150
outlook, err := Calculate(evidence)
if err != nil {
t.Fatal(err)
}
if outlook.EmployabilityOutlookPercent != 100 || outlook.AnnualDemandToGraduateRatio != 2.4 {
if outlook.TodayEmployabilityPercent != 100 || outlook.AnnualDemandToGraduateRatio != 2.4 {
t.Fatalf("unexpected shortage signal: %+v", outlook)
}
}
func TestFiveYearOutlookUsesHistoricalSupplyTrend(t *testing.T) {
evidence := completeEvidence()
evidence.ArizonaGraduateHistory = GraduateHistory{"2022": 80, "2023": 90, "2024": 100}
outlook, err := Calculate(evidence)
if err != nil {
t.Fatal(err)
}
if outlook.ThreeYearAverageGraduates != 90 || outlook.GraduateAnnualTrendPercent != 12.5 {
t.Fatalf("unexpected historical supply: %+v", outlook)
}
// The projection cap applies 10% annual growth for five years: 100 -> 161.
if outlook.ProjectedFiveYearGraduates != 161 || outlook.FiveYearDemandCoveragePercent != 62 || outlook.FiveYearEmployabilityPercent != 62 {
t.Fatalf("unexpected five-year outlook: %+v", outlook)
}
}
func TestCalculateRefusesMissingOrMisleadingEvidence(t *testing.T) {
cases := []Evidence{completeEvidence(), completeEvidence(), completeEvidence()}
cases[0].ArizonaAnnualGraduates = 0

View File

@ -26,8 +26,9 @@ func TestCompletePrivateAssessmentFlow(t *testing.T) {
opportunityPath := filepath.Join(t.TempDir(), "opportunity.json")
if err := os.WriteFile(opportunityPath, []byte(`{
"version":"v1","generated_at":"2026-12-05T12:00:00Z","occupations":{"13-2011.00":{
"arizona_annual_graduates":100,"arizona_projected_annual_openings":100,"active_postings":50,
"graduate_academic_year":"latest","projection_period":"2022-2032","postings_observed_at":"2026-12-05T12:00:00Z",
"arizona_annual_graduates":100,"arizona_graduate_history":{"2022":100,"2023":100,"2024":100},
"arizona_projected_annual_openings":100,"projected_employment_growth_percent":10,"active_postings":50,
"graduate_academic_year":"2024","projection_period":"2024-2034","postings_observed_at":"2026-12-05T12:00:00Z",
"geography":"Arizona","soc_to_cip_mapping_coverage":0.9,
"graduate_source_url":"https://example.test/graduates","projection_source_url":"https://example.test/projections","posting_source_url":"https://example.test/jobs"
}}}`), 0o600); err != nil {
@ -67,7 +68,7 @@ func TestCompletePrivateAssessmentFlow(t *testing.T) {
response = get(t, client, testServer.URL+"/results")
body := readBody(t, response)
if response.StatusCode != http.StatusOK || !strings.Contains(body, "interest profile") || !strings.Contains(body, "not ability or identity") || !strings.Contains(body, "Careers to explore next") || !strings.Contains(body, "Arizona employability outlook: 88%") {
if response.StatusCode != http.StatusOK || !strings.Contains(body, "interest profile") || !strings.Contains(body, "not ability or identity") || !strings.Contains(body, "Careers to explore next") || !strings.Contains(body, "Employability today: 88%") || !strings.Contains(body, "Five-year outlook: 90%") || !strings.Contains(body, "2022: 100, 2023: 100, 2024: 100") {
t.Fatalf("unexpected results response %d: %s", response.StatusCode, body)
}
response = get(t, client, testServer.URL+"/account/export")

View File

@ -24,4 +24,4 @@ const loginPage = `{{define "content"}}<h1>Continue exploring.</h1><section clas
const assessmentPage = `{{define "content"}}<h1>What sounds interesting, {{.Name}}?</h1><p class="muted">Rate the activity itself—not whether you are already good at it.</p><div class="progress"><span style="width:{{progress .Answered .Total}}%"></span></div><p class="small muted">{{.Answered}} of {{.Total}} answered</p><section class="panel"><h2>{{.Question.Prompt}}</h2><form method="post" action="/assessment"><input type="hidden" name="csrf_token" value="{{.CSRF}}"><input type="hidden" name="question_id" value="{{.Question.ID}}"><div class="answers">{{range $value := seq}}<label><input type="radio" name="answer" value="{{$value}}" required>{{$value}}</label>{{end}}</div><div class="answers small muted"><span>Not interested</span><span></span><span>Unsure</span><span></span><span>Very interested</span></div><button type="submit">Save and continue</button></form></section>{{end}}`
const resultsPage = `{{define "content"}}<h1>Your current interest profile</h1><p>Hello {{.Name}}. Your three-letter exploration code is <code>{{.Result.Code}}</code>.</p><section class="panel">{{range .Result.Scores}}<div class="score"><strong>{{.Dimension}}</strong><div class="bar"><span style="width:{{.Percent}}%"></span></div><span>{{.Percent}}%</span></div>{{end}}</section><section class="panel"><h2>Careers to explore next</h2><p class="muted">Interest fit and Arizona market outlook are separate signals. The market percentage is a rough demand-to-completions comparison, not your probability of being hired.</p>{{range .Matches}}<article class="panel"><div class="small muted">O*NET-SOC {{.Occupation.ONETSOC}} · interest fit {{.FitScore}}%</div><h3>{{.Occupation.Title}}</h3><p>{{.Occupation.Summary}}</p><p>{{.Reason}}</p>{{if .Outlook}}<div class="outlook"><strong>Arizona employability outlook: {{.Outlook.EmployabilityOutlookPercent}}%</strong><p>{{.Outlook.Label}} · {{.Outlook.Confidence}} evidence confidence</p><p class="small">{{.Outlook.Evidence.ArizonaProjectedOpenings}} projected openings/year and {{.Outlook.Evidence.ActivePostings}} sampled current postings, compared with {{.Outlook.Evidence.ArizonaAnnualGraduates}} recent Arizona completions. Demand-to-completions ratio: {{.Outlook.AnnualDemandToGraduateRatio}}.</p><p class="small muted">Formula: 75% projected annual demand coverage + 25% current posting coverage. The posting sample covers government and official hiring sources, not the whole Arizona market. Snapshot {{.Outlook.Evidence.PostingsObservedAt.Format "Jan 2, 2006"}}.</p><div class="small"><a href="{{.Outlook.Evidence.GraduateSourceURL}}" rel="noreferrer">Completion source</a> · <a href="{{.Outlook.Evidence.ProjectionSourceURL}}" rel="noreferrer">Projection source</a> · <a href="{{.Outlook.Evidence.PostingSourceURL}}" rel="noreferrer">Posting source</a></div></div>{{else}}<p class="muted"><strong>Arizona employability outlook unavailable.</strong> Complete source evidence has not been refreshed for this occupation; no percentage is estimated.</p>{{end}}<p><strong>Try it first:</strong> {{.Occupation.TryFirst}}</p><a href="{{.Occupation.SourceURL}}" rel="noreferrer">Review the O*NET occupation profile</a></article>{{end}}</section><section class="panel"><h2>How to use this</h2><p>{{.Result.InstrumentNotice}}</p><p class="muted">Confidence: {{.Result.Confidence}}. This describes interests, not ability or identity. Market outlook is contextual evidence, not a hiring promise.</p></section><div class="actions"><a class="button" href="/account/export">Export my data</a><form method="post" action="/logout"><input type="hidden" name="csrf_token" value="{{.CSRF}}"><button class="secondary">Sign out</button></form></div><section class="panel"><h2>Delete account</h2><form method="post" action="/account/delete"><input type="hidden" name="csrf_token" value="{{.CSRF}}"><label for="confirm">Type DELETE</label><input id="confirm" name="confirm" required><button class="secondary" type="submit">Delete profile and answers</button></form></section>{{end}}`
const resultsPage = `{{define "content"}}<h1>Your current interest profile</h1><p>Hello {{.Name}}. Your three-letter exploration code is <code>{{.Result.Code}}</code>.</p><section class="panel">{{range .Result.Scores}}<div class="score"><strong>{{.Dimension}}</strong><div class="bar"><span style="width:{{.Percent}}%"></span></div><span>{{.Percent}}%</span></div>{{end}}</section><section class="panel"><h2>Careers to explore next</h2><p class="muted">Interest fit and Arizona market outlook are separate signals. These percentages are market indexes, not your probability of being hired.</p>{{range .Matches}}<article class="panel"><div class="small muted">O*NET-SOC {{.Occupation.ONETSOC}} · interest fit {{.FitScore}}%</div><h3>{{.Occupation.Title}}</h3><p>{{.Occupation.Summary}}</p><p>{{.Reason}}</p>{{if .Outlook}}<div class="outlook"><h4>Arizona market evidence</h4><p><strong>Employability today: {{.Outlook.TodayEmployabilityPercent}}%</strong> · {{.Outlook.TodayLabel}}</p><p><strong>Five-year outlook: {{.Outlook.FiveYearEmployabilityPercent}}%</strong> · {{.Outlook.FiveYearLabel}}</p><p class="small">{{.Outlook.Evidence.ArizonaProjectedOpenings}} projected openings/year and {{.Outlook.Evidence.ActivePostings}} sampled current postings. Arizona exact-program completions: {{.Outlook.Evidence.ArizonaGraduateHistory}}; three-year average {{.Outlook.ThreeYearAverageGraduates}}. Demand-to-average-graduates ratio: {{.Outlook.AnnualDemandToGraduateRatio}}.</p><p class="small">Official projected employment growth: {{.Outlook.Evidence.ProjectedEmploymentGrowthPercent}}%. Historical graduate trend: {{.Outlook.GraduateAnnualTrendPercent}}%/year; modeled five-year graduate supply: {{.Outlook.ProjectedFiveYearGraduates}}.</p><p class="small muted">Today = 75% projected annual demand coverage + 25% sampled current posting coverage. Five-year = 75% projected demand coverage against trend-modeled supply + 25% official employment-growth signal. Supply trend is capped at ±10%/year; official growth from -5% to +20% maps to the 0–100 growth signal. {{.Outlook.Confidence}} evidence confidence. Snapshot {{.Outlook.Evidence.PostingsObservedAt.Format "Jan 2, 2006"}}.</p><div class="small"><a href="{{.Outlook.Evidence.GraduateSourceURL}}" rel="noreferrer">Completion source</a> · <a href="{{.Outlook.Evidence.ProjectionSourceURL}}" rel="noreferrer">Projection source</a> · <a href="{{.Outlook.Evidence.PostingSourceURL}}" rel="noreferrer">Posting source</a></div></div>{{else}}<p class="muted"><strong>Arizona employability outlook unavailable.</strong> Complete source evidence has not been refreshed for this occupation; no percentage is estimated.</p>{{end}}<p><strong>Try it first:</strong> {{.Occupation.TryFirst}}</p><a href="{{.Occupation.SourceURL}}" rel="noreferrer">Review the O*NET occupation profile</a></article>{{end}}</section><section class="panel"><h2>How to use this</h2><p>{{.Result.InstrumentNotice}}</p><p class="muted">Confidence: {{.Result.Confidence}}. This describes interests, not ability or identity. Market indexes are contextual evidence, not a hiring promise.</p></section><div class="actions"><a class="button" href="/account/export">Export my data</a><form method="post" action="/logout"><input type="hidden" name="csrf_token" value="{{.CSRF}}"><button class="secondary">Sign out</button></form></div><section class="panel"><h2>Delete account</h2><form method="post" action="/account/delete"><input type="hidden" name="csrf_token" value="{{.CSRF}}"><label for="confirm">Type DELETE</label><input id="confirm" name="confirm" required><button class="secondary" type="submit">Delete profile and answers</button></form></section>{{end}}`

View File

@ -52,22 +52,26 @@ validated scoring formula.
### Arizona employability outlook
The initial zero-to-100 percentage is a transparent market comparison. It
answers, approximately, "how much Arizona demand is visible relative to the
number of people completing relevant programs?" It does not account for an
individual's grades, experience, interview performance, network, work
authorization, or employer decisions.
NextPath publishes two zero-to-100 market indexes. **Employability today** asks
what the Arizona market would look like for someone completing the mapped
program now. **Five-year outlook** estimates the market at that horizon. They
do not account for an individual's grades, experience, interview performance,
network, work authorization, or employer decisions and are not hiring
probabilities.
| Component | Weight | Evidence |
| --- | ---: | --- |
| Annual demand coverage | 75 | Projected annual Arizona openings divided by annual Arizona completers |
| Live posting coverage | 25 | Current occupation postings divided by annual Arizona completers |
| Index | Component | Weight | Evidence |
| --- | --- | ---: | --- |
| Today | Annual demand coverage | 75 | Projected annual Arizona openings divided by the three-year average of exact six-digit CIP completions |
| Today | Live posting coverage | 25 | Sampled current occupation postings divided by latest exact six-digit CIP completions |
| Five year | Future demand coverage | 75 | Projected annual openings divided by completion supply projected five years from its three-year trend |
| Five year | Employment growth signal | 25 | Official projected occupation growth, with -5% mapped to 0 and +20% mapped to 100 |
Each coverage value is capped at 100 before weighting. The UI also shows the
uncapped annual openings-to-graduates ratio, so a shortage is not hidden when
demand exceeds supply. Current postings are a volatile snapshot and influence
only 25 percent of the result. The application displays all three raw counts:
annual graduates, projected annual openings, and active postings today.
Coverage values are capped at 100 before weighting. Graduate supply uses three
IPEDS award years. Its annual trend is capped at plus or minus 10 percent before
the five-year projection, preventing one unusual completion year from
dominating the result. The UI shows the uncapped demand-to-average-graduates
ratio, all historical completion counts, modeled future supply, official job
growth, projected openings, and sampled active postings.
Each component includes its observation date, geography, source URL, mapping
coverage, and confidence value. Missing evidence makes the percentage
@ -83,7 +87,7 @@ from:
- O*NET Web Services and the Interest Profiler;
- Arizona Office of Economic Opportunity projections;
- BLS OEWS wage and employment data;
- College Scorecard field-of-study data;
- IPEDS annual completion files with exact six-digit CIP programs;
- Arizona CTE and registered apprenticeship directories;
- Ayla's public feed of government and official-source job postings.
@ -92,13 +96,14 @@ Job listings are short-lived examples, are linked to their publisher, and do
not become training data or evidence of guaranteed employment.
Jeannie refreshes the cache daily without credentials or prompts. It combines
the public College Scorecard API, Department of Labor-sponsored Projections
Central state projections, and Ayla's public feed of government and official
hiring sources. The posting count is therefore a visible sample, not the whole
Arizona job market. A refresh replaces the cache atomically only after every
catalog occupation has all three inputs; failures preserve the last successful
snapshot. With no complete snapshot, the results page says the outlook is
unavailable rather than presenting a synthetic percentage.
public IPEDS annual files, Department of Labor-sponsored Projections Central
state projections, and Ayla's public feed of government and official hiring
sources. Downloaded IPEDS files are cached on the Debian host. The posting count
is therefore a visible sample, not the whole Arizona job market. A refresh
replaces the cache atomically only after every catalog occupation has complete
inputs; failures preserve the last successful snapshot. With no complete
snapshot, the results page says the outlook is unavailable rather than
presenting a synthetic percentage.
## Recommendation boundary