my-homelab-configs/apps/nextpath/README.md

69 lines
3.0 KiB
Markdown

# NextPath Arizona
NextPath is a privacy-conscious career exploration application for teenagers
and adults considering a first or different career. The Arizona MVP connects
four kinds of evidence without pretending they are interchangeable:
1. a person's interests and practical preferences;
2. occupations described with O*NET-SOC identifiers;
3. Arizona education, training, and apprenticeship options;
4. Arizona labor-market outlook and recent example job postings.
The product does not calculate a person's probability of being hired. It
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.
Each matched career also shows up to three balanced Arizona study options.
NextPath weighs proximity, reported in-state tuition, admission accessibility,
exact-program completion volume, and institution completion outcomes. This is
a transparent public-data comparison—not a commercial college ranking.
See [the architecture document](../../docs/nextpath-architecture.md) for the
MVP boundaries and delivery slices.
## Deploy
NextPath is a public work in progress. Deploy it from the Debian control plane:
```bash
./jeannie deploy-nextpath
```
The service runs under systemd, stores private account data in
`/data/homelab-nextpath/data`, and exposes only its HTTP port to the tailnet/LAN.
The OCI edge supplies public TLS at `https://nextpath.lab2025.duckdns.org/`.
Redeployments never recreate the account store. Jeannie migrates the original
manual-preview file from `/data/homelab-nextpath/accounts.json` when needed and
writes a mode-0600 pre-deploy backup under `/data/homelab-nextpath/backups`.
## Enable the Arizona employability outlook
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.
The same unattended refresh expands the original 12 curated careers to 75 by
joining O*NET 31.0 interests and descriptions, the official NCES CIP-to-SOC
crosswalk, Arizona IPEDS completions, and Arizona projections. The curated set
remains required and is used as the embedded fallback. Set
`LAB_NEXTPATH_CATALOG_LIMIT` to a value from 12 through 200 before deployment to
change the managed size.
Deploy normally:
```bash
./jeannie deploy-nextpath
```
Deployment refreshes evidence and enables a daily systemd timer. Refreshes are
staged; the catalog, mapping, and evidence are promoted only after the complete
run succeeds, so a source failure preserves the last successful set. Operators
can run `./jeannie nextpath status` or `./jeannie nextpath refresh`. There are
no prompts, tokens, or browser-side source credentials.