Bestemshe-God-Algorithm / commands.txt
ansarzeinulla's picture
initial
2cf2375
Raw
History Blame Contribute Delete
2.5 kB
# ==============================================================================
# BESTEMSHE DISTRIBUTED PIPELINE COMMANDS (ZSTD NATIVE)
# Execute these commands sequentially on a cluster node for a specific pair.
# ==============================================================================
# Ensure directories exist
mkdir -p layers/compressed
# ------------------------------------------------------------------------------
# STEP 1: SOLVE THE SYMMETRIC PAIR
# ------------------------------------------------------------------------------
# Format: ./bestemshe --solve-pair <M> <K1> <K2>
# Example for M=10, K1=2, K2=8:
./bestemshe --solve-pair 10 2 8
# This automatically loads the strictly necessary reachable layers (e.g., M=12, M=14)
# and writes two files to disk:
# layers/layer_2_8_win.raw
# layers/layer_2_8_draw.raw
# ------------------------------------------------------------------------------
# STEP 2: VERIFY THE PAIR (CRITICAL)
# ------------------------------------------------------------------------------
# Format: ./bestemshe --verify-pair <M> <K1> <K2>
# Example:
./bestemshe --verify-pair 10 2 8
# This does a local lock-free forward sweep to ensure the generated .raw files
# are 100% mathematically consistent. If this fails, the node corrupted the data.
# ------------------------------------------------------------------------------
# STEP 3: COMPRESS THE PAIR (ZSTD LEVEL 19)
# ------------------------------------------------------------------------------
# Format: ./bestemshe --compress <input.raw> <output.bin>
# Note: Block size and Algorithm are hardcoded now, no extra args needed.
./bestemshe --compress layers/layer_2_8_win.raw layers/compressed/layer_2_8_win.bin
./bestemshe --compress layers/layer_2_8_draw.raw layers/compressed/layer_2_8_draw.bin
# ------------------------------------------------------------------------------
# STEP 4: CLEANUP RAW FILES TO SAVE SSD SPACE
# ------------------------------------------------------------------------------
# Once compression is complete and verified, delete the raw files on the node.
rm layers/layer_2_8_win.raw
rm layers/layer_2_8_draw.raw
# ------------------------------------------------------------------------------
# ENDGAME: THE GOD QUERY
# ------------------------------------------------------------------------------
# When you finally solve M=0 (K1=0, K2=0), run:
./bestemshe --root
# This will load layer_0_0 and output the absolute game-theoretic truth of Bestemshe.