For the project report

Method

How each project objective maps onto the prototype, the rules the analysis uses, and what the system can't do yet.

Objectives → prototype

  1. Research: background on AI career guidance, portfolio analysis, LLMs and RAG (report chapter; this page records the design choices).
  2. Portfolio and role data: synthetic portfolios (typed in, imported as JSON, or read from a PDF/Word CV) and role requirements and job adverts in Data/*.json.
  3. Requirements and design: evidence model and weighted match score below; domain logic in CareerAdvisor.Core, separate from the UI.
  4. Prototype: PortfolioAnalyzer finds skill gaps for any profile and role and ranks all roles.
  5. LLM + RAG: JobKnowledgeBase (BM25 retrieval) feeds ClaudeAdvisor or OpenAIAdvisor; both return the same structured JSON. A rule-based engine works offline.
  6. Evaluation: automatic metrics plus human usefulness ratings, comparing Claude, ChatGPT and the offline baseline, with or without RAG.
  7. Limitations and improvements: see the two lists at the bottom of this page.

Evidence model

Each source of evidence adds weight to a skill, capped at 1.0.

SourceWeight
Self-declared skill0.15 beginner · 0.30 intermediate · 0.45 advanced
Tagged in a project0.25 each (+0.05 if it has a measurable outcome), up to 0.50
Only mentioned in project text0.15
Work experience0.10 + 0.02 per month, up to 0.35
Certification0.20

A requirement is has skill once evidence reaches 0.30 / 0.50 / 0.75 for beginner / intermediate / advanced level; partial if there is some evidence; otherwise missing.

Match score = Σ importance × min(1, evidence ÷ required) ÷ Σ importance × 100, where essential = 3, important = 2, desirable = 1.

Retrieval-augmented generation

  1. Job adverts are split into paragraph chunks.
  2. Skill aliases are normalised (e.g. “PyTorch” → Deep Learning) so wording differences still match.
  3. The query is the role title plus its top six gaps. BM25 ranks the chunks, with a 1.35× boost for adverts of the target role.
  4. The top six chunks go into the prompt with the gap analysis. The model must cite employers and may not invent requirements.
  5. Structured outputs force the reply into a fixed JSON schema, so the UI and evaluation can read it, whichever engine wrote it.
  6. If an AI call fails, the offline engine answers instead and the page says so.

Reading a CV (PDF / Word)

  1. Extract text: PdfPig reads PDFs in reading order; Open XML reads Word (.docx) paragraphs, tables and links.
  2. Structure it: with an API key, the LLM fills a strict schema (skills with levels, projects, experience in months, certificates, links) using only what the document states. Without a key, a rule-based parser finds headed sections and known skills.
  3. Human review: the draft always opens in the editor; nothing is saved until the user checks it.

Tested with two fictional CVs in samples/cvs.

Architecture and hosting

  • Layers: CareerAdvisor.Core (models, analysis, retrieval, AI engines), CareerAdvisor.Web (Blazor Server UI), CareerAdvisor.Tests (xUnit, 26 tests).
  • AI engines: Claude (Anthropic) and ChatGPT (OpenAI) behind one interface, plus an offline rule-based engine used as a fallback and as the evaluation baseline.
  • Data: JSON files (portfolios, roles, adverts), so the experiment is easy to inspect and reproduce.
  • Settings: API keys entered in the browser are encrypted on disk and protected by an admin password; the theme is a per-browser preference.
  • Hosting: runs on the developer's PC behind Cloudflare Tunnel at careerlens.bluecorplabs.com (no open ports), with a Docker image prepared for cloud hosting.

Ethics, privacy and security

  • Only synthetic portfolios are used; the upload page warns against real CVs, which would be personal data sent to an AI provider.
  • The prompt sends the portfolio and job excerpts only; no names of real people or contact details are needed for the analysis.
  • API keys are never shown in full, never stored in source control, and saved encrypted.
  • The public site can be restricted to named people with Cloudflare Access.

Known limitations

  • Self-ratings are trusted at face value; there is no way to verify skill level.
  • Evidence weights are hand-chosen, not calibrated against careers advisers' judgements.
  • The job-advert corpus is small (18 adverts) and fictional.
  • Keyword/BM25 retrieval misses paraphrases that embedding search would catch.
  • Automatic metrics are proxies; usefulness was rated by the developer, not by real students.
  • LLM output varies between runs; consistency must be measured and reported.
  • The offline CV parser needs clearly headed CVs; scanned PDFs (images) can't be read.
  • All visitors share one set of portfolios; there are no user accounts.
  • When self-hosted, the site is only online while the developer's PC is on.

Future improvements

  • Calibrate evidence weights and thresholds with real careers advisers.
  • Use real job postings (e.g. from a jobs API) and refresh them regularly.
  • Add embedding-based (vector) retrieval alongside BM25 and compare them.
  • Verify skills from evidence, e.g. by reading linked GitHub repositories.
  • User accounts so each student keeps a private portfolio and progress history.
  • A database instead of JSON files, and OCR for scanned CVs.
  • A user study with students to measure real usefulness.
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.