From edce01703f1a83dcc821720227027b748cf462c7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 27 Nov 2025 01:24:11 +0000 Subject: [PATCH] Docs: Update benchmark for test 4 --- .../outputs/anthropic_claude-opus-4.5 TEMP_0.7.js | 5 ----- .../anthropic_claude-sonnet-4.5 TEMP_0.7.js | 5 ----- .../outputs/google_gemini-2.5-pro.js | 5 ----- .../google_gemini-3-pro-preview TEMP_0.35.js | 5 ----- .../outputs/moonshotai_kimi-k2-thinking.js | 11 ----------- .../4_determinant/outputs/openai_gpt-5.1-codex.js | 3 --- .../outputs/openrouter_bert-nebulon-alpha.js | 15 --------------- .../outputs/openrouter_sherlock-think-alpha.js | 2 -- tests/4_determinant/outputs/x-ai_grok-4.1-fast.js | 5 ----- 9 files changed, 56 deletions(-) delete mode 100644 tests/4_determinant/outputs/anthropic_claude-opus-4.5 TEMP_0.7.js delete mode 100644 tests/4_determinant/outputs/anthropic_claude-sonnet-4.5 TEMP_0.7.js delete mode 100644 tests/4_determinant/outputs/google_gemini-2.5-pro.js delete mode 100644 tests/4_determinant/outputs/google_gemini-3-pro-preview TEMP_0.35.js delete mode 100644 tests/4_determinant/outputs/moonshotai_kimi-k2-thinking.js delete mode 100644 tests/4_determinant/outputs/openai_gpt-5.1-codex.js delete mode 100644 tests/4_determinant/outputs/openrouter_bert-nebulon-alpha.js delete mode 100644 tests/4_determinant/outputs/openrouter_sherlock-think-alpha.js delete mode 100644 tests/4_determinant/outputs/x-ai_grok-4.1-fast.js diff --git a/tests/4_determinant/outputs/anthropic_claude-opus-4.5 TEMP_0.7.js b/tests/4_determinant/outputs/anthropic_claude-opus-4.5 TEMP_0.7.js deleted file mode 100644 index d89e0c0..0000000 --- a/tests/4_determinant/outputs/anthropic_claude-opus-4.5 TEMP_0.7.js +++ /dev/null @@ -1,5 +0,0 @@ -async function calculateDeterminant(matrix) { - const { det } = await import("https://esm.run/mathjs"); - return det(matrix); -} -export default calculateDeterminant; \ No newline at end of file diff --git a/tests/4_determinant/outputs/anthropic_claude-sonnet-4.5 TEMP_0.7.js b/tests/4_determinant/outputs/anthropic_claude-sonnet-4.5 TEMP_0.7.js deleted file mode 100644 index 6182431..0000000 --- a/tests/4_determinant/outputs/anthropic_claude-sonnet-4.5 TEMP_0.7.js +++ /dev/null @@ -1,5 +0,0 @@ -const calculateDeterminant = async (matrix) => { - const { det } = await import('https://cdn.jsdelivr.net/npm/mathjs@11/+esm'); - return det(matrix); -}; -export default calculateDeterminant; \ No newline at end of file diff --git a/tests/4_determinant/outputs/google_gemini-2.5-pro.js b/tests/4_determinant/outputs/google_gemini-2.5-pro.js deleted file mode 100644 index e551fc7..0000000 --- a/tests/4_determinant/outputs/google_gemini-2.5-pro.js +++ /dev/null @@ -1,5 +0,0 @@ -const calculateDeterminant = async (matrix) => { - const { det } = await import('https://cdn.jsdelivr.net/npm/mathjs@13.0.0/es/index.js'); - return det(matrix); -}; -export default calculateDeterminant; \ No newline at end of file diff --git a/tests/4_determinant/outputs/google_gemini-3-pro-preview TEMP_0.35.js b/tests/4_determinant/outputs/google_gemini-3-pro-preview TEMP_0.35.js deleted file mode 100644 index b294f8b..0000000 --- a/tests/4_determinant/outputs/google_gemini-3-pro-preview TEMP_0.35.js +++ /dev/null @@ -1,5 +0,0 @@ -const calculateDeterminant = async m => { - const { det } = await import('https://cdn.jsdelivr.net/npm/mathjs/+esm') - return det(m) -} -export default calculateDeterminant; \ No newline at end of file diff --git a/tests/4_determinant/outputs/moonshotai_kimi-k2-thinking.js b/tests/4_determinant/outputs/moonshotai_kimi-k2-thinking.js deleted file mode 100644 index 31aef27..0000000 --- a/tests/4_determinant/outputs/moonshotai_kimi-k2-thinking.js +++ /dev/null @@ -1,11 +0,0 @@ -let mathLib; - -async function calculateDeterminant(m) { - if (!Array.isArray(m) || !m.length || m.some(r => !Array.isArray(r) || r.length !== m.length)) { - throw new TypeError('Invalid square matrix'); - } - - const {det} = await (mathLib ||= import('https://cdn.jsdelivr.net/npm/mathjs@11.11.0/lib/browser/math.js')); - return det(m); -} -export default calculateDeterminant; \ No newline at end of file diff --git a/tests/4_determinant/outputs/openai_gpt-5.1-codex.js b/tests/4_determinant/outputs/openai_gpt-5.1-codex.js deleted file mode 100644 index b0bf699..0000000 --- a/tests/4_determinant/outputs/openai_gpt-5.1-codex.js +++ /dev/null @@ -1,3 +0,0 @@ -let d -const calculateDeterminant=async m=> (await (d??=import('https://cdn.jsdelivr.net/npm/mathjs@11.11.0/+esm'))).det(m) -export default calculateDeterminant; \ No newline at end of file diff --git a/tests/4_determinant/outputs/openrouter_bert-nebulon-alpha.js b/tests/4_determinant/outputs/openrouter_bert-nebulon-alpha.js deleted file mode 100644 index eaa26cc..0000000 --- a/tests/4_determinant/outputs/openrouter_bert-nebulon-alpha.js +++ /dev/null @@ -1,15 +0,0 @@ -const calculateDeterminant = async matrix => { - const { create } = await import('https://cdn.jsdelivr.net/npm/mathjs@11.7.0/+esm') - const math = create() - - if (!Array.isArray(matrix) || !matrix.every(Array.isArray)) { - throw new TypeError('Input must be an array of arrays') - } - - if (matrix.length === 0 || matrix.some(row => row.length !== matrix.length)) { - throw new Error('Matrix must be square (n x n)') - } - - return math.det(matrix) -} -export default calculateDeterminant; \ No newline at end of file diff --git a/tests/4_determinant/outputs/openrouter_sherlock-think-alpha.js b/tests/4_determinant/outputs/openrouter_sherlock-think-alpha.js deleted file mode 100644 index d82709b..0000000 --- a/tests/4_determinant/outputs/openrouter_sherlock-think-alpha.js +++ /dev/null @@ -1,2 +0,0 @@ -async function calculateDeterminant(m){const{det}=await import('https://esm.sh/mathjs');return det(m);} -export default calculateDeterminant; \ No newline at end of file diff --git a/tests/4_determinant/outputs/x-ai_grok-4.1-fast.js b/tests/4_determinant/outputs/x-ai_grok-4.1-fast.js deleted file mode 100644 index f685f4d..0000000 --- a/tests/4_determinant/outputs/x-ai_grok-4.1-fast.js +++ /dev/null @@ -1,5 +0,0 @@ -async function calculateDeterminant(matrix) { - const { default: math } = await import('https://cdn.jsdelivr.net/npm/mathjs/lib/browser/math.js'); - return math.det(matrix); -} -export default calculateDeterminant; \ No newline at end of file