Skip to content

Commit

Permalink
more styling adjustents
Browse files Browse the repository at this point in the history
  • Loading branch information
jwarren-scottlogic committed Oct 29, 2024
1 parent 7985140 commit 341e938
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions _posts/2024-10-21-building-an-assignment-algorithm-2.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ Finally, we landed on using the Z-score for aggregate compromise. The Z-score is
The value which we use to score attendees can be calculated as:
\[
\begin{align}
\text{sorting score} =\quad \quad &\text{standardisedSurplusScore} \\
- &\text{standardisedCompromiseScore}
\text{sorting score} \quad = \quad &\text{standardisedSurplusScore} \\
-\; &\text{standardisedCompromiseScore}
\end{align}
\]
<br>
Expand All @@ -171,7 +171,7 @@ The value which we use to score attendees can be calculated as:

\[
\begin{align}
standardisedCompromiseScore = \quad\quad
standardisedCompromiseScore \quad = \quad
&\left( \frac{\text{mean surplus difference}}{\text{max surplus}} \right) \\ \\
\times &\left( \frac{\text{attendee Z score}}{2.72} \right)^3
\end{align}
Expand All @@ -189,7 +189,7 @@ standardisedCompromiseScore = \quad\quad

<p>
&emsp;&emsp;
\(\text{if maxSurplus} \neq 0 \text{ and attendee surplus difference} > 0 \text{:}\)
\(\text{if} maxSurplus \neq 0 \text{ and attendee surplus difference} > 0 \text{:}\)
</p>

\[standardisedSurplusScore = \frac{\text{attendee surplus difference}}{\text{max surplus difference}}
Expand All @@ -201,7 +201,7 @@ standardisedCompromiseScore = \quad\quad

<p>
&emsp;&emsp;
\(\text{if maxSurplus} \neq 0 \text{ and attendee surplus difference} < 0 \text{:}\)
\(\text{if} maxSurplus \neq 0 \text{ and attendee surplus difference} < 0 \text{:}\)
</p>

\[standardisedSurplusScore =
Expand All @@ -214,7 +214,7 @@ standardisedCompromiseScore = \quad\quad

<p>
&emsp;&emsp;
\(\text{if maxSurplus} = 0 \text{:}\)
\(\text{if} maxSurplus = 0 \text{:}\)
</p>

\[standardisedSurplusScore =
Expand Down

0 comments on commit 341e938

Please sign in to comment.