Compare commits

...

2 Commits

Author SHA1 Message Date
a95c4f3b09 sequence-2
All checks were successful
Build and Push Docker Image / test (push) Successful in 8s
Build and Push Docker Image / build_and_push (push) Successful in 17s
2025-02-25 14:00:03 +00:00
Ankur Malik
0dddd1976c sequence-2
All checks were successful
Build and Push Docker Image / test (push) Successful in 6s
Build and Push Docker Image / build_and_push (push) Successful in 16s
2025-02-05 18:38:53 -05:00
3 changed files with 1332 additions and 19 deletions

View File

@ -1 +1,6 @@
**Hello world!!!**
## Overview
This flow is for Early Term Default Model
## Key Inputs & Outputs
- **Request**: Refer to `request_schema.json` for detailed input fields and validation rules.
- **Response**: Refer to `response_schema.json` for the returned structure and data types.

1093
flows.json

File diff suppressed because it is too large Load Diff

View File

@ -1 +1,230 @@
{}
{
"$schema": "http://json-schema.org/draft-07/schema",
"properties": {
"user_age": {
"type": [
"integer",
"null"
],
"description": "Age of the user at the contract date, based on birthdate and contract date",
"required": []
},
"persona_entity_confidence_score": {
"type": [
"number",
"null"
],
"description": "Based on confidence reasons assign a score between 0 and 100",
"required": []
},
"persona_selfie_similarity_score_right": {
"type": [
"number",
"null"
],
"description": "Similarity score from the right side selfie",
"required": []
},
"persona_selfie_similarity_score_left": {
"type": [
"number",
"null"
],
"description": "Similarity score from the left side selfie",
"required": []
},
"persona_hesitation_percentage": {
"type": [
"number",
"null"
],
"description": "Percentage of time in the flow where the customer did not enter inputs",
"required": []
},
"persona_hesitation_count": {
"type": [
"number",
"null"
],
"description": "Persona hesitation count",
"required": []
},
"device_id_age_max": {
"type": [
"integer",
"null"
],
"description": "This calculates the maximum device age for a user and loan, similar to min and avg logic but for the max value.",
"required": []
},
"selfie_consistency_score_avg": {
"type": [
"number",
"null"
],
"description": "Average selfie consistency score for the user's persona activity",
"required": []
},
"device_consistency": {
"type": [
"integer",
"null"
],
"description": "Number of distinct devices associated with a user and loan",
"required": []
},
"selfie_consistency_score": {
"type": [
"number",
"null"
],
"description": "Average similarity score between left and right selfie",
"required": []
},
"global_fs_ls": {
"type": [
"integer",
"null"
],
"description": "Days between the first and last global appearance of the device",
"required": []
},
"inquiry_frequency": {
"type": [
"integer",
"null"
],
"description": "Number of inquiries made by the user regarding the loan",
"required": []
},
"confidence_score_min": {
"type": [
"number",
"null"
],
"description": "The minimum recorded confidence score for the user and loan during the timeframe.",
"required": []
},
"contract_date_fs_sub": {
"type": [
"integer",
"null"
],
"description": "Days between the first subscription appearance and contract date",
"required": []
},
"browser_os": {
"type": [
"string",
"null"
],
"description": "Browser OS",
"required": []
},
"user_city_ip_match": {
"type": [
"integer",
"null"
],
"description": "Checks if the user's city matches the IP city",
"required": []
},
"device_id_age_avg": {
"type": [
"number",
"null"
],
"description": "This calculates the rolling average of device_id_age for a user and loan. If no previous rows, the current value is returned.",
"required": []
},
"persona_distraction_events": {
"type": [
"number",
"null"
],
"description": "Persona distraction events",
"required": []
},
"sub_fs_ls": {
"type": [
"integer",
"null"
],
"description": "Days between the first and last subscription activity",
"required": []
},
"device_id_age_min": {
"type": [
"integer",
"null"
],
"description": "This calculates the minimum device age for a user and loan, falling back to the current device age if no prior values exist.",
"required": []
},
"confidence_score_max": {
"type": [
"number",
"null"
],
"description": "The maximum confidence score recorded for the user and loan combination.",
"required": []
},
"persona_phone_risk_score": {
"type": [
"number",
"null"
],
"description": "Risk associated with the phone number. The risk score ranges from 0 to 100. The higher the risk score, the higher the risk level.",
"required": []
},
"ip_address_risk_level": {
"type": [
"string",
"null"
],
"description": "Checks if the IP country code matches the persona country code",
"required": []
},
"login_frequency": {
"type": [
"number",
"null"
],
"description": "This counts the number of times the user logs in based on the inquiry_updated_at timestamp, providing insights into the user's login behavior throughout the loan process.",
"required": []
},
"suspect_score": {
"type": [
"integer",
"null"
],
"description": "Suspect score",
"required": []
},
"confidence_score": {
"type": [
"number",
"null"
],
"description": "Confidence score",
"required": []
},
"name_consistency": {
"type": [
"integer",
"null"
],
"description": "Checks if the first name in the persona matches the user-provided first name",
"required": []
},
"ip_location_consistency": {
"type": [
"integer",
"null"
],
"description": "Number of distinct IP locations for a user and loan",
"required": []
}
},
"required": []
}