CLARIAH / pyFAT

A Python package which does FAIR assessment
0 stars 0 forks source link

turn tests into web services #1

Open menzowindhouwer opened 1 month ago

menzowindhouwer commented 1 month ago

https://github.com/CLARIAH/pyFAT/blob/develop/src/pyfat/resources/metrics/clarin_fip_metrics_v0.3.yaml defines a number of tests each identified by a metric_test_identifier, all these tests should become little web services:

  1. make for each test a small yml file, e.g.CLFIP-F1-01M-1.yml

metric_test_identifier: CLFIP-F1-01M-1 metric_test_name: "Check to see if the selflink is a handle" metric_test_score: 0.5 metric_test_requirements:

menzowindhouwer commented 1 month ago

https://github.com/CLARIAH/pyFAT/blob/develop/src/pyfat/resources/metrics/clarin_fip_metrics_v0.3.yaml#L171 needs an FACETS environment variable that points to a JSON dump of the facets in the VLO. We need to solve this differently ... skip for now. Same is true for https://github.com/CLARIAH/pyFAT/blob/develop/src/pyfat/resources/metrics/clarin_fip_metrics_v0.3.yaml#L178