{% extends "base.html" %} {% block title %}Dashboard · Kestrel Portal{% endblock %} {% block content %}

Dashboard

Pipeline health at a glance. The jobs board is the working surface.

{{ stats.total }}Total jobs {{ stats.pending_detail }}Pending enrichment {{ stats.scored }}Scored {{ stats.tailored }}Tailored {{ stats.ready_to_apply }}Ready to apply {{ stats.applied }}Applied {{ stats.apply_errors }}Apply errors

Score distribution

{% set dist = stats.score_distribution %} {% if dist %}
{% for score, count in dist %}
{{ score }}
{{ count }}
{% endfor %}
{% else %}

No scored jobs yet — run the pipeline.

{% endif %}

Live workers {% if active_run %}{{ active_run.kind }} run {{ active_run.id }} {% else %}no active run{% endif %}

{% if active_run %}
{% include "partials/workers.html" with context %}

Waiting for events…

{% else %}

No runs are active. Start one from the Runs page — worker states will stream here live.

{% endif %}

Recent apply outcomes

{% if outcomes %} {% for job in outcomes %} {% endfor %}
JobSiteScoreStatusWhen
{{ job.title or "(untitled)" }} {{ job.site or "—" }} {{ job.fit_score if job.fit_score is not none else "—" }} {{ job.apply_status or "—" }} {{ (job.applied_at or job.discovered_at or "")[:19] }}
{% else %}

No apply outcomes yet.

{% endif %}
{% endblock %}