| 1 |
# Copyright (c) DataLab Platform Developers, BSD 3-Clause license, see LICENSE file. |
| 2 |
|
| 3 |
"""Update validation status CSV files from compute functions and validation tests""" |
| 4 |
|
| 5 |
from __future__ import annotations |
| 6 |
|
| 7 |
import os.path as osp |
| 8 |
|
| 9 |
from sigima.proc.validation import ValidationStatistics |
| 10 |
|
| 11 |
|
| 12 |
def generate_csv_files() -> None: |
| 13 |
"""Generate CSV files containing the validation status of compute functions""" |
| 14 |
path = osp.dirname(__file__) |
| 15 |
stats = ValidationStatistics() |
| 16 |
stats.collect_validation_status(verbose=True) |
| 17 |
stats.generate_csv_files(path) |
| 18 |
stats.generate_statistics_csv(path) |
| 19 |
|
| 20 |
|
| 21 |
if __name__ == "__main__": |
| 22 |
generate_csv_files() |