-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
SD_pyFATDI Structured Data team EpicDI Structured Data team Epic
Description
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:
- 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:
- test: "xpath:starts-with(//cmd:MdSelfLink, 'hdl:')"
modality: all- a flask server that creates an endpoint for each yml file, e.g. http://localhost/test/CLFIP-F1-01M-1
- it takes a POST of a CMDI record
- runs the test (see how https://github.com/CLARIAH/pyFAT/blob/develop/src/pyfat/__main__.py#L97 runs the test)
- return the result as JSON
max: 32 hours
hours can be written on P:OSTrails
@kerim1 can help
Metadata
Metadata
Assignees
Labels
SD_pyFATDI Structured Data team EpicDI Structured Data team Epic