diff --git a/app/jobs/score.py b/app/jobs/score.py index 8526829..2ea4e58 100644 --- a/app/jobs/score.py +++ b/app/jobs/score.py @@ -31,8 +31,9 @@ Every term is 0..1. The score is the weighted sum over the sum of the weights (the agent's four and its prefer gates'), so it stays 0..1. A favourite company (`affinity = 2`) skips the `any` group but not the `require` gates, and is scored like any other company with its affinity term at 1: nothing puts -its roles above a better fit. A hidden one (`-1`) is not scored at all. A role with no vector is scored without `fit` -and `taste`, unless `fit` is all there is, when it is gated as "no vector". +its roles above a better fit. A hidden one (`-1`) is not scored at all. A +role with no vector is scored without `fit` and `taste`, unless `fit` is all +there is, when it is gated as "no vector". An agent with no votes scores every role without `taste`; the direction is newsdesk's `centroid(liked) - centroid(disliked)`. An agent with no prompt that has text has no `fit` either: its scores are not a match, so it is left diff --git a/app/models.py b/app/models.py index 024bb84..f4b3afc 100644 --- a/app/models.py +++ b/app/models.py @@ -641,7 +641,7 @@ Status = Literal["saved", "applied", "screen", "technical", "onsite", "offer", "rejected", "withdrawn"] STATUSES: tuple[str, ...] = get_args(Status) -#: -1 mute, 0 neutral, 1 interested, 2 favourite (skips gates, floors the score). +#: -1 mute, 0 neutral, 1 interested, 2 favourite (skips the `any` gates). AFFINITY = range(-1, 3) #: Why a company is on the list checked by hand. `unread` is a host the app