Skip to content

Commit 5c6d843

Browse files
committed
update person fields
1 parent 4dc5470 commit 5c6d843

File tree

1 file changed

+29
-9
lines changed

1 file changed

+29
-9
lines changed

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

Lines changed: 29 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,36 @@
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",
33+
"education_degree",
3834
"occupation",
39-
"locale",
35+
# US-specific fields
36+
"street_name",
37+
"street_number",
38+
"unit",
39+
"state",
40+
"phone_number",
41+
# Japan-specific fields
42+
"area",
43+
"prefecture",
44+
"zone",
45+
# India-specific fields
46+
"district",
47+
"religion",
48+
"first_language",
49+
"second_language",
50+
"third_language",
4051
]
4152

4253

4354
PERSONA_FIELDS = [
55+
# Core persona fields
4456
"persona",
4557
"career_goals_and_ambitions",
4658
"arts_persona",
@@ -61,4 +73,12 @@
6173
"extraversion",
6274
"agreeableness",
6375
"neuroticism",
76+
# Japan-specific persona fields
77+
"aspects",
78+
"digital_skills",
79+
# India-specific persona fields
80+
"linguistic_persona",
81+
"religious_persona",
82+
"linguistic_background",
83+
"religious_background",
6484
]

0 commit comments

Comments
 (0)