Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 60 61 [62] 63 64 ... 87

Author Topic: Dwarf Therapist v42.1.7 | DF 50.14  (Read 423226 times)

Uthimienure

  • Bay Watcher
  • O frabjous day!!
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #915 on: August 22, 2020, 02:50:49 pm »

Is there a way in DT to sort by or display the level of cave adaptation?
Logged
FPS in Gravearmor (925+ dwarves) is 2-5 (v0.47.05 lives on).
"I've never really had issues with the old DF interface (I mean, I loved even 'umkh'!)" ... brewer bob
As we say in France: "ah, l'amour toujours l'amour"... François D.

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #916 on: August 22, 2020, 02:58:40 pm »

By creating a custom grid view (either from scratch or from a copy of an existing one), add a column "Trait" → "Cave Adaptation".
Logged

Uthimienure

  • Bay Watcher
  • O frabjous day!!
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #917 on: August 22, 2020, 03:49:49 pm »

By creating a custom grid view (either from scratch or from a copy of an existing one), add a column "Trait" → "Cave Adaptation".

Thanks!  It worked  :)
Logged
FPS in Gravearmor (925+ dwarves) is 2-5 (v0.47.05 lives on).
"I've never really had issues with the old DF interface (I mean, I loved even 'umkh'!)" ... brewer bob
As we say in France: "ah, l'amour toujours l'amour"... François D.

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #918 on: August 22, 2020, 05:17:17 pm »

I seem to vaguely recall discovering a problem with the way nurse is calculated

It doesn't make sense it's all in red

https://imgur.com/gallery/oyhn5V9

yeah, this post

http://www.bay12forums.com/smf/index.php?topic=122968.msg7306290#msg7306290

dwarf.cpp

2962 to 3126

I'm trying to figure out how to open a ticket in github.

The issue seems to be there is no check if the role's aspect has no members. If so.  The aspect should be excluded from the averaging (weighted sum).

Edit
It's definitely the skills.  I looked through the logic and the logic is coded in there.  I'm in the works of debugging it.  If I remove the skills section altogether, the roles look "normal" for nurse.  But if I do by either forcing 50 or not.  It's either all red or all black.  I'm thinking the aspect isn't reporting empty for some reason.
« Last Edit: August 22, 2020, 09:11:33 pm by thistleknot »
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #919 on: August 23, 2020, 03:55:33 am »

I don't have any issue with nurse. Are you sure you don't have a broken override?
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #920 on: August 23, 2020, 06:24:24 am »

Hmm. Idk

Is your lawmaker good too?

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #921 on: August 23, 2020, 06:31:18 am »

Do you mean "Lawdwarf (Weak)"? I don't see anything wrong with this one either.
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #922 on: August 23, 2020, 06:34:28 am »

Sorry early. Ye lawdwarf. I'm using a build w mwmod. So maybe thats it. I'll check against vanilla

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #923 on: August 23, 2020, 07:47:21 am »

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

Spoiler (click to show/hide)
« Last Edit: August 23, 2020, 07:58:47 am by thistleknot »
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #924 on: August 23, 2020, 09:15:34 am »

If you are comparing dwarves for a given role, it does not matter. If you are comparing roles for a given dwarf, yes it is important. But I am not sure what is the best solution. If you want to have each role use the best of the 0-100% range, I think it would be best to apply role ratings normalization per-role, instead of globally. Then applying the empty aspects ratings or not is simply a linear transform and should not affect the result of the normalization. This brings the question: which normalization method? I currently have three: Stratified MAD (+ factors), ECDF, double linear transform (around median).
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #925 on: August 23, 2020, 10:19:07 am »

Stratified MAD (+ factors) should be capable of replacing everything. 

As to per role, I compare across roles.  I see what your point is if your doing it job by job, but that was something I tried to overcome (I was doing that in spreadsheets way back) but the point of the labor optimizer was to start from a single list of %'s and start from the highest and work down (across roles)

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #926 on: August 23, 2020, 10:47:30 am »

I don't get it... for one my breakpoint didn't stop, but two it looks normal now...

https://imgur.com/a/xNF7zTv

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #927 on: August 23, 2020, 11:04:13 am »

I reran some comparisons. I *think* it has something to do with the version of mwmod I'm running. I thought I checked vanilla earlier and saw the same behaviour. It could still be an edge case bug, but rechecking the exact same build against mw and vanilla shows no issue with vanilla (at least in terms of the original issue, low role scores for nurse and lawdwarf).

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #928 on: August 23, 2020, 11:15:41 am »

I did a really cheap hack to work around my aspect concerns.

Here is a screenshot showcasing the difference.

Spoiler (click to show/hide)

https://imgur.com/gallery/iJOtZIQ

that seems to solve my problems.

I still get lower than normal nurse scores but they are much better, in the 40% range.  Looking at the log (using --trace) I see they have higher scores than what is drawn, but I believe that's because the final scores are ran through another normalization method at the end and these scores are on the lower end of other scores.

*In my log it no longer shows skills reporting at 0% but 50% and I exclude that from the weighted sum with the above code [reasoning: knowing that's hard coded for missing aspects]

Suggested workaround until a better solution:
https://github.com/cvuchener/Dwarf-Therapist/compare/rolecalc...thistleknot:rolecalc
« Last Edit: August 23, 2020, 11:40:54 am by thistleknot »
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist v41.1.7 | DF 47.04
« Reply #929 on: August 23, 2020, 01:56:35 pm »

Clement

I forget how skill rust was calculated into role ratings if at all.  Do you know?  Is it counted at all?  Is there a penalty applied (like potential) for skills that are experiencing rust?
Pages: 1 ... 60 61 [62] 63 64 ... 87