From b7bb5917e27a3df0cb1fe6a0ae19fff91a13b894 Mon Sep 17 00:00:00 2001 From: MrTwixxy <64733980+MrTwixxy@users.noreply.github.com> Date: Wed, 12 Aug 2026 15:57:19 +0200 Subject: [PATCH 1/2] Revert to contest baseline --- .../code/baseline-original/solution.ipynb | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Individual-Contest/1_Find_the_Order/code/baseline-original/solution.ipynb b/Individual-Contest/1_Find_the_Order/code/baseline-original/solution.ipynb index cd57ecc..941b645 100644 --- a/Individual-Contest/1_Find_the_Order/code/baseline-original/solution.ipynb +++ b/Individual-Contest/1_Find_the_Order/code/baseline-original/solution.ipynb @@ -13,8 +13,7 @@ "source": [ "# Find the Order \u2014 Baseline solution\n", "\n", - "A **deterministic** baseline. It uses `prefix.json` \u2014 the two chunks known to come\n", - "first \u2014 and leaves every other chunk in the order it was given.\n", + "A **deterministic** baseline. It leaves every chunk in increasing order.\n", "\n", "It writes **`answers.json`** at the repo root in the rank convention: `P[i]` is the\n", "predicted chronological position of `chunk_i.wav`.\n", @@ -54,12 +53,7 @@ "answers = {}\n", "for did in dialogue_ids:\n", " n = n_chunks(os.path.join(TEST_DIR, did))\n", - " first, second = prefix[did]\n", - " order = [first, second] + [i for i in range(n) if i not in (first, second)]\n", - " rank = [0] * n # rank[i] = position of chunk_i\n", - " for pos, idx in enumerate(order):\n", - " rank[idx] = pos\n", - " answers[did] = rank\n", + " answers[did] = list(range(n))\n", "\n", "with open(OUTPUT, \"w\") as f:\n", " json.dump(answers, f)\n", @@ -201,4 +195,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +} From 2b88cd9567b5fb197190f114ba555bed512e2fa6 Mon Sep 17 00:00:00 2001 From: MrTwixxy <64733980+MrTwixxy@users.noreply.github.com> Date: Wed, 12 Aug 2026 15:58:14 +0200 Subject: [PATCH 2/2] Revert to contest baseline --- .../1_Find_the_Order/code/baseline/solution.ipynb | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Individual-Contest/1_Find_the_Order/code/baseline/solution.ipynb b/Individual-Contest/1_Find_the_Order/code/baseline/solution.ipynb index 125ee17..e44aba9 100644 --- a/Individual-Contest/1_Find_the_Order/code/baseline/solution.ipynb +++ b/Individual-Contest/1_Find_the_Order/code/baseline/solution.ipynb @@ -27,8 +27,7 @@ "source": [ "# Find the Order — Baseline solution\n", "\n", - "A **deterministic** baseline. It uses `prefix.json` — the two chunks known to come\n", - "first — and leaves every other chunk in the order it was given.\n", + "A **deterministic** baseline. It leaves every chunk in increasing order.\n", "\n", "It writes **`answers.json`** at the repo root in the rank convention: `P[i]` is the\n", "predicted chronological position of `chunk_i.wav`.\n", @@ -68,12 +67,7 @@ "answers = {}\n", "for did in dialogue_ids:\n", " n = n_chunks(os.path.join(TEST_DIR, did))\n", - " first, second = prefix[did]\n", - " order = [first, second] + [i for i in range(n) if i not in (first, second)]\n", - " rank = [0] * n # rank[i] = position of chunk_i\n", - " for pos, idx in enumerate(order):\n", - " rank[idx] = pos\n", - " answers[did] = rank\n", + " answers[did] = list(range(n))\n", "\n", "with open(OUTPUT, \"w\") as f:\n", " json.dump(answers, f)\n", @@ -215,4 +209,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +}