Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
calculation_rules.py 584 B
"""
File consists of several functions for the calculation rules of FAIR Quality KPIs
"""


def test_function():
    print("You called the test function.")

# Function to calculate KPIS that use sums
# Or function to calculate the mass with sum?
def kpi_sum(*args):
    return sum(args[0])
    # if arguments are handed over not as a list: sum(list(args))

# KPI for calculating some real complicated metric



if __name__ == "__main__":
    print(
        "This script contains functions for calculating the FAIR Quality KPIs. It is not to be executed independently."
    )
    pass