Skip to content

feat(etl)!: merge duplicate skills, data-v4 and model-v4 - #41

Merged
AtulACleaver merged 2 commits into
mainfrom
atul/taxonomy-v4
Oct 5, 2026
Merged

AtulACleaver merged 2 commits into
mainfrom
atul/taxonomy-v4

Conversation

@AtulACleaver

Copy link
Copy Markdown
Owner

Summary

This PR applies taxonomy v4 merges to eliminate duplicate skills from the vocabulary, filters non-learnable roles/fragments from gap recommendations, and introduces display overrides.

Contract note: docs/contracts.md was updated in this PR to freeze on data-v4 and update contract persona values.

Key Changes

  1. Non-learnable filtering (Part A):
    • Added taxonomy/non_learnable.txt with 98 curated non-skill tokens.
    • Updated mining/gap.py to drop non-learnable items and skip redundant recommendations where candidate skills match user skills bidirectionally.
  2. Display overrides:
    • Added taxonomy/display_overrides.csv with canonical casing (e.g. Node.js, scikit-learn, CI/CD, NLP, ITIL, UI, Generative AI, API Testing, MVVM, WAN, DNS, Azure DevOps, SAP S/4HANA, UX, UI/UX).
  3. Duplicate skill merges (Part B):
    • Added duplicate merge pairs in taxonomy/skill_aliases.csv and documented them in docs/taxonomy_v4_merges.csv.
    • Reduced duplicate groups from 28 to 0 in artifacts/skill_vocab.json, verified by scripts/find_duplicate_skills.py.
  4. Serving-path alignment:
    • Verified that artifacts/model.json vocab_sha256 matches artifacts/skill_vocab.json sha256.
    • Verified serving path evaluation matches artifacts/metrics.json test accuracy (0.7527) and test macro-F1 (0.7499) to 4 decimal places.
    • Verified 0 mismatches across 50 random test postings between serving path prediction and artifacts/classifier.pkl.
    • Added test_serving_path_evaluation to tests/test_runtime.py.

Side-by-Side Persona Comparison

Contract Personas

Persona Desired Role v3 Baseline v4 Result Status
1. sql, excel, power bi, tableau Data / BI Analyst N/A (new) Match: Data / BI Analyst (0.9733), Readiness: 0.9733 (Close) Fixed target role
2. java, spring boot, mysql, docker Backend Match: Backend (0.6942), Readiness: 0.6942 (Close) Match: Backend (0.7520), Readiness: 0.7520 (Close) Aligned
3. react, javascript, html, css Full Stack Match: Frontend (0.7072), Readiness: 0.2588 (Not yet) Match: Frontend (0.7369), Readiness: 0.2395 (Not yet) Aligned
4. python, sql, pandas (known limitation) Data / BI Analyst Match: Data / BI Analyst (0.4313), Readiness: 0.4313 (Close) Match: Backend (0.4906), Readiness: 0.1080 (Not yet) Documented limitation

Gap Recommendation Junk Count

  • v3 Baseline: 5 junk recommendations out of 15 across contract personas (e.g. 'Full Stack', 'Stack', 'Fullstack Development', 'Java Fullstack').
  • v4 Result: 0 junk recommendations out of 50 across all 10 evaluated personas in scripts/persona_check.py.

Metrics Comparison

From artifacts/metrics.json and artifacts/rules.json:

Metric v3 Baseline v4 Result Delta
Duplicate groups left 28 0 -28
Persona junk count 5 / 15 0 / 50 -5
Full-input test accuracy 0.7463 0.7527 +0.0064
Full-input test macro-F1 0.7424 0.7499 +0.0075
Top-3 test accuracy 0.9248 0.9254 +0.0006
Calibration ECE 0.0133 0.0120 -0.0013
Association rules count 336 231 -105

Releases Created

  • data-v4: dataset.parquet (sha256: e156da87c509e99cadd4ffd73b58c25c65989dbaebd27e9f2be404e4e02fafe8), baskets.parquet (sha256: 6d82d1cf6c743f371e87f7ec903a472c65a4f3406e68a5a59f461c0ed9c4c33d)
  • model-v4: classifier.pkl (sha256: a802525644e6cc6f7e76e2875b3e3997cf6009c40924a7b1e5bf0982b88a63eb), label_encoder.pkl (sha256: b267b408e9b0b9be719c9cfde23858ae9f94780c0a2ef584e61f1252ea31454e)
  • rules-v2: rules.parquet (sha256: 02675417294d4620ea0ebf4dd4592cdeda9c99ff4c4916f4e8cfd8f3366c92bf)

Verification

  • ruff check .: passed
  • pytest -q: 30 passed
  • npm run build inside frontend/: passed
  • scripts/smoke.sh: passed

Copilot AI balanced review requested due to automatic review settings October 5, 2026 18:50
@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
skillgraph Ready Ready Preview Oct 5, 2026 7:09pm UTC
skillgraph-api Ready Ready Preview Oct 5, 2026 7:09pm UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

This branch was successfully deployed

2 active deployments
Preview – skillgraph — 06a248ce Deployed Oct 5, 2026 by vercel[bot]
Preview – skillgraph-api — 06a248ce Deployed Oct 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants