Skip to content
HarrisonAlexanderPublic

About

TrueHire - behavioral interview analytics. Run structured behavioral interviews end to end and rank candidates by weighted evidence. Offline Windows desktop app, PowerShell + WPF, no install.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

TrueHire, behavioral interview analytics: structured interviews, ranked by evidence. A professional on a mountain outcrop reaches for a gold star at the end of a check-mark constellation while a shooting star crosses the twilight sky.

Behavioral interview analytics for hiring managers.
Run structured behavioral interviews end to end, from requisition to evidence-ranked shortlist, in one offline Windows app.

Platform: Windows 10 and 11 PowerShell 5.1 UI: WPF and XAML No installer MIT license

Demo video · What it does · How it works · Scoring · Quick start · Architecture · Testing

See it in action

Watch the TrueHire demo, 7 minutes: the TrueHire title over a figure on a mountain ridge at dusk, with a play button.

A 7-minute guided tour of the real app, presented by two hosts, H and Marcia. It covers everything from opening a requisition to an evidence-ranked shortlist, with a close look at the AI question generation and its guardrails.

# Chapter Starts What you'll see
1 Requisitions and kits 1:03 A requisition and its interview kit, category weights, and Build from Catalog
2 Choose an AI engine 2:09 Five engines in Settings, where API keys are kept, and a live Test with Claude Code
3 Generate with AI 3:05 What the AI sees (never candidate data), steering it, then editing, accepting and rejecting its drafts
4 Guardrails 4:22 Steering it toward a protected topic and watching it refuse, the local flags as a backstop, and why the AI never scores anyone
5 Evaluate and rank 5:38 The six evidence anchors, weighted ranking, the manager's own select call, and printable sheets
6 Analytics and wrap 6:32 Pipeline analytics with Excel export, and backup and import

Plays in your browser on the demo page, or download the MP4 (34 MB, 1080p).

The TrueHire dashboard on a laptop: KPI tiles, candidate-stage funnel, requisitions-by-status donut and hires by job requisition.

What it does

Structured behavioral interviews are one of the most reliable ways to hire, but most teams run them on spreadsheets, Word templates and paper rating sheets that drift out of sync. TrueHire puts the whole loop in one desktop app and turns every interview into evidence you can compare, weigh and rank, so the hire you make is the one the evidence supports:

  • Requisitions. Open a job and track its manager, openings, status and dates.
  • Interview kits. Build the kit from a catalog of 65 behavioral questions in 13 competencies that apply to any role and level, add your own questions, and weight the categories that matter most for the role.
  • Evaluations. Rate each candidate category by category on a six-point evidence scale, with notes and a Select or Non-Select recommendation.
  • Ranking. See every candidate ranked within their requisition ("1st of 4") by weighted evidence, not gut feel.
  • Print. Produce interview handouts, candidate question sets and rating sheets from the same data, then save them as PDFs from the browser.
  • AI question drafts (optional). Generate with AI drafts new questions for a category. You review each one, edit it, and accept or reject it. Accepted questions become your own authored questions, reusable in any kit. See AI question generation.

It needs no installer, no admin rights, no database and no third-party runtime. It uses only Windows PowerShell 5.1 and the WPF assemblies built into Windows, so it runs on locked-down corporate PCs and keeps every record on the local machine.

Why it's different

Principle How TrueHire applies it
Evidence, not impressions Every rating is one of six written anchors, from "Very strong evidence skill IS present" to "Insufficient evidence". Interviewers judge what they heard, not how they felt.
Weighted, fair ranking Each kit sets a relative weight per category. Unrated or insufficient categories drop out of the math instead of dragging the score down.
One source of truth Requisitions, kits, candidates and evaluations are linked records. The handout, the rating sheet and the rank all come from the same data.
The manager still decides The score only orders the list. The hiring manager's Select or Non-Select call is recorded separately and never derived from the number.
Zero footprint Runs from a folder, a USB stick or one self-extracting .exe. Data is JSON on disk, with full and date-ranged backup bundles.

How it works

Four steps: 01 open a requisition, 02 build the kit by ticking questions from 65 and weighting each category, 03 evaluate by rating every category 0 to 5 with notes, 04 rank candidates by weighted evidence and print handouts.

The six tabs

Tab What you do there
Dashboard See open requisitions, total candidates, interviews in progress and hires at a glance, plus the stage funnel, requisitions by status, recent activity and upcoming interviews.
Job Requisitions Manage requisitions in a filterable list. Edit details, cascade-delete a job with its kit and candidates (with an optional backup first), and export or import bundles for the whole workspace, a date range or a single requisition.
Interview Kits One kit per requisition. Choose Build from Catalog and tick the exact probes you want per category, write custom questions and categories, reorder sections, set category weights, use Generate with AI on a category, preview the kit, and print the handout or the candidate question set.
Question Library Browse and search all 65 catalog questions, plus your authored ones, and their interviewer guides, with no job or kit needed. Generate with AI drafts new ones for any category.
Candidates Filter by requisition and stage, sort by rank, and open a candidate to record the evaluation, notes, stage, interview date and recommendation.
Analytics Filter by date range, requisition, manager, department and stage. See applications over time, hires by requisition, the interview load per manager and time to hire, and export the report to Excel.
Candidates tab: cards ranked within each requisition, such as 1st of 3, with stage badges and Advance buttons. Interview Kits tab: the Senior Software Engineer kit with its category weights panel and catalog questions.
Candidates, ranked within each requisition Interview Kits, with per-category weights
Question Library tab: searchable probes with interviewer guidance, filtered by category. Analytics tab: filters, KPI tiles, stage funnel, candidates-over-time line chart and hires by requisition.
Question Library, 65 questions in 13 competencies Analytics, with an optional Excel export
More screenshots
Dashboard Job Requisitions
Dashboard with KPI tiles, stage funnel and status donut Job Requisitions list with status pills and candidate counts

Printable outputs

TrueHire writes self-contained HTML files to outputs/. Each one has a Print / Save as PDF button that uses the browser's own print dialog, so the app ships with no PDF library.

Output Use it for
Interview handout The interviewer's copy, with one question per page: the category, the probe, the interpretive guide and note lines.
Candidate question set A compact questions-only copy to hand to the candidate, without the scoring guidance.
Rating sheets A blank anchor grid for each interviewer, or a filled sheet with the evaluation and the recommendation.

AI question generation

AI is optional and only drafts interview questions. It never rates, scores, ranks or recommends candidates, and no candidate information is ever sent (ADR 0001).

  1. Choose an engine. Click Settings in the status bar and pick one of five engines: the Claude Code CLI or Codex CLI already installed and signed in on your PC (no key needed), or an Anthropic, OpenAI or OpenRouter API key. Keys are encrypted with Windows DPAPI for your Windows account, stored apart from your data files, and never shown in full again. Test checks the engine.
  2. Generate. Click Generate with AI on a category in an interview kit, or in the Question Library, and choose how many questions to draft (1 to 10). TrueHire sends the category, its description, its catalog questions as style examples and, from a kit, the requisition title. The window stays responsive, you can cancel, and a request stops after two minutes.
  3. Review. Each draft is a suggestion you can edit, accept or reject. A suggestion that closely matches an existing question, or that touches a protected topic such as age, family, health, religion, nationality or race, is flagged with a warning. Flags never block you.
  4. Keep. Accepted questions are saved as authored questions. They appear in the Question Library and Build from Catalog with an AUTHORED label, and from a kit you can add them to that kit as well. The shipped catalog is never changed. The file format is in docs/authored-questions.md.

Scoring

Evidence scale: anchor 5 is 100 points, 4 is 80, 3 is 60, 2 is 40, 1 is 20; 0 means insufficient evidence and -1 means not yet rated, and both are excluded. Worked example: weights 3, 2 and 1 with 100, 80 and 40 points, and an insufficient category excluded, give (3 times 100 plus 2 times 80 plus 1 times 40) divided by 6, which is 83.

Each rated category earns anchor × 20 points. The candidate's score is the weighted mean across the categories that were actually rated:

score = Σ(weight × points) / Σ(weight)        over categories with anchor 1–5
  • Insufficient evidence (0) and not yet rated (−1) are missing data. They drop out, and their weights leave the denominator.
  • A category with no weight set counts as 1. If every rated category has weight 0, the score falls back to an equal-weighted mean.
  • The score orders the Candidates list and appears in the Excel report. It stays off the Dashboard on purpose, because a company-wide "match %" would claim more precision than a qualitative rubric has.

docs/weighted-rating-explained.html has more worked examples, and docs/weighting-scoring-demo-guide.html is a five-minute live demo script.

Quick start

git clone https://github.com/HarrisonAlexander/TrueHire.git
cd TrueHire
powershell -ExecutionPolicy Bypass -File .\TrueHire.ps1

You can also double-click Run-TrueHire.cmd.

The app starts empty. To explore it with realistic data, open Job Requisitions → Import... and choose data/demo-full.truehire.zip. That loads 10 requisitions, 10 interview kits and 30 evaluated candidates.

Requirements

  • Windows 10 or 11
  • Windows PowerShell 5.1 and .NET Framework 4.7.2 or later (both built into Windows)
  • Optional: ImportExcel for the Analytics Export Report button. The button disables itself when the module is missing.
Install-Module ImportExcel -Scope CurrentUser

Where your data lives

Mode Location How to turn it on
Default %APPDATA%\TrueHire\ Nothing to do
Portable <app folder>\userdata\ Put an empty portable.flag file next to TrueHire.ps1
Packaged .exe <exe folder>\userdata\ Set automatically by the launcher
Installed (MSI) %APPDATA%\TrueHire\, with logs and outputs Set automatically by the installer

Records are plain JSON. Backup / Export All writes a .truehire.zip bundle that you can import on another machine. Re-importing the same bundle merges by job, so it never creates duplicates.

Architecture

The app is about 10,000 lines of PowerShell in four layers, all dot-sourced into one script scope. It uses no MVVM framework, no data-binding library and no charting library. The charts are hand-drawn with ArcSegment and PathGeometry.

TrueHire.ps1        entry point: load WPF, dot-source lib + views, hydrate data, show the shell
lib/
  Logging.ps1        daily rolling log + DispatcherUnhandledException capture
  Theme.ps1          shared XAML ResourceDictionary, window factory, 1.2× UI scale
  Data.ps1           JSON I/O, model factories, versioned migrations, aggregation
  Helpers.ps1        WPF builders (pills, avatars, charts), scoring + ranking, metrics
  HtmlOutput.ps1     printable handouts and rating sheets
  ReportExcel.ps1    optional ImportExcel-backed analytics workbook
  Export.ps1         .truehire.zip bundles: full, date-ranged, per requisition
  Secrets.ps1        AI API keys, DPAPI-encrypted per Windows user
  Ai.ps1             AI settings and background turns (runspace, 120 s deadline, cancel)
  AiWorker.ps1       the five AI engines (two CLIs, three APIs)
  Generator.ps1      Generate with AI: prompt, reply checks, one retry, flags
views/
  Shell.ps1          main window + tab router
  Settings.ps1       Settings dialog (AI engine)
  GenerateQuestions.ps1  Generate with AI review dialog
  *.ps1              one XAML here-string + one Show-*View function per tab
JobRequisition ──1:1── InterviewKit ── categories[] (weight) ── questions[]
      │
      └──1:N── Candidate ── evaluation { ratings: { categoryId: { anchor, note } }, recommendation }

Engineering notes

  • Versioned, score-preserving migrations. The rating scale was inverted from "1 is strongest" to "0–5, with 5 strongest". Data already on disk is remapped exactly once, guarded by a marker on each record, and the remap keeps every existing score the same.
  • Delete-safe derived state. A legacy ratings mirror is always rebuilt from scratch rather than merged, so a deleted evaluation can never come back on the next load.
  • WPF events in PowerShell's scope model. Handlers avoid .GetNewClosure(), which captures a copy of script scope and silently drops state writes. Per-item context rides on each control's .Tag instead. CLAUDE.md lists this and the other PowerShell + WPF pitfalls, each with a reproduction.
  • Design first. Every major feature started as a written spec and an implementation plan, kept in docs/specs and docs/plans.

Testing

# Headless gate: parses every view and dialog XAML, renders each into a host Grid,
# and checks metrics, export/import round-trips, weighted scoring, reordering and ranking.
powershell -NoProfile -ExecutionPolicy Bypass -File .\test\smoke.ps1

# Windowed: boots the real shell, cycles every tab, and closes itself.
powershell -NoProfile -ExecutionPolicy Bypass -File .\test\launch.ps1

# AI question generation, against local fake engines only (no real AI call).
powershell -NoProfile -ExecutionPolicy Bypass -File .\test\ai.ps1         # engines, keys, background turns, Settings
powershell -NoProfile -ExecutionPolicy Bypass -File .\test\generate.ps1   # prompt, retry, deadline, cancel, review dialog
powershell -NoProfile -ExecutionPolicy Bypass -File .\test\flags.ps1      # near-duplicate and risky-topic flags

Run smoke.ps1 after any change to a view or the library. Each check prints OK or FAIL, and a failure includes the script stack trace.

Build a single .exe

powershell -NoProfile -ExecutionPolicy Bypass -File .\build\Build-Exe.ps1

This produces dist\TrueHire.exe, a small .NET launcher compiled with the csc.exe that ships with Windows. The app's scripts are embedded inside it as a zip. On first run it extracts them to %LOCALAPPDATA%\TrueHire\<hash>\ and starts PowerShell against that copy. To distribute it, attach the .exe to a GitHub Release rather than committing it.

Build the MSI installer

dotnet tool install --global wix --version 5.0.2      # one time
wix extension add -g WixToolset.UI.wixext/5.0.2       # one time
powershell -NoProfile -ExecutionPolicy Bypass -File .\build\Build-Msi.ps1 -Version 1.0.0

This produces dist\TrueHire-1.0.0.msi. The installer asks whether to install just for you (to %LOCALAPPDATA%\Programs\TrueHire, no admin rights needed) or for everyone on this computer (to Program Files\TrueHire, which asks for admin). It adds a Start menu shortcut and an entry in Installed apps. Uninstalling removes the program but leaves your data in %APPDATA%\TrueHire\.

For scripted installs:

msiexec /i TrueHire-1.0.0.msi /qn MSIINSTALLPERUSER=1   # just for you
msiexec /i TrueHire-1.0.0.msi /qn ALLUSERS=1            # everyone (run elevated)

Project layout

├── TrueHire.ps1 · Run-TrueHire.cmd   entry point and launcher
├── lib/ · views/                       application code
├── data/                               question catalog, job titles, seeds, demo bundle
├── images/                             in-app banner and logo
├── assets/readme/                      README artwork (sources in assets/readme/source)
├── test/                               smoke, launch and AI tests (fakes in test/fixtures)
├── tools/                              demo-data generator, screenshot capture, reset script
├── build/                              exe and MSI build scripts, launcher sources
└── docs/                               scoring explainers, ADRs, design specs and plans, screenshots

Changelog and license

User-facing history is in CHANGELOG.md. TrueHire is released under the MIT License.

About

TrueHire - behavioral interview analytics. Run structured behavioral interviews end to end and rank candidates by weighted evidence. Offline Windows desktop app, PowerShell + WPF, no install.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages