Skip to content

Commit ece67de

Browse files
authored
chore: update person fields (#83)
* update person fields * add national id * shuffle and add email address
1 parent 4dc5470 commit ece67de

File tree

1 file changed

+31
-9
lines changed

1 file changed

+31
-9
lines changed

src/data_designer/engine/sampling_gen/entities/dataset_based_person_fields.py

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515

1616
PII_FIELDS = [
17+
# Core demographic fields
1718
"uuid",
1819
"first_name",
1920
"middle_name",
@@ -22,25 +23,38 @@
2223
"age",
2324
"birth_date",
2425
"marital_status",
25-
"street_name",
26-
"street_number",
27-
"unit",
2826
"postcode",
29-
"region",
3027
"city",
31-
"district",
28+
"region",
3229
"country",
33-
"area",
34-
"zone",
30+
"locale",
3531
"bachelors_field",
36-
"education_degree",
3732
"education_level",
3833
"occupation",
39-
"locale",
34+
"national_id",
35+
# US-specific fields
36+
"street_name",
37+
"street_number",
38+
"unit",
39+
"state",
40+
"email_address",
41+
"phone_number",
42+
# Japan-specific fields
43+
"area",
44+
"prefecture",
45+
"zone",
46+
# India-specific fields
47+
"district",
48+
"religion",
49+
"education_degree",
50+
"first_language",
51+
"second_language",
52+
"third_language",
4053
]
4154

4255

4356
PERSONA_FIELDS = [
57+
# Core persona fields
4458
"persona",
4559
"career_goals_and_ambitions",
4660
"arts_persona",
@@ -61,4 +75,12 @@
6175
"extraversion",
6276
"agreeableness",
6377
"neuroticism",
78+
# Japan-specific persona fields
79+
"aspects",
80+
"digital_skills",
81+
# India-specific persona fields
82+
"linguistic_persona",
83+
"religious_persona",
84+
"linguistic_background",
85+
"religious_background",
6486
]

0 commit comments

Comments
 (0)