Skip to content

fix(ats): withdrawn applications are displayed as rejected, corrupting funnel and EEO counts #533

Closed

Description

@thinkclay

packages/scf-core/features/office/applications/office-applications-screen.tsx:113-122 maps DB status to kanban stage:

const statusMap: Record<string, ApplicationStatus> = {
  ...
  rejected: 'rejected',
  withdrawn: 'rejected',   // <-- withdrawn folded into rejected
}

A candidate who withdrew is displayed as one the org rejected. The two are not the same thing, and the distinction matters for:

  • Funnel metrics — withdrawals are a candidate-experience signal, rejections are a screening signal. Conflating them makes both numbers wrong.
  • EEO reporting — adverse-impact analysis counts rejections. Counting withdrawals as rejections inflates the rejection rate for whichever groups happen to withdraw more.

The DB distinguishes them correctly (applications_status_check includes both); only the UI conflates them.

Work

Decide and implement: either a distinct withdrawn kanban column, or an explicit badge on the card within a shared terminal column. Needs a product call on which.

Acceptance

  • Withdrawn and rejected are distinguishable in the UI.
  • Metrics and EEO counts treat them separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ATSbugneeds-designpriority: medium

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions