admin user d1e90e8a14
All checks were successful
Build and Push Docker Image / test (push) Successful in 10s
Build and Push Docker Image / build_and_push (push) Successful in 20s
Composite score block
2025-03-12 16:16:45 +00:00

34 lines
718 B
Python

import logging
from score_processing import processing
# Configure logging
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s [%(levelname)s] %(name)s - %(message)s",
)
logger = logging.getLogger(__name__)
def __main__(
hd_score_m1: float,
hd_score_g1: float,
hd_score_s1: float,
hd_score_s2: float,
hd_score_s3: float,
) -> dict:
data = {
"hd_score_m1": hd_score_m1,
"hd_score_g1": hd_score_g1,
"hd_score_s1": hd_score_s1,
"hd_score_s2": hd_score_s2,
"hd_score_s3": hd_score_s3,
}
final = processing(data)
logger.info(f"Scores of application: {final}")
return final
# testing :
# __main__