Skip to content

Commit

Permalink
Refinement of expanding box
Browse files Browse the repository at this point in the history
  • Loading branch information
jwarren-scottlogic committed Nov 12, 2024
1 parent b906ff5 commit 3651d0b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions _posts/2024-11-05-building-an-assignment-algorithm-3.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,18 @@ Alternatively, let’s say we order the slots from an uneven spread of surplus d
The spread score:
</h4>
<p>
Spread is a measure given to a slot of how oversubscribed the talks that it contains are. For example, if a slot has many oversubscribed talks, it has an uneven spread and a high “spread score”. If there are no oversubscribed talks, there is an even spread.
Spread is a measure given to each slot, representing how oversubscribed the talks within it are. For example, if a slot has many oversubscribed talks, it has an uneven spread and a high “spread score”. If there are no oversubscribed talks, there is an even spread.
</p>

<p>
The spread score is measured before any assignments are made. The process is as follows...
The spread score is calculated before any assignments are made, using the following process...

<ol>
<li>Each talk is given a “popular score” based on a sum of what choices people have made for that talk, minus a value for the capacity of the talk venue. If a talk has a high “popular score”, it is oversubscribed.</li>
<li>Order all the talks by the “popular score”, irrespective of slot to make a popularity list</li>
<li>For each talk, according to its ranking in the ordered popularity list, you accrue a value to the slot it’s part of. This is the slot’s “spread score”. ie if a talk is 1st in the popularity list of a 10 talk conference, you would +10 to the spread score of the slot it is from, the last talk in the list (least popular talk) would +1 to the spread score of the slot it is from. </li>
<li>Order all the talks by the “popular score”, irrespective of slot to make a popularity list. It's order in the popularity list is its "popularity ranking"</li>
<li>Sum the "popularity rankings" (not popularity score) of a slot's talks. This is the slot’s “spread score”. </li>
</ol>

The higher up the popularity list, the more oversubscribed the talk, the higher the value given to its associated slot. That is to say, the more oversubscribed talks a slot has, the higher its spread score, the more uneven its spread.
For example, if a talk is 1st in the popularity list of a 10 talk conference, its popularity ranking is 10, which would be added to the spread score of the slot it is from. The last talk in the list (least popular talk) would have a popularity ranking of 1, which would be added to the spread score of the slot it is from. The higher up the popularity list, the more oversubscribed the talk, the higher the value given to its associated slot. That is to say, the more oversubscribed talks a slot has, the higher its spread score, the more uneven its spread.
</p>

<h4>
Expand Down

0 comments on commit 3651d0b

Please sign in to comment.