From d90b5d55322e75dd28b95376614663a506c829d4 Mon Sep 17 00:00:00 2001 From: Thomas Hallock Date: Mon, 20 Oct 2025 11:28:12 -0500 Subject: [PATCH] refactor(levels): remove Time and Pass sections from kyu details MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the Time and Pass requirement cards since we don't have actual tests implemented. Now only showing Add/Sub, Multiply, and Divide requirements. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/web/src/app/levels/page.tsx | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/apps/web/src/app/levels/page.tsx b/apps/web/src/app/levels/page.tsx index 962e207b..b471ad7a 100644 --- a/apps/web/src/app/levels/page.tsx +++ b/apps/web/src/app/levels/page.tsx @@ -229,23 +229,8 @@ function parseKyuDetails(rawText: string) { value: `${match[1]}-digit total (${match[2]} problems)`, }) } - } else if (line.includes('Time:')) { - // Parse time and pass requirements - const timeMatch = line.match(/(\d+) min/) - const passMatch = line.match(/≥\s*(\d+)\/(\d+)/) - if (timeMatch && passMatch) { - sections.push({ - icon: '⏱️', - label: 'Time', - value: `${timeMatch[1]} minutes`, - }) - sections.push({ - icon: '✅', - label: 'Pass', - value: `≥${passMatch[1]}/${passMatch[2]} pts`, - }) - } } + // Skip Time and Pass requirements since we don't have tests implemented } return sections