Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ <h2 id="competition-results-title">Competition results</h2>
<article class="archive-record">
<p class="path-label">RESULT 2026 / team result</p>
<h3>Kaspersky{CTF} 2026</h3>
<p>Division: North America</p>
<p>Division: North America, South America, Caribbean</p>
<dl class="archive-meta">
<div><dt>Placement</dt><dd>3 / 361</dd></div>
<div><dt>Solved</dt><dd>30 / 30</dd></div>
<div><dt>Score</dt><dd>4,413</dd></div>
</dl>
</article>
<article class="archive-record">
Expand Down
4 changes: 2 additions & 2 deletions site/results/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<article class="archive-record">
<p class="path-label">RESULT 2026 / team result</p>
<h2 id="kaspersky-ctf-title">Kaspersky{CTF} 2026</h2>
<p>Division: North America</p>
<dl class="archive-meta"><div><dt>Placement</dt><dd>3 / 361</dd></div></dl>
<p>Division: North America, South America, Caribbean</p>
<dl class="archive-meta"><div><dt>Placement</dt><dd>3 / 361</dd></div><div><dt>Solved</dt><dd>30 / 30</dd></div><div><dt>Score</dt><dd>4,413</dd></div></dl>
</article>
</section>
<section class="archive-section" aria-labelledby="cyber-apocalypse-title">
Expand Down
8 changes: 6 additions & 2 deletions tests/site-contract.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ test("the homepage removes the redundant path and publishes every verified resul
assert.match(home, /5,997/);
assert.match(home, /Kaspersky\{CTF\} 2026/);
assert.match(home, /3 \/ 361/);
assert.match(home, /Division: North America/);
assert.match(home, /Division: North America, South America, Caribbean/);
assert.match(home, /30 \/ 30/);
assert.match(home, /4,413/);
assert.equal((home.match(/RESULT 2026 \/ team result/g) ?? []).length, 1);
assert.equal((home.match(/RESULT 2026 \/ member result with a prior team/g) ?? []).length, 2);
assert.doesNotMatch(home, /KK \/ RESULT 2026/);
Expand All @@ -106,7 +108,9 @@ test("the Results page contains the complete verified competition record", () =>
assert.match(results, /Open - International/);
assert.match(results, /Kaspersky\{CTF\} 2026/);
assert.match(results, /3 \/ 361/);
assert.match(results, /Division: North America/);
assert.match(results, /Division: North America, South America, Caribbean/);
assert.match(results, /30 \/ 30/);
assert.match(results, /4,413/);
assert.equal((results.match(/RESULT 2026 \/ team result/g) ?? []).length, 1);
assert.ok(
results.indexOf("Kaspersky{CTF} 2026") < results.indexOf("Cyber Apocalypse 2026"),
Expand Down