Skip to content

Should a patronymic's position vote on a list's order? (Ivanov Sergei Petrovich × 20 leaves a given-first base given-first) #1447

Closed

Description

@derek73

A list of Russian names written family first, each with a patronymic, says how it is written in every name: the patronymic stands last. Parser.suggest reads the patronymic to decide the East Slavic rule, but not to decide the order.

from nameparser import Parser

names = ["Ivanov Sergei Petrovich", "Smirnova Olga Ivanovna",
         "Kuznetsov Dmitry Alexandrovich", "Petrov Ivan Sergeevich",
         "Sokolova Anna Dmitrievna"] * 4
s = Parser().suggest(names)

It suggests patronymic_rules={EAST_SLAVIC} and leaves the order given-first. Names with a patronymic are then read right, because the rule reorders them. A name in the same list without one is not:

Name Suggested parser reads Written as
Ivanov Sergei Petrovich family Ivanov family Ivanov
Ivanov Sergei family Sergei family Ivanov

No name in that list casts an order vote. The given-name signal votes only on a word at one end of a name, and here the given name is in the middle; no surname table knows Ivanov (#1364).

The proposal. In a three-word name carrying an East Slavic patronymic, count where the patronymic stands as an order vote: last means the family name is written first, in the middle means it is written last. This is where rules/O1 already reads it.

What real lists showed. A candidate was measured during #1442 (PR #1444's session) on the tool's populations of real names. The measured candidate is on branch wip/issue-1447-patronymic-position (db23a499), a measuring switch, unreviewed and cut before #1444's review fixes, so these figures need re-taking:

  • Russian inventors written family first under a given-first base (pv-RU) reach 95% from 4 names where they need 50 today.
  • The Kazakh, Uzbek and Ukrainian parliament lists read every name right under all three base orders. Today they read 41 of 48, 52 of 59 and 1,367 of 1,588 under a given-first base.
  • No same-order row moved, and no row written against its base needed more names.

To decide

  • Whether the position counts as an order vote, and under which base orders. The plain version let a FAMILY_FIRST_GIVEN_LAST base keep its order, which reads the patronymic as the given name: 0 of 20 names right on a made-up list where master reads 20. The measured version adds a rule that such a list gets FAMILY_FIRST under that base, which amends the 2026-11-15 What should Parser.suggest do with a list mixing -ovich and oʻgʻli patronymics, or a family-first list of them? (Karimov Rustam Anvarovich beside Aliyev Farrukh is forced given-first) #1356 decision on what a family-first base keeps.
  • A new member of the public Signal enum for the vote.
  • One shape where it does harm, so far seen only with made-up names: five Qqmilan Ppetar Jovanovich-style names among 15 silent two-word names move a given-first base to family-first. Master already suggests the East Slavic rule there and misreads those five; this would misread the other 15 too. Check whether any real list has this shape before it counts against the proposal.

Done when: the measurement is re-taken at sizes through 2,000 with every same-order row at 95% or more and no row written against its base needing more names; whole names read right are compared on the parliament lists under all three bases; the sweep is base order × written position × each switch the patch can turn on, as the suggester paragraph in AGENTS.md asks; and the decisions file records what changed in #1356's ruling.

Activity

  1. added this to the 3.2 milestone on Nov 17, 2026
  2. self-assigned this
    on Nov 17, 2026
  3. added
    name-order
    patronymics
    suggester
    on Nov 17, 2026
  4. derek73 commented on Nov 19, 2026

    @derek73
    OwnerAuthor

    Decided 2026-11-19.

    1. A patronymic's position is an order vote, under all three base orders. Under a given-first and a FAMILY_FIRST base it counts as any order vote does. Under a FAMILY_FIRST_GIVEN_LAST base, a list whose patronymics stand last is suggested FAMILY_FIRST: that base reads the patronymic as the given name, and without the rule a list master reads 20 of 20 right reads 0. This amends the 2026-11-15 What should Parser.suggest do with a list mixing -ovich and oʻgʻli patronymics, or a family-first list of them? (Karimov Rustam Anvarovich beside Aliyev Farrukh is forced given-first) #1356 decision on what a family-first base keeps, and the decisions file says so.
    2. No new member of the public Signal enum, if the code allows. The patronymic signal that decides the East Slavic rule casts this vote too. If one signal cannot vote on two settings, that is reported before a member is added, and weighed then.
    3. The -ovich surname among silent names is checked on real lists before it counts against the change. A surname ending as a patronymic does (David Michael Abramovich) would vote family first. The populations to read: US and Israeli inventors, and Serbian, Croatian and Belarusian lists, whole names read right. A same-order row under 95% means a guard before it ships.

    Order of work. The suggester changes share _suggest.py, the measured tables and decisions/group-suggestion, so they are built one after another: #1364, then this, then #1452. The figures on branch wip/issue-1447-patronymic-position are re-taken on the tree as it stands after #1364.

  5. derek73 commented on Nov 19, 2026

    @derek73
    OwnerAuthor

    Decided 2026-11-19, replacing answer 2 above: the position vote gets a new member of the public Signal enum.

    A name's public evidence holds one vote a signal, and a name with a patronymic already uses its patronymic vote to say East Slavic, so the same signal cannot also say where the patronymic stood. Three ways were weighed: a new field on the per-name evidence, a new Signal member, or tallying the vote without showing it. The measured figures are the same under all three.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

name-orderpatronymicssuggester

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions