mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-09-17 00:26:26 +00:00
fix(html-report): funnel from stage history, rejection rate from true rejections
The funnel was computed from current status - a state, not a history - so an application that interviewed and was later rejected never counted as reaching Interview, and a hired candidate produced Interview=0. The stage checkboxes Step 1.2 already merges from outcome.md are the history; Step 2 and chart 4 now use them. The rejection rate also counted offer_declined (a success) and withdrawn (candidate-initiated) as rejections and left unresolved Interview/Offer rows in the denominator. Review findings F10 and F11 (2026-08-19). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
dab215073e
commit
2c3d2d8558
@@ -120,6 +120,15 @@ per-file diff commands.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **`/html-report`'s funnel counts stages from history; the rejection rate stops
|
||||
counting non-rejections** - the funnel was computed from current status, which is a
|
||||
state, not a history: an application that interviewed and was then rejected never
|
||||
counted as reaching Interview, so a finished search rendered as though nobody ever
|
||||
interviewed. The funnel (Step 2 and chart 4) now derives stage-reached from current
|
||||
status plus the `outcome.md` stage checkboxes Step 1.2 already merges. And the
|
||||
rejection rate no longer counts `offer_declined` (a success) or `withdrawn`
|
||||
(candidate-initiated) as rejections, nor unresolved Interview/Offer rows in its
|
||||
denominator. Pinned by two new tests in `tests/test_html_report_command.py`.
|
||||
- **`jobdanmark-search detail`'s HTML fallback emits the same shapes as its JSON-LD
|
||||
branch** - a posting without JSON-LD returned `datePosted` as the page's raw
|
||||
`DD-MM-YYYY` text, `validThrough` as free text (including the literal `"Løbende"`,
|
||||
|
||||
Reference in New Issue
Block a user