Move the per-dragon statistics to Deep Dive
Bond rates for every dragon, the two Greens and the first-sighting table now sit in Deep Dive next to the rare-dragon analysis; The Dragons tab is the register only. The first-sighting table also drops rows whose company was not recorded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
790b7e6f5e
commit
754e4f1eb8
+12
-12
@@ -471,18 +471,6 @@ footer { border-top-color: var(--line); }
|
|||||||
<div class="gallery" id="reg-gallery"></div>
|
<div class="gallery" id="reg-gallery"></div>
|
||||||
<div class="tbl-wrap" id="reg-table" style="max-height:640px" hidden></div>
|
<div class="tbl-wrap" id="reg-table" style="max-height:640px" hidden></div>
|
||||||
</section>
|
</section>
|
||||||
<section id="bondrates" aria-labelledby="h-dragons">
|
|
||||||
<div class="section-head">
|
|
||||||
<span class="eyebrow">All six colours</span>
|
|
||||||
<h2 id="h-dragons">Every dragon: how often the attempt ends in a bond</h2>
|
|
||||||
<p class="muted small">A run counts here when the player reached that dragon's bonding encounter and the form shows Bonded or Incinerated. Many players die on purpose to reroll, which drags the raw rate down. "Wanted it" keeps only runs where the player said they were after that colour, or any dragon.</p>
|
|
||||||
</div>
|
|
||||||
<div class="chart panel" id="ch-encounters"></div>
|
|
||||||
<div class="grid2">
|
|
||||||
<div class="panel"><h3>The two Greens</h3><div id="green-rescue"></div></div>
|
|
||||||
<div class="panel"><h3>First sighting: what the game rolls</h3><p class="small muted">Which dragon met the cadet first, by company and direction. Pools come from the community PDF, and cells outside them are counted as data-quality flags.</p><div class="tbl-wrap" id="tbl-first"></div></div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="tabpanel" id="panel-deep" role="tabpanel" aria-labelledby="tab-deep" hidden>
|
<div class="tabpanel" id="panel-deep" role="tabpanel" aria-labelledby="tab-deep" hidden>
|
||||||
<section id="map-sec" aria-labelledby="h-map">
|
<section id="map-sec" aria-labelledby="h-map">
|
||||||
@@ -524,6 +512,18 @@ footer { border-top-color: var(--line); }
|
|||||||
</div>
|
</div>
|
||||||
<div id="best-routes"></div>
|
<div id="best-routes"></div>
|
||||||
</section>
|
</section>
|
||||||
|
<section id="bondrates" aria-labelledby="h-dragons">
|
||||||
|
<div class="section-head">
|
||||||
|
<span class="eyebrow">Statistics · all six colours</span>
|
||||||
|
<h2 id="h-dragons">Every dragon: how often the attempt ends in a bond</h2>
|
||||||
|
<p class="muted small">A run counts here when the player reached that dragon's bonding encounter and the form shows Bonded or Incinerated. Many players die on purpose to reroll, which drags the raw rate down. "Wanted it" keeps only runs where the player said they were after that colour, or any dragon.</p>
|
||||||
|
</div>
|
||||||
|
<div class="chart panel" id="ch-encounters"></div>
|
||||||
|
<div class="grid2">
|
||||||
|
<div class="panel"><h3>The two Greens</h3><div id="green-rescue"></div></div>
|
||||||
|
<div class="panel"><h3>First sighting: what the game rolls</h3><p class="small muted">Which dragon met the cadet first, by company and direction. Pools come from the community PDF, and cells outside them are counted as data-quality flags.</p><div class="tbl-wrap" id="tbl-first"></div></div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
<section id="rare" aria-labelledby="h-rare">
|
<section id="rare" aria-labelledby="h-rare">
|
||||||
<div class="section-head">
|
<div class="section-head">
|
||||||
<span class="eyebrow">Blue & Black</span>
|
<span class="eyebrow">Blue & Black</span>
|
||||||
|
|||||||
@@ -642,7 +642,7 @@
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
// first sighting pools
|
// first sighting pools
|
||||||
const fs = groupBy(runs.filter((r) => r.direction !== "Multiple" && r.direction !== "Unknown"), (r) => r.company + "|" + r.direction);
|
const fs = groupBy(runs.filter((r) => !isMissing(r.direction) && !isMissing(r.company)), (r) => r.company + "|" + r.direction);
|
||||||
res.first_sighting = sortedKeys(fs).map((k) => {
|
res.first_sighting = sortedKeys(fs).map((k) => {
|
||||||
const g = fs[k], cnt = groupBy(g, "first_sighting");
|
const g = fs[k], cnt = groupBy(g, "first_sighting");
|
||||||
return { key: k, n: g.length, colors: Object.fromEntries(sortedKeys(cnt).map((c) => [c, cnt[c].length])) };
|
return { key: k, n: g.length, colors: Object.fromEntries(sortedKeys(cnt).map((c) => [c, cnt[c].length])) };
|
||||||
|
|||||||
Reference in New Issue
Block a user