omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / evaluate-binomial-coefficients / wolfram.txt
| 1 | Wolfram cross-check of tasks/evaluate-binomial-coefficients/expected.txt |
| 2 | tool: WolframLanguageEvaluator (Wolfram MCP, https://agenttools.wolfram.com/mcp), 2026-10-27 |
| 3 | The query builds the task's whole output text from Wolfram built-ins, independently of omc and |
| 4 | of oracle.py, and returns {SHA-256 of that text, the text}. It agrees when that SHA-256 equals |
| 5 | sha256(expected.txt) = c5472712109e3bfb08ee15772b58b9cfa1804c2cefa08124e8fa22e731bedf3f. |
| 6 | agreement: YES |
| 7 | query: |
| 8 | s = StringJoin[("C(" <> ToString[#[[1]]] <> ", " <> ToString[#[[2]]] <> ") = " <> ToString[Binomial @@ #] <> "\n") & /@ |
| 9 | {{5, 3}, {10, 0}, {10, 10}, {33, 17}, {60, 30}, {67, 33}}]; |
| 10 | {Hash[s, "SHA256", "HexString"], s} |
| 11 | result: |
| 12 | Out[1]= {"c5472712109e3bfb08ee15772b58b9cfa1804c2cefa08124e8fa22e731bedf3f", "C(5, 3) = 10\nC(10, 0) = 1\nC(10, 10) = 1\nC(33, 17) = 1166803110\nC(60, 30) = 118264581564861424\nC(67, 33) = 14226520737620288370\n"} |