 m.reindex(ids, axis=1)
    m = m.fillna(0)

    r = m + m.T
    values = m.sum() / r.sum()

    output = pd.DataFrame(values).reset_index().rename(
        columns={&#34;option_target&#34;: alternative, 0: &#34;value&#34;})

    if show_rank:
        output = __set_rank(output)

    return output</code></pre>
</details>
</section>
<section>
</section>
<section>
</section>
<section>
<h2 class="section-title" id="header-functions">Functions</h2>
<dl>
<dt id="comchoice.aggregate.win_rate.win_rate"><code class