SplitTime / OpenSplitTime

Timed endurance event data
https://www.opensplittime.org
MIT License
28 stars 10 forks source link

Change definitive_matching_person so as not to require exact first name match #1259

Closed moveson closed 1 day ago

moveson commented 1 day ago

We have many historical facts still not being properly matched because of ordinary first-name conflicts, such as "Chris" instead of "Christopher." In many cases, the HistoricalFact record and the Person record have matching email or phone, which provides definitive evidence to allow for auto-reconciliation.

This PR tweaks the definitive_matching_person algorithm so that a first_name match is not required if email or birthdate matches.