While I'm checking it out (I did see skill at 0 confirming my concern, but still haven't fired up vanilla and/or downloaded new .ini files).
The way the weighted sum calculates right now is if an "aspect" doesn't have any elements in the vector, it returns 50% which doesn't harm or improve the overall score.
This was chosen quickly because we thought it made sense, but now I see how it penalizes the score
Say I have a role with all aspects defined. Then that role potentially could have scores ranging from 0 to 100%
Now say I have a role that is attributes only and the rest are 50% (7)
This means that if I have 100% in Attributes, that 100% will be brought down to 57% ((6*50%+100%)/7)
Instead, it makes more sense to let the role be defined by the score of the attributes itself without averaging in the "null" elements. Instead of .50f being stored for m_role->[aspect].empty(), a null should be stored and the end average should be done over non null values.
This is what I have for vanilla using a fresh build. I'm not sure what an override is. I reset all settings and the nurse is still getting 0
2020-Aug-23 05:54:43.458 VERBOSE core + "Nurse" - "Mebzuth Zal?slogem" [C:\Users\user\Documents\GitHub\Dwarf-Therapist\src\dwarf.cpp:3023] (calc_role_rating)
2020-Aug-23 05:54:43.458 VERBOSE core -attributes: 58.2721 [C:\Users\user\Documents\GitHub\Dwarf-Therapist\src\dwarf.cpp:3131] (calc_role_rating)
2020-Aug-23 05:54:43.458 VERBOSE core -skills: 0 [C:\Users\user\Documents\GitHub\Dwarf-Therapist\src\dwarf.cpp:3132] (calc_role_rating)
2020-Aug-23 05:54:43.458 VERBOSE core -facets: 50 [C:\Users\user\Documents\GitHub\Dwarf-Therapist\src\dwarf.cpp:3133] (calc_role_rating)
2020-Aug-23 05:54:43.458 VERBOSE core -beliefs: 50 [C:\Users\user\Documents\GitHub\Dwarf-Therapist\src\dwarf.cpp:3134] (calc_role_rating)
2020-Aug-23 05:54:43.458 VERBOSE core -goals: 50 [C:\Users\user\Documents\GitHub\Dwarf-Therapist\src\dwarf.cpp:3135] (calc_role_rating)
2020-Aug-23 05:54:43.458 VERBOSE core -needs: 50 [C:\Users\user\Documents\GitHub\Dwarf-Therapist\src\dwarf.cpp:3136] (calc_role_rating)
2020-Aug-23 05:54:43.459 VERBOSE core -preferences: 50 [C:\Users\user\Documents\GitHub\Dwarf-Therapist\src\dwarf.cpp:3137] (calc_role_rating)
2020-Aug-23 05:54:43.459 VERBOSE core -total: 26.034 [C:\Users\user\Documents\GitHub\Dwarf-Therapist\src\dwarf.cpp:3138] (calc_role_rating)