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:
WolfandClaude Opus 5.5 committed 2026-09-30 13:11:26 +02:00
1 parent ae978594b4
commit 322db49773
16 files changed
+328 -137

No files matched your search

+67 -24
View File
@@ -42,9 +42,6 @@ TITLES: list[tuple[str, str]] = [
("Sr. Director, Enterprise Data", "director"),
("Director of Engineering (Data Infrastructure)", "director"),
("Director, Pricing", "director"),
("Associate Director, AI Strategy", "director"),
("Assoc Director, Oral Sema", "director"),
("Associate VP, Drug Product Manufacturing US Quality", "director"),
("Head of Data & AI Platforms", "director"),
("Head, Logistics Performance", "director"),
("Head ASP Management", "director"),
@@ -60,12 +57,19 @@ TITLES: list[tuple[str, str]] = [
# "Head Chef"-like titles and a duty that is only mentioned are not heads.
("Augenoptikermeister mit technischer Leitung (m/w/d) in Berlin WILMA", ""),
("Sous Chef", ""),
# ---- senior_manager
("Associate Director, AI Strategy", "senior_manager"),
("Assoc Director, Oral Sema", "senior_manager"),
("Associate Director/Director in Investment Banking - Infrastructure Leveraged Finance", "director"),
("Associate VP, Drug Product Manufacturing US Quality", "senior_manager"),
("Sr. Engineering Manager - Notebook Dataplane", "senior_manager"),
("Senior Engineering Manager - Enterprise Trust & Reliability", "senior_manager"),
("Senior Manager, Strategic Planning", "senior_manager"),
("Sr. Manager, Technical Delivery", "senior_manager"),
("Business Development Sr. Manager", "senior_manager"),
# ---- manager
("Engineering Manager - Security Engineering", "manager"),
("Sr. Engineering Manager - Notebook Dataplane", "manager"),
("Senior Manager, Strategic Planning", "manager"),
("Sr. Manager, Technical Delivery", "manager"),
("Business Development Sr. Manager", "manager"),
("Store Leader, Shopping Leblon", "manager"),
("Data Science Manager, Finance Analytics", "manager"),
("Manager, Bid Management", "manager"),
("Manager Sales Enablement", "manager"),
@@ -94,20 +98,25 @@ TITLES: list[tuple[str, str]] = [
("Office Manager - 9 month fixed term contract", ""),
("Sales Manager (m/w/d) – Photovoltaik, Wärmepumpe & intelligente Energiesysteme - 1KOMMA5° Kiel", ""),
("Technical Program Manager, Data Centers", ""),
("Lead Project Manager (German speaker)", "lead"),
("Assistant Store Manager (efood market) - Θεσσαλονίκη", "lead"),
("Lead Project Manager (German speaker)", "staff"),
("Responsable de projets - Expériences Fever Originals", ""),
("Chef de projet SEO et Marketing Digital H/F", ""),
("Bauleiter AC (m/w/d) für Photovoltaik - 1KOMMA5° Handwerk - Region Bayern", ""),
("Projektleder til produktion af færdigretter", ""),
("Prosjektleder DTO", ""),
("Technologie-Forschungsingenieur für Leistungshalbleiter (w/m/div.)", ""),
# ---- lead
("Tech Lead, Deployment & Operations — Custom Infrastructure", "lead"),
("Lead Data Engineer", "lead"),
("Lead Engineer", "lead"),
("Technical Lead- AI Cockpit", "lead"),
# ---- lead: a team lead
("Engineering Team Lead - GateManager Platform", "lead"),
("Team Lead - Technical Support", "lead"),
("Team Leader, Operations", "lead"),
("Delivery Station Supervisor", "lead"),
("Warehouse Lead", "lead"),
("[US-DC] Kitchen Lead", "lead"),
("Assistant Store Manager (efood market) - Θεσσαλονίκη", "lead"),
("Augenoptiker (m/w/d) als Assistant Store Manager in Dresden", "lead"),
("Associate Store Leader, Tyson's Corner", "lead"),
("People Leader - Model Design, LEGO® Design", "lead"),
("Chef d'Equipe Mecanique (H/F)", "lead"),
("Teamlead Winkel Schoten (36u)", "lead"),
("Complaints Team Leader - Claims", "lead"),
("Supervisor, Wind Site - Sunzia, NM", "lead"),
@@ -118,15 +127,29 @@ TITLES: list[tuple[str, str]] = [
("Chef d'équipe Entrepôt Magasin", "lead"),
("Chef·fe d’équipe - Modélisation (Unreal)", "lead"),
("Superviseur magasin", "lead"),
# "Lead" the noun is a level, "lead" the sales lead is not.
("B2B Demand Generation Specialist", ""),
# ---- staff
# ---- distinguished
("Senior Principal Engineer, Central Ops & Systems", "distinguished"),
("Principal/Senior Principal Investment Accounting Solution Consultant – IAS Value Team", "distinguished"),
("Distinguished Engineer, Core DevOps", "distinguished"),
("Business Process Chief Expert CIS", "distinguished"),
# "Fellow" alone is academic; the Technical Fellow's office is not the grade.
("Postdoctoral Fellow in Robotics and Computer Vision", ""),
("Principal Engineer, Enterprise AI — Technical Fellow Office", "principal"),
# ---- principal
("Senior Staff Software Engineer- Search Quality", "principal"),
("Senior Staff Applications Engineer", "principal"),
("Principal Software Engineer - Platform Engineering", "principal"),
("Principal Product Manager - Audio and Media Playback", "principal"),
# ---- staff: Staff, and "Lead" the noun that is not a team lead
("Staff Software Engineer - Money Movement", "staff"),
("Senior Staff Software Engineer- Search Quality", "staff"),
("Staff+ Software Engineer, Safeguards", "staff"),
("Principal Software Engineer - Platform Engineering", "staff"),
("Principal/Senior Principal Investment Accounting Solution Consultant – IAS Value Team", "staff"),
("Business Process Chief Expert CIS", "staff"),
("Tech Lead, Deployment & Operations — Custom Infrastructure", "staff"),
("Lead Data Engineer", "staff"),
("Lead Engineer", "staff"),
("Technical Lead- AI Cockpit", "staff"),
("Product Marketing Lead, Experience", "staff"),
("Payroll Lead", "staff"),
("Member of Technical Staff - Research Infrastructure Engineer", ""),
("Chief of Staff (m/w/d)", ""),
("Staff Accountant", ""),
@@ -213,6 +236,27 @@ SYNTHETIC: list[tuple[str, str]] = [
("Projectleider Logistiek", ""),
("Software Engineer III, Platform", "senior"),
("Manager, Data Science", "manager"),
# A grade on a people title lifts it one rung only when it is above the
# title's own rung.
("Staff Engineering Manager", "manager"),
("Principal Engineering Manager", "senior_manager"),
("Senior Staff Engineering Manager", "senior_manager"),
("Senior Principal Engineering Manager", "senior_manager"),
("Principal Team Lead", "senior_manager"),
("Staff Tech Lead Manager, Machine Learning, Vision Models", "manager"),
# A slash names two levels, the higher of which wins.
("Senior/Principal Unity Developer | New Games", "principal"),
("Senior/Staff Backend Engineer", "staff"),
("Lead/Principal Cloud Engineer – Data Platform", "principal"),
("Assistant Vice President, Credit Risk", "senior_manager"),
("AVP, Operations", "senior_manager"),
("Assistant Director of Finance", "senior_manager"),
("Research Fellow in Economics", ""),
("Fellow", ""),
("Technical Fellow", "distinguished"),
("Engineering Fellow, Silicon", "distinguished"),
("Shift Leader", "lead"),
("Supervisor", "lead"),
]
@@ -221,8 +265,6 @@ def test_title(title: str, level: str) -> None:
assert from_title(title) == level
@pytest.mark.xfail(strict=True, reason="WP A of docs/plan-seniority.md adds the title rules "
"for principal, senior_manager and distinguished, and drops this marker")
def test_table_covers_every_level_and_at_least_eighty_titles() -> None:
assert len(TITLES) >= 80
assert {level for _, level in TITLES} == set(SENIORITIES)
@@ -239,8 +281,9 @@ def test_gender_marker_and_case_do_not_matter() -> None:
def test_highest_level_named_wins() -> None:
assert from_title("Senior Director of Engineering") == "director"
assert from_title("Senior Lead Engineer") == "lead"
assert from_title("Junior Principal Engineer") == "staff"
assert from_title("Senior Lead Engineer") == "staff"
assert from_title("Junior Principal Engineer") == "principal"
assert from_title("Senior Director, Principal Engineering") == "director"
assert from_title("Vice President and Managing Director") == "exec"