JobAfterNext
LiveWhich jobs could you move into next, and how would you get there?
Enter the job you have, the job you want and where you live, and get a three-part plan: your pay and the similar jobs near it, the job you want next to yours, and the stepping stones, skill gaps and software between them. Built from the O*NET 31.0 occupation database and BLS wage estimates for May 2025.

Case study
How it was built, tested, and where it stops
The problem
O*NET rates every US occupation on the same 120 skills, knowledge areas and abilities, and BLS publishes what each one pays by place. JobAfterNext joins the two into one graph, so a person can ask which jobs are close to theirs, which are one skill away, and what a move would pay where they live, and see how every answer was reached.
How it works
- A staged pipeline (fetch, build, analyze, export, serve) passes Parquet files between stages. The build checks every reference and refuses to continue on an edge that points at nothing.
- The graph has 7 node types and 8 relationship types, loaded into LadybugDB, an embedded graph database that is read-only when the site serves it.
- Similarity is the cosine of importance times level across all 120 ratings. It was chosen by measuring each variant against O*NET's own related-occupation lists: 0.654 agreement, against 0.579 standardized and 0.582 for level alone.
- Search is rule-based. A typed question becomes a template plus resolved codes, the page shows that interpretation, and Cypher answers it.
- Server-rendered FastAPI pages on Cloud Run, scaling to zero. The container build rebuilds the graph inside the image, so the database file always matches the engine version and CPU.
Decisions, and why
- An embedded graph instead of a Neo4j server.
- About 1,000 occupations and a few hundred thousand edges is small. A server would be operational weight with no payoff, and keeping Cypher in two modules keeps a change of engine cheap.
- "One skill away" limited to the 50 most similar jobs, with no step up in Job Zone.
- Without those limits the test matched about 100 unrelated jobs, and nurses came out one skill away from Dermatologists.
- An ambiguous title becomes a choice, never a guess.
- "Data analyst" maps to 8 O*NET occupations, so the person chooses which one they mean, and the page shows what each search term resolved to.
- Wages that BLS withholds as very high are never given a number.
- The withheld marker is not a fixed cap: the same files publish wages up to $946,560, so any figure would be invented.
- No language model writes queries or produces figures.
- Numbers stay deterministic and every figure comes from the graph.
Testing and validation
- 135 automated tests, run with pytest. There is no CI pipeline.
- 109 of them run on small fixtures in the real file shapes. The other 26 run against the built data and pin real results: the 0.654 similarity agreement, the 12 jobs one skill away from Business Intelligence Analysts, and that Dermatologists stay out of a nurse's list unless the Job Zone limit is relaxed.
- The export must pass SQLite's foreign-key and integrity checks before it replaces the previous one, and a script checks the live pages after each deploy.
Limitations
- Similarity, "one skill away", software to learn and "pays more" are JobAfterNext's own definitions. Agreement with O*NET's lists is agreement, not accuracy.
- 106 of the 1,016 occupations have no ratings, and 21 have no BLS wage estimate.
- Experience, licences and degrees are not measured: O*NET skill levels do not cover them. Routes between jobs include sideways moves and pay cuts, so they are not promotion paths.
- BLS wage estimates are one snapshot, not a time series, and the thresholds behind "one skill away" are still judgment calls.
Built by directing AI coding agents, with acceptance testing done by hand. How I build
What it does
- One graph of 1,016 occupations, 120 skills, knowledge areas and abilities, 8,753 software products, 2,087 work activities and wages for 585 places: about 457,000 edges.
- Similarity is computed, not looked up: each occupation is compared with every other across all 120 ratings, and the 50 closest are stored as edges. Paths between jobs follow the related occupations O*NET publishes.
- "One skill away" has a stated definition, and every result shows the skill and the gap that qualified it. The definition was tightened after testing on real data, when nurses came out one skill away from Dermatologists.
- Ambiguous titles become a choice, never a guess: "data analyst" is not an O*NET occupation and appears under 8 of them.
- Every wage says where it comes from. A specialty that BLS does not publish separately shows its parent occupation's wage, labelled, and wages BLS withholds as very high are never given a number.
- Search turns a question into a structured query shown on the page, so every figure comes from the graph. The graph database is embedded and read-only, baked into the container: no database server.
Similarity, "one skill away", skill gaps and the software suggestions are JobAfterNext definitions, not O*NET or BLS findings. Includes information from the O*NET 31.0 Database by USDOL/ETA, used under CC BY 4.0 and modified by NeoDataLabs; O*NET® is a trademark of USDOL/ETA.
A question, in Cypher
The similar jobs that are exactly one skill away. From the JobAfterNext source.
MATCH (a:Occupation)-[s:SIMILAR_TO]->(b:Occupation)
WHERE a.code = $code AND s.rank <= $k AND b.job_zone <= a.job_zone + $step
MATCH (b)-[rb:REQUIRES]->(d:Descriptor)
WHERE d.kind IN ['essential_skill', 'transferable_skill']
AND rb.importance >= $imp AND rb.level IS NOT NULL
OPTIONAL MATCH (a)-[ra:REQUIRES]->(d)
WITH b, s, d, rb.level - coalesce(ra.level, 0.0) AS gap
WHERE gap > $gap
WITH b, s, count(d) AS gaps, collect(d.name) AS skills, max(gap) AS gap
WHERE gaps = 1
RETURN b.code AS code, b.title AS title, b.job_zone AS job_zone,
s.score AS similarity, skills, gap
ORDER BY similarity DESC, code