36 lines
793 B
Python
Raw Normal View History

2025-03-12 16:16:45 +00:00
import logging
from score_processing import processing
2025-01-17 16:20:44 +00:00
2025-03-12 16:16:45 +00:00
# Configure logging
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s [%(levelname)s] %(name)s - %(message)s",
)
logger = logging.getLogger(__name__)
2025-01-17 16:20:44 +00:00
2025-03-12 16:16:45 +00:00
def __main__(
hd_score_m1: float,
hd_score_g1: float,
hd_score_s1: float,
hd_score_s2: float,
hd_score_s3: float,
hd_score_iso_m2: float
2025-03-12 16:16:45 +00:00
) -> 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,
"hd_score_iso_m2": hd_score_iso_m2,
2025-03-12 16:16:45 +00:00
}
final = processing(data)
logger.info(f"Scores of application: {final}")
return final
# testing :
# __main__