Series M v1 model
This commit is contained in:
parent
9c0d95f9e3
commit
f2e9d599b9
20
block.py
20
block.py
@ -1,4 +1,18 @@
|
|||||||
def __main__(application_id: str,tu_credit_report: str) -> dict:
|
import logging
|
||||||
hd_score_m1 = 1184
|
import random # <-- import random to pick a number
|
||||||
|
|
||||||
return {"application_id": application_id,"hd_score_m1": hd_score_m1}
|
# 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
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user