thinkingmachines / linksight-2018

LinkSight is a web app for applying the Philippine Standard Geographic Code to messy and misspelled barangay, municipality, city, and province names.
https://linksight.thinkingmachin.es
GNU General Public License v3.0
11 stars 1 forks source link

Add accuracy profiling system to tests #234

Closed ghost closed 5 years ago

ghost commented 6 years ago

reference: https://docs.google.com/spreadsheets/d/18Bf3YmhYdbtduYTA8KOS9MLhDs8AcMBmbaHfx84k-U4/edit#gid=147027782

summary should include the following:

ghost commented 6 years ago

~Blocking on #233~

233 has been closed, can proceed.

stuckoverflo commented 5 years ago

Just to document, we have tests for the edge cases and for exact matches. The test for the 2000 records with messy data is the one that is disabled due to how slow it runs (2 minutes per run)

As of the moment, the get_accuracy function only caters to exact matches (by counting the number of exact matches).

Needed adjustments: