omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / thue-morse / wolfram.txt
| 1 | Wolfram cross-check of tasks/thue-morse/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) = b79f272ebc2af3b3a700417016e8f75b1b66bc463375254f8928c3430fa0d9ab. |
| 6 | agreement: YES |
| 7 | query: |
| 8 | s = StringJoin[Table[StringJoin[ToString /@ ThueMorse[Range[0, 2^k - 1]]] <> "\n", {k, 0, 6}]]; |
| 9 | {Hash[s, "SHA256", "HexString"], s} |
| 10 | result: |
| 11 | Out[1]= {"b79f272ebc2af3b3a700417016e8f75b1b66bc463375254f8928c3430fa0d9ab", "0\n01\n0110\n01101001\n0110100110010110\n01101001100101101001011001101001\n0110100110010110100101100110100110010110011010010110100110010110\n"} |