Add AI Opportunity layers: Advantage, Growth, and composite#14
Open
sidneyhori wants to merge 1 commit intokarpathy:masterfrom
Open
Add AI Opportunity layers: Advantage, Growth, and composite#14sidneyhori wants to merge 1 commit intokarpathy:masterfrom
sidneyhori wants to merge 1 commit intokarpathy:masterfrom
Conversation
The existing Digital AI Exposure layer answers one question — how much will AI reshape a job — but that framing skews negative. A high score feels like a threat. We wanted additional lenses that capture the positive side: how much can workers *benefit* from AI, and how much will AI *grow* demand for their occupation. Three new scoring layers, added alongside (not replacing) exposure: - AI Advantage (0-10): how much can a worker amplify productivity by adopting AI tools? High = early adopters gain a big edge. - AI Growth (0-10): how much will AI expand demand or create new roles? High = AI unlocks new markets for this occupation. - AI Opportunity (0-10): composite average of Advantage + Growth. Implementation: - score.py: --metric flag (exposure|advantage|growth) with dedicated LLM prompts and separate output files per metric - build_site_data.py: merges all score files, computes composite - site/index.html: 3 new layer buttons, green-positive color scale, stats dashboards, enriched tooltips showing all AI scores - make_prompt.py: adds opportunity columns to the markdown report Fully additive — no changes to existing exposure pipeline or UI. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The existing "Digital AI Exposure" layer captures how much AI will reshape a job — but that single lens skews negative. A software developer scoring 9/10 feels alarming, even though demand for developers may actually grow. We wanted additional lenses to explore the positive side of AI's impact on occupations:
These complement rather than replace the existing exposure layer. Together, the four AI layers let you explore questions like: which occupations are highly exposed but also have high opportunity?
Changes
score.py: Added--metricCLI flag (exposure|advantage|growth) with dedicated LLM prompts and separate output files per metric. Default (exposure) behavior is unchanged.build_site_data.py: Mergesscores_advantage.jsonandscores_growth.jsonalongside existingscores.json, computes composite opportunity score. Gracefully handles missing files.site/index.html: 3 new layer toggle buttons, reuses the existing green↔red color scale (flipped: green = high = good), new stats dashboards, tooltips show all AI scores when hovering in any AI layer.make_prompt.py: Adds Advantage, Growth, Opportunity columns to the markdown report when score data is available.Fully additive — zero changes to the existing exposure pipeline, UI, or data format.
Test plan
uv run python score.py(no args) still works exactly as beforeuv run python score.py --metric advantage --start 0 --end 10scores 10 occupationsuv run python score.py --metric growth --start 0 --end 10scores 10 occupationsuv run python build_site_data.pymerges all score files intosite/data.jsonsite/index.htmlSidney Hori Hawthorne
X: @sid_hori
linkedin: https://www.linkedin.com/in/sidney-hori/
sidney@aeonixtech.com
🤖 Generated with Claude Code