Admin User e2c2560e0a
All checks were successful
Build and Push Docker Image / test (push) Successful in 9s
Build and Push Docker Image / build_and_push (push) Successful in 22s
Series M v1 model
2025-04-10 18:33:30 +00:00

19 lines
502 B
Python

import logging
import random # <-- import random to pick a number
# Configure logging
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s [%(levelname)s] %(name)s - %(message)s",
)
logger = logging.getLogger(__name__)
def __main__(application_id: str, tu_credit_report: dict) -> dict:
# Randomly pick an integer between 800 and 1400
hd_score_m1 = random.randint(800, 1400)
return {
"application_id": application_id,
"hd_score_m1": hd_score_m1
}