Skip to content

Commit

Permalink
fixing expandable
Browse files Browse the repository at this point in the history
  • Loading branch information
jwarren-scottlogic committed Nov 6, 2024
1 parent e53577b commit a3024f7
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions _posts/2024-11-05-building-an-assignment-algorithm-3.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ author: jwarren
summary {
font-weight: 300;
display: block;
font-style: normal
font-style: normal;
cursor: pointer;
}
summary::after {
cursor: pointer;
content: '[+more]';
text-decoration: underline;
text-decoration-style: dotted;
Expand All @@ -26,13 +26,12 @@ author: jwarren
details[open] > summary::after {
content: ' [−less]';
}
details[open]::before {
details[open]::before {
content: '';
display: block;
border-top: 1px solid #ccc;
margin-top: 1em;
}

details[open]::after {
content: '';
display: block;
Expand All @@ -43,10 +42,6 @@ author: jwarren
details {
font-style: italic;
}
details.no-italic {
font-size: 0.8em;
font-style: normal;
}
</style>

The third and final blog of the series, well done for making it thus far! We will look at the last piece of the puzzle - slot sorting, which can make a substantial difference to the outcome of our algorithm. Then we will wrap up - looking at how all the elements of the algorithm discussed in the past 3 blogs in this series come together. You can find the [first blog here]({{site.baseurl}}/2024/10/24/building-an-assignment-algorithm-1.html), and the [second blog here]({{site.baseurl}}/2024/11/04/building-an-assignment-algorithm-2.html).
Expand All @@ -71,11 +66,11 @@ Alternatively, let’s say we order the slots from an uneven spread of surplus d

The plot thickens if there are duplicate talks. Duplicate talks are the same talk given in different time slots - if for example, the talk is thought to be popular or important. Obviously, attendees shouldn’t attend the same talk twice, so care must be taken in not assigning the same talk twice. We won’t go into this in too much depth, but this does affect slot sorting.

<details><summary>Click the 'more' button to find out how.</summary>
<details><summary>Click here to find out how.</summary>
<p>
Firstly, slots containing the most duplicate talks go first. Duplicate talks are put at the front so that the most forced choices happen at the beginning, meaning that the attendees’ aggregate compromise has time (/remaining slots to assign) to even out, in comparison to other attendees, by the end of the algorithm.
<p>
</p>
<p>
Next, we sort by how spread-out choices are. Duplicate talk slots with an even spread of choices to go first. This way, users aren't assigned a bad set of choices because the good assignments are no longer possible. This would be due to the previously assigned slots, which were oversubscribed (and therefore compromise high). Whereas as we discussed earlier, we want non-duplicate talk slots with a small spread (ie as many oversubscribed talks as possible) to go first. This is so that again, we generate as much compromise at the beginning of the algorithm run as possible, which will then even out over all the delegates by the end. After trialling and testing this method, we found it led to optimal results.
</p>
</details>
Expand Down

0 comments on commit a3024f7

Please sign in to comment.