Spaces:
Runtime error
Runtime error
| # PLCOm2012 Edge Cases and Missing Data Test Profile | |
| # Tests model validation with missing required fields and edge cases | |
| demographics: | |
| age_years: 50 # Minimum age boundary for PLCOm2012 (50-80 range) | |
| sex: female | |
| ethnicity: asian # Tests different race offset (-0.466585) | |
| anthropometrics: | |
| height_cm: 173.0 | |
| weight_kg: 104.0 | |
| education_level: 20 | |
| lifestyle: | |
| smoking: | |
| status: current # Tests current smoker (smoking_status = 0) | |
| cigarettes_per_day: 17 | |
| years_smoked: 5 | |
| alcohol_consumption: heavy | |
| personal_medical_history: | |
| chronic_conditions: [] | |
| previous_cancers: [] # No previous cancers (cancer_hist = 0) | |
| genetic_mutations: [] | |
| family_history: | |
| - relation: paternal_grandfather # Not first-degree relative - shouldn't count for lung cancer family history | |
| cancer_type: lung_cancer | |
| age_at_diagnosis: 75 | |
| degree: "2" | |
| side: paternal | |
| - relation: paternal_aunt # Not first-degree relative | |
| cancer_type: lung_cancer | |
| age_at_diagnosis: 68 | |
| degree: "2" | |
| side: paternal | |
| - relation: sister # First-degree relative but different cancer | |
| cancer_type: ovarian_cancer | |
| age_at_diagnosis: 55 | |
| degree: "1" | |
| side: unknown | |
| female_specific: | |
| menstrual: | |
| age_at_menarche: 12 | |
| age_at_menopause: 48 | |
| parity: | |
| num_live_births: 2 | |
| age_at_first_live_birth: 25 | |
| hormone_use: | |
| estrogen_use: current | |
| oral_contraceptive_use: "N" | |
| symptoms: | |
| - symptom_type: persistent_cough | |
| duration_days: 30 | |