]> git.sesse.net Git - wloh/blob - templates/index.en.xml
Remove dead function print_navbar().
[wloh] / templates / index.en.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE
3   html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
4   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="no" xmlns:t="http://template.sesse.net/">
6   <head>
7     <title>WLoH ranking probability calculation</title>
8     <link rel="stylesheet" href="style" type="text/css" />
9     <script type="text/javascript">
10 <!--
11 function showScenario(element_id, url) {
12     var obj = document.getElementById(element_id);
13     var parent = obj.parentElement;
14     parent.removeChild(obj);
15     obj = obj.cloneNode(false);
16     obj.data = url;
17     parent.appendChild(obj);
18 }
19     //-->
20     
21     </script>
22   </head>
23   <body>
24     <p style="font-size: smaller;" t:id="navbar">
25       <t:languages>
26         <t:separator>::</t:separator>
27         <t:lang-with-link><a /></t:lang-with-link>
28         <t:lang-no-link />
29       </t:languages>
30     </p>
31
32     <h1>WLoH ranking probability calculation</h1>
33
34     <p><em>This is a hobby project from a third party, and not an official part of <a href="http://wordfeud.aasmul.net/">Wordfeud League of Honour</a>.</em></p>
35
36     <p>The calculation does not take into account uneven playing strength, information from the forum etc.; it assumes that any unplayed games are drawn from a Gaussian distribution with standard deviation <t:match-stddev /> points. The probabilities might not sum to 100%, due to roundoff errors. The numbers will vary a bit between runs, since the calculation is stochastic. For scenario example, click in a cell.</p>
37
38     <p>The players are sorted by nickname.</p>
39
40     <form method="get" t:id="division-selector">
41       <p>Division:<select name="divisjon" onchange="form.submit();" t:id="division">
42           <option />
43         </select>
44 Subdivision:<select name="avdeling" onchange="form.submit();" t:id="subdivision">
45           <option />
46         </select>
47         <input type="submit" value="Vis" />
48       </p>
49     </form>
50
51     <table class="probmatrix" t:id="basic-probabilities">
52       <thead>
53         <tr>
54           <th></th>
55           <t:ranks>
56             <th />
57           </t:ranks>
58           <t:relegation><th>RELEGATION</th></t:relegation>
59         </tr>
60       </thead>
61       <tbody>
62         <tr>
63           <th><t:player /></th>
64           <t:player-ranks>
65             <td class="num"><t:link><a class="unmarkedlink" /></t:link><t:no-link /></td>
66           </t:player-ranks>
67         </tr>
68       </tbody>
69     </table>
70     
71     <p class="scenario"><object id="scenario1" data="" type="text/html"> </object></p>
72
73     <p style="clear: both; padding-top: 1em;">Below is a variant that takes relative playing strength into account; see <a href="rating">the ratings page</a>.</p>
74
75     <table class="probmatrix" t:id="adjusted-probabilities">
76       <thead>
77         <tr>
78           <th></th>
79           <t:ranks>
80             <th />
81           </t:ranks>
82           <t:relegation><th>RELEGATION</th></t:relegation>
83         </tr>
84       </thead>
85       <tbody>
86         <tr>
87           <th><t:player /></th>
88           <t:player-ranks>
89             <td class="num"><t:link><a class="unmarkedlink" /></t:link><t:no-link /></td>
90           </t:player-ranks>
91         </tr>
92       </tbody>
93     </table>
94     
95     <p class="scenario"><object id="scenario2" data="" type="text/html"> </object></p>
96
97     <t:cov-table>
98       <p style="clear: both; padding-top: 1em;">Covariance matrix:</p>
99
100       <table>
101         <thead>
102           <tr>
103             <th />
104             <t:player-list><th /></t:player-list>
105           </tr>
106         </thead>
107         <tbody>
108           <tr>
109             <th t:id="player" />
110             <t:elements><td class="num" /></t:elements>
111           </tr>
112         </tbody>
113       </table>
114     </t:cov-table>
115
116     <p style="clear: both; padding-top: 1em;">Average rating in this subdivision is <strong t:id="average-rating" />.</p>
117     <p class="lastsync">The database was last synchronized <t:last-sync />.</p>
118   </body>
119 </html>