Page MenuHomePhabricator

matching gifts values don't match between databases
Closed, ResolvedPublic

Description

another matching gifts ticket :(

Our Trilogy rep, Briana, noticed that the employe_id and employer_name between our all_wikimedia list and the matching gifts database don't match.

For example, she showed us the example of "CSG International". The employer_id for this in the Matching Gifts db is 2415.

Screen Shot 2020-10-20 at 11.57.55 AM.png (130×610 px, 18 KB)

When we attempted to search for this in all_wiki, nothing popped up. However, a search of "CSG" gave us many results with the employer_name "CSG International Systems Inc" and an employer_id of 19956117.

Screen Shot 2020-10-20 at 11.59.44 AM.png (190×610 px, 22 KB)

Seems the values are mismatched entirely. I worry this will cause problems with our data integration when the program is live.

Event Timeline

My main questions around this are:

  1. is this intentional? if this is the intended behavior, it will cause quite a bit of problems when we QA the templates as well as when the data gets reintegrated back into all_wikimedia with different values for each organization name and id.
  1. where did the original values come from that are in all_wikimedia, and how did they become different from each other? my understanding was they came from the same db so i'm curious if there was something wrong with the original file somehow. although, we don't have any employee_id's that are only 4-digits long. 5-digits seems to be the minimum.

Oops, good catch @MNoorWMF. I think this will be a quick fix - we're probably pulling the 'id' column of the new table as opposed to the 'entity_id' column which links to the employer's ID in the contact table.

DStrine lowered the priority of this task from High to Medium.

Change 636768 had a related patch set uploaded (by Eileen; owner: Eileen):
[wikimedia/fundraising/tools@master] Fix incorrect id field choice on matching gift data

https://gerrit.wikimedia.org/r/636768

Change 636768 merged by jenkins-bot:
[wikimedia/fundraising/tools@master] Fix incorrect id field choice on matching gift data

https://gerrit.wikimedia.org/r/636768

I have Briana on this task right now, will check with her on Monday if that's an okay deadline to QA this?

Moska is out of office, but I'm pretty sure QA checks are almost complete except one last thing Briana needs Moska for. That's all I know for now, but Moska returns tomorrow so she may be able to chime in then. Thanks!

Aklapper added a subscriber: Eileenmcnaughton.

@Eileenmcnaughton: Removing task assignee as this open task has been assigned for more than two years - See the email sent to task assignee on Feburary 22nd, 2023.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome! :)
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!

Ejegg claimed this task.