Added augmentation columns to profile interpolation.

This commit is contained in:
DebaucheryLibrarian 2024-10-22 02:39:53 +02:00
parent 91662da9ab
commit f38c8aa8e0
1 changed files with 20 additions and 1 deletions

View File

@ -80,6 +80,15 @@ function curateProfileEntry(profile) {
penis_girth: profile.penisGirth, penis_girth: profile.penisGirth,
circumcised: profile.circumcised, circumcised: profile.circumcised,
natural_boobs: profile.naturalBoobs, natural_boobs: profile.naturalBoobs,
boobs_volume: profile.boobsVolume,
boobs_implant: profile.boobsImplant,
boobs_placement: profile.boobsPlacement,
boobs_surgeon: profile.boobsSurgeon,
natural_butt: profile.naturalButt,
butt_volume: profile.buttVolume,
butt_implant: profile.buttImplant,
natural_lips: profile.naturalLips,
lips_volume: profile.lipsVolume,
height: profile.height, height: profile.height,
weight: profile.weight, weight: profile.weight,
shoe_size: profile.shoeSize, shoe_size: profile.shoeSize,
@ -179,6 +188,16 @@ async function interpolateProfiles(actorIdsOrNames, context) {
'penis_length', 'penis_length',
'penis_girth', 'penis_girth',
'circumcised', 'circumcised',
'natural_boobs',
'boobs_volume',
'boobs_implant',
'boobs_placement',
'boobs_surgeon',
'natural_butt',
'butt_volume',
'butt_implant',
'natural_lips',
'lips_volume',
'hair_color', 'hair_color',
'eyes', 'eyes',
'has_tattoos', 'has_tattoos',
@ -200,7 +219,7 @@ async function interpolateProfiles(actorIdsOrNames, context) {
profile.date_of_death = getMostFrequentDate(valuesByProperty.date_of_death, context); profile.date_of_death = getMostFrequentDate(valuesByProperty.date_of_death, context);
profile.age = getHighest(valuesByProperty.age); profile.age = getHighest(valuesByProperty.age);
profile.natural_boobs = profile.gender === 'male' ? null : getMostFrequent(valuesByProperty.natural_boobs, context); // profile.natural_boobs = profile.gender === 'male' ? null : getMostFrequent(valuesByProperty.natural_boobs, context);
// ensure most frequent country, city and state match up // ensure most frequent country, city and state match up
profile.birth_country_alpha2 = getMostFrequent(valuesByProperty.origin.map((location) => location.country), context); profile.birth_country_alpha2 = getMostFrequent(valuesByProperty.origin.map((location) => location.country), context);