Skip to content

feat(ats): the employer's transparency stats, computed from real pipeline data - #631

Merged
thinkclay merged 1 commit into
mainfrom
redesign/worker-jobs-transparency
Aug 22, 2026
Merged

thinkclay merged 1 commit into
mainfrom
redesign/worker-jobs-transparency

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

Phase 3, screen 4 (#622). The prototype's "candidates can see in" banner — response rate, median first response, ghost rate — on the pipeline screen.

This is the product's differentiator: applicants choose where to apply partly on numbers the employer cannot self-report. Showing an employer their own ghost rate is what changes behaviour, which is why it sits above the pipeline rather than on a stats page nobody opens. Answers open question #5 of #539 with: loud.

Computed, not invented

Everything comes from data the screen already loads — appliedAt plus stageHistory, which the employer endpoint populates from real core.application_activity rows. No extra request, no fabricated figure.

Against the seeded pipeline: 67% over 12 applications, 2.0d median first response, 100% ghost rate of 9 open. That last number is correct and uncomfortable, which is exactly the point.

Ghost rate is not 1 − response rate

That would be the same number twice under two names.

Ghosting is silence the candidate is experiencing now, at any stage. Someone stuck in Interview for three weeks is being ghosted as surely as one never acknowledged — and the response rate says nothing about them. So:

  • response rate — did a first reply ever come, over applications old enough to expect one
  • ghost rate — how much of the open pipeline is currently past its stage's promise

Null, not zero

An employer who opened yesterday has no response rate, and rendering 0% would be a lie about them rather than a measurement. Nothing is eligible until it has had a fair chance, and the figure shows an em dash until it exists.

Same reason the banner hides entirely while loading: an employer glancing at — would read "we have no rate", not "not loaded yet".

What is deliberately not built

The worker-facing half — seeing an employer's stats before applying — needs an aggregate over applications the worker cannot see. That is a server computation and a new endpoint, not a client calculation.

I checked: there is no response_rate or ghost_rate anywhere in the schema, the API, or the SDK. The brief marks C3 as NEW and it is right. Faking it from an applicant's own handful of rows would produce a confident number computed from nothing — the exact failure this codebase keeps turning up (§12 #14's placeholder legal copy, §12 #5's dead score filter, the dashboard's hardcoded sparklines).

So screen 4 is half-shipped by design, and the remaining half is a backend feature. Worth its own issue rather than a client-side approximation.

Testing

16 tests, including that an explicit rejection counts as a response (being turned down is not silence), that the median resists one very slow reply, and that a transition recorded before the application existed is ignored.

Typecheck and lint clean; rendered through the authenticated harness; move menu still reports 9 triggers / 2 menuitems / 0 after Escape.

🤖 Generated with Claude Code

…line data

Phase 3, screen 4 (#622). The prototype's "candidates can see in" banner —
response rate, median first response, ghost rate — on the pipeline screen.

This is the product's differentiator: applicants choose where to apply partly
on numbers the employer cannot self-report. Showing an employer their own
ghost rate is what changes behaviour, which is why it is a banner above the
pipeline rather than a stats page nobody opens. Answers open question #5 of
the ATS brief (#539) with: loud.

COMPUTED, NOT INVENTED. Everything comes from data the screen already loads —
`appliedAt` plus `stageHistory`, which the employer endpoint populates from
real core.application_activity rows. No extra request, no fabricated figure.
Against the seeded pipeline it reports 67% over 12 applications, a 2.0d median
first response, and a 100% ghost rate of 9 open. That last number is correct
and uncomfortable, which is the point.

GHOST RATE IS NOT 1 − RESPONSE RATE. That would be the same number twice under
two names. Ghosting is silence the candidate is experiencing NOW, at any
stage: someone stuck in Interview for three weeks is being ghosted as surely
as one never acknowledged, and the response rate says nothing about them. So
response rate measures whether a first reply ever came; ghost rate measures
how much of the open pipeline is currently past its stage's promise.

NULL, NOT ZERO. An employer who opened yesterday has no response rate, and
rendering 0% would be a lie about them rather than a measurement — so nothing
is eligible until it has had a fair chance, and the figure shows an em dash
until it exists. Same reason the banner hides entirely while loading: an
employer glancing at "—" would read "we have no rate", not "not loaded yet".

WHAT IS DELIBERATELY NOT BUILT. The worker-facing half — seeing an employer's
stats BEFORE applying — needs an aggregate over applications the worker cannot
see, so it is a server computation and a new endpoint, not a client
calculation. There is no response_rate or ghost_rate anywhere in the schema,
the API or the SDK; the brief marks it NEW and it is right. Faking it from an
applicant's own handful of rows would produce a confident number computed from
nothing, which is the exact failure this codebase keeps finding.

16 tests, including that an explicit rejection counts as a response (being
turned down is not silence) and that a transition recorded before the
application existed is ignored.

Verified: typecheck and lint clean; rendered through the authenticated
harness; the move menu still reports 9 triggers / 2 menuitems / 0 after
Escape.

Co-Authored-By: Claude Opus 5 <[email protected]>
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.

1 participant