IKANOW / Workforce-of-Tomorrow

Workforce of Tomorrow Team Repository
0 stars 0 forks source link

Hiring Scenario saving causes a divide-by-100 shift upon reloading, and happens each time scenario is overwritten #167

Closed rsalexander74 closed 12 years ago

rsalexander74 commented 12 years ago

See saved hiring scenarios "Who's Journey?" and "overwrite test"

rjarrett commented 12 years ago

this is now fixed and ready for testing

rsalexander74 commented 12 years ago

Still has errors. A saved hiring scenario with 20% change in 2013 shows 92,153 scenario FTEs in 2013. this should be the same number that shows up in Workforce Advanced when that scenario is loaded, but instead, the number is 83,859. This is almost, but not quite, (base FTE + (0.2%/2 of hires)), instead of (base FTE + (20%/2 of hires)). Off by about 12 (with rounding error could that be the explanation?)

rjarrett commented 12 years ago

Great Catch! This issue has now been fixed as well.

rsalexander74 commented 12 years ago

OK, but it still doesn't load into WF Adv exactly as shown in Scen Editor for years after the hiring happens. Example, hiring scen called "2013 30%", in scen editor, 2013 is 96,342 and 2014 is 101,669. In WF Adv, 2013 is correct, but 2014 is 91,484. In this example, the number in 2014 should go down from the 2013 number, since there were no new hires in 2014

rsalexander74 commented 12 years ago

accidentally closed - see above comment

rjarrett commented 12 years ago

Hey Rob, awesome catch. There was something missing in one of the sql calls because the widgets incorporate workstream and the editor does not. Again, nice find!

rsalexander74 commented 12 years ago

Verified.