Title levels on the ladder: principal, senior manager, distinguished, lead split (WP A)
from_title matches a title twice, for the highest people level and the highest individual grade. A people level wins on its own rung; a grade above that rung lifts it one rung (Principal Engineering Manager is a senior manager). Senior Staff is principal, Senior Principal, Distinguished and Technical Fellow are distinguished; Associate Director, AVP and Senior Manager are senior managers. lead is now a team lead only (Team Lead, Shift Lead, Supervisor, Teamleiter); Tech Lead, Lead X and X Lead(er) are staff. A slash names two levels, so Senior/Staff is staff. - Jobylon "lead" maps to staff; Recruitee maps student_college, manager, senior_manager and executive. - extract's prompt describes the ladder and its two tracks; enum from LEVELS. - prep VERSION 2, so the next prep maps every open role again. - Migration 25 clears seniority_model where it is staff, lead, manager or director, so extract reads those roles again, and sets roles.seniority to the first filled of model, stated and title. - The coverage test of tests/test_seniority.py passes; its xfail is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ae978594b4
commit
322db49773
16 files changed
+328
-137
No files matched your search
@@ -611,6 +611,18 @@ ALTER TABLE companies ADD COLUMN hand_reason TEXT NOT NULL DEFAULT '';
|
||||
(24, "companies.all_countries takes over the All roles tag, and companies.all_roles "
|
||||
"means no role narrowing; a board's {\"terms\": false} becomes its company's "
|
||||
"all_roles", lambda conn: _split_all_roles(conn)),
|
||||
# Seniority became a ladder of two tracks (models.LADDER): staff, lead,
|
||||
# manager and director each split, so a model level in one of them is
|
||||
# emptied for extract to read the role again. The level shown is then
|
||||
# the first filled of the three, as Store.write_prep writes it; the
|
||||
# title's is mapped again by the next prep (app.prep.stage.VERSION 2).
|
||||
(25, "roles.seniority_model cleared where it is staff, lead, manager or director, "
|
||||
"which the ladder splits; roles.seniority from the model, stated and title levels", """
|
||||
UPDATE roles SET seniority_model = ''
|
||||
WHERE seniority_model IN ('staff', 'lead', 'manager', 'director');
|
||||
UPDATE roles SET seniority = COALESCE(NULLIF(seniority_model, ''),
|
||||
NULLIF(seniority_stated, ''), seniority_title);
|
||||
"""),
|
||||
)
|
||||
|
||||
#: What a file created from `SCHEMA` today is already at.
|
||||
|
||||
Reference in new issue
Block a user