News for hackers. Stuff that matters.
Re:What happened when Boston Public Schools tried for equity... by snerbles on Monday September 24, 2018 @11:32AM (#18058527)
Back when I was enlisted, my sergeant had a bit of a conundrum. Troops were grumbling about being repeatedly assigned to the same posts, and we didn't have enough time during the shift to scramble the roster while ensuring adequate manning.

I wrote a simple Excel macro which randomly assigned security personnel to posts they held qualifications for. Since it didn't have any knowledge of personality conflicts or preferences of the troops getting assignments, the results generated by the Rosternator 3000 were generally hated by all involved.

In the end the tool was still useful - the mere threat of a randomized roster was enough to get everyone to quit grumbling.

Re:What happened when Boston Public Schools tried for equity... by WhompingWindows on Monday September 24, 2018 @01:21PM (#18059496)
How many personnel/posts were you assigning, out of curiosity? I've seen a similar problem, not automated yet, with around 20 staff members, who have varying conditionals which would have to be accounted for. It's not necessarily worth my time to automate for such a small # of people, then again it's a fun puzzle.

The current approach is a 2-month rotating schedule. Since there are day/evening/overnight shifts, with overnight being the least desirable and evening the most desirable, it was deemed most equitable to simply rotate members through different 2-month schedules. This way, everyone across the year will be doing the same sets/timings of shifts in different months. This becomes very important for evening shifts, in particular, since transitioning to/from that schedule requires time to overcome the jet-lag induced.

Re:What happened when Boston Public Schools tried for equity... by snerbles on Monday September 24, 2018 @02:11PM (#18059912)
Roughly seventy personnel to about half as many posts. This was during the surge in Iraq, so half (or more) of our garrison was out in the sandbox at any given time anyway.

This was a shift-specific tool, so it only had to account for certifications (e.g. a Response Force Member wouldn't be put into a Controller/Dispatch position). From what I recall, the post listing itself was on one sheet with personnel/qualifications on another. Posts were iterated by priority, so critical manning positions were always appropriately staffed from the source roster.

Re:What happened when Boston Public Schools tried for equity... by ghrifter on Monday September 24, 2018 @07:57PM (#18062509)
What did you do as an enlisted guy?
Re:What happened when Boston Public Schools tried for equity... by Spooky23 on Monday September 24, 2018 @04:10PM (#18060987)
Re:What happened when Boston Public Schools tried for equity... by pkaye on Monday September 24, 2018 @01:54PM (#18059786)
I wonder if you could augment this further. Assign a scoring system for various conflicts and preferences. Start with the randomly assigned roster and swap random people as long as it improves the overall score.
Re:What happened when Boston Public Schools tried for equity... by jschwartzi on Monday September 24, 2018 @02:22PM (#18060007)
The problem here is that these conflicts and preferences are constantly shifting. Two people can be good friends one week and decide they hate each others' guts the next week. And then they can go back to being friends again the week after. The Rosternator 3000 can't keep up with this so you're always going to be generating bad schedules for a certain portion of your people.

This is one of the reasons good retail managers ignore the advice of their time-keeping systems and give peoples' requests preference. The time-keeping system ignores all of the human aspects of the problem to focus on the least-important aspect of keeping a store running--making sure there are warm bodies in it.

Re:What happened when Boston Public Schools tried for equity... by irrational on Monday September 24, 2018 @02:35PM (#18060129)
>Two people can be good friends one week and decide they hate each others' guts the next week. And then they can go back to being friends again the week after.

So... you're saying soldiers are like girls in high school?

Re:What happened when Boston Public Schools tried for equity... by snerbles on Monday September 24, 2018 @02:43PM (#18060208)
Yes.

"I thought this high school bullshit was over!" is one of the most depressingly funny phrases I've ever heard eighteen-year-olds repeatedly utter.

Re:What happened when Boston Public Schools tried for equity... by mrguyorama on Monday September 24, 2018 @03:46PM (#18060795)
Usually being uttered by the same one's CAUSING said problems
Re:What happened when Boston Public Schools tried for equity... by taneq on Monday September 24, 2018 @05:51PM (#18061781)
Yeah, steer clear of anyone who loudly proclaims they "hate drama". It's like when a two-year-old starts saying they're 'not tired'.
Re:What happened when Boston Public Schools tried for equity... by mcguire on Monday September 24, 2018 @05:39PM (#18061695)
Ever been in a university faculty meeting?
Re:What happened when Boston Public Schools tried for equity... by oh_sigh on Monday September 24, 2018 @03:54PM (#18060883)
Considering soldiers are usually only a year or few out of high school, the answer is yes.
Re:What happened when Boston Public Schools tried for equity... by irrational on Monday September 24, 2018 @04:59PM (#18061416)
I'm just imagining the girls from my high school with weapons. Yikes!
Re:What happened when Boston Public Schools tried for equity... by jschwartzi on Wednesday September 26, 2018 @11:17AM (#18076801)
Boys get like this too. It's an affliction of the high-school aged.
Re:What happened when Boston Public Schools tried for equity... by dantheman0207 on Monday September 24, 2018 @02:11PM (#18059903)
This is probably pretty close to how the roster originally came to be, except organically and without any computers.
Re:What happened when Boston Public Schools tried for equity... by snerbles on Monday September 24, 2018 @02:11PM (#18059907)
This thought did occur to me, but I didn't have the time to continue iteration past the first revision. Police blotters don't write themselves, as it turns out.

If I had to do it today, I'd probably put the list of pair scores on one sheet (e.g. Snuffy/Smith at +5, Smith/Jones at -3) and perform iterative swapping as you suggested.

Re:What happened when Boston Public Schools tried for equity... by ThrustVectoring on Monday September 24, 2018 @05:28PM (#18061618)
Note that this is the "stable roommates problem" and does not necessarily have an "optimal" solution (where "optimal" means "no unmatched pair of people would've rather been matched together". Eg, if Albert prefers Bob over Charles, Bob prefers Charles over Albert, and Charles prefers Albert over Bob, and all three prefer being matched with the last person over anyone else).
Re:What happened when Boston Public Schools tried for equity... by jpfed on Monday September 24, 2018 @02:22PM (#18060003)
I did something very similar to this for my wedding seating assignments.
Re:What happened when Boston Public Schools tried for equity... by mikeash on Monday September 24, 2018 @11:37AM (#18058579)
Nice one. The key to effective use of computers is knowing exactly what problem you want to solve.