diachron / quality

Dataset Quality Assessment (part of WP5 of the Diachron EU FP7 project)
MIT License
8 stars 4 forks source link

Consider centralising some implementation that all metrics have in common #48

Open clange opened 10 years ago

clange commented 10 years ago
jerdeb commented 10 years ago

On 15 July 2014 19:33, Christoph Lange notifications@github.com wrote:

  • getQualityProblems looks the same for all metrics (and is currently copied). Can't we centralise it into some common superclass instead of only having a Metric super-interface?
  • Some metrics have a before method, others don't. If this same work were done in a constructor, it would be easier to do this in a constructor because then it would be done automatically when initialising the metric.

— Reply to this email directly or view it on GitHub https://github.com/diachron/quality/issues/48.