haskell: 13 new program suites + scoreboard 156/156 (775 tests)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 24s

collatz, palindrome, maybe, fizzbuzz, anagram, roman, binary, either,
primes, zipwith, matrix, wordcount, powers — all 18/18 programs green.
conformance.sh PROGRAMS array updated; scoreboard.md regenerated.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-06 17:02:02 +00:00
parent f86d07401d
commit 09d65d2d7b
17 changed files with 1087 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# lib/haskell/conformance.sh — run the 5 classic-program test suites.
# lib/haskell/conformance.sh — run the classic-program test suites.
# Writes lib/haskell/scoreboard.json and lib/haskell/scoreboard.md.
#
# Usage:
@@ -20,7 +20,7 @@ if [ ! -x "$SX_SERVER" ]; then
fi
fi
PROGRAMS=(fib sieve quicksort nqueens calculator)
PROGRAMS=(fib sieve quicksort nqueens calculator collatz palindrome maybe fizzbuzz anagram roman binary either primes zipwith matrix wordcount powers)
PASS_COUNTS=()
FAIL_COUNTS=()
@@ -121,7 +121,7 @@ DATE=$(date '+%Y-%m-%d')
# scoreboard.md
{
printf '# Haskell-on-SX Scoreboard\n\n'
printf 'Updated %s · Phase 3 (laziness + classic programs)\n\n' "$DATE"
printf 'Updated %s · Phase 6 (prelude extras + 18 programs)\n\n' "$DATE"
printf '| Program | Tests | Status |\n'
printf '|---------|-------|--------|\n'
for i in "${!PROGRAMS[@]}"; do