Page MenuHomePhabricator

Add uniqueness constraints to ores_classification
Closed, ResolvedPublic

Description

For each revision+model+class, there should only be one score, and for each revision+model only one class should be the predicted one.

Event Timeline

Change 306854 had a related patch set uploaded (by Catrope):
Add UNIQUE indexes to ores_classification

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

Halfak subscribed.

@Catrope, do you want to assign this task to yourself since you started work?

Change 306854 merged by jenkins-bot:
Add UNIQUE indexes to ores_classification

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

Ladsgroup subscribed.

Okay. It was only bad data in the beta cluster. We are okay to deploy this change

Halfak claimed this task.