19 lines
501 B
Python
Raw Normal View History

2025-04-09 18:47:39 +00:00
import logging
import random # <-- import random to pick a number
2025-04-09 16:45:43 +00:00
2025-04-09 18:47:39 +00:00
# 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: str) -> 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
}