Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/mk/turing_exp001_eval.mk # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / mk / turing_exp001_eval.mk` 43 lines ยท 2683 bytes Raw Blame History 1 # Turing calibration EXP-001: the primary evaluator turing-cal-eval. 2 # Spec: calibration/docs/EVALUATOR.md. Picked up by `-include mk/*.mk`. Variables are TE_-prefixed. 3 # 4 # turing-cal-eval: build the evaluator (build/turing-exp001-eval/turing-cal-eval). 5 # test-turing-exp001-eval: fail-closed tests on the small committed fixture (seconds, low memory) 6 # plus a small dry run end to end (run + gate) on the same fixture. 7 # turing-exp001-eval-dry TE_DATA= [EXP_ID=EXP-001R]: the full dev dry run (group 1 = seed 7, group 2 = seed 6, 8 # all 7 candidates, ~few GB RAM, writes only under build/turing-exp001-eval/dry, or dry_EXP-001R). EXP_ID (default 9 # EXP-001) selects the experiment and profile version for the evaluator, the independent scorer and the scripts. 10 .PHONY: turing-cal-eval test-turing-exp001-eval turing-exp001-eval-dry 11 # -Wno-pedantic: generated binding src/omega_om_units.c uses GNU range designators; see mk/estimation.mk. 12 TE_CFLAGS = -std=c11 -Wall -Wextra -Werror -pedantic -O2 -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -Wno-format-truncation -Isrc -Wno-pedantic 13 TE_ASAN = -O1 -g -fsanitize=address,undefined -fno-sanitize-recover=all 14 TE_SRCS = src/turing/tc_pstream.c src/turing/tc_range.c src/turing/tc_rans.c src/turing/ty_math.c src/omega_om_units.c \ 15 src/turing/tc_produce.c src/turing/ty_model.c src/turing/ty_ctr1.c 16 TE_HDRS = src/turing/tc_pstream.h src/turing/tc_range.h src/turing/tc_rans.h src/turing/ty_math.h src/sha256.h \ 17 src/turing/tc_produce.h src/turing/ty_model.h src/turing/ty_ctr1.h 18 TE_DIR = $(OUT_DIR)/turing-exp001-eval 19 TE_BIN = $(TE_DIR)/turing-cal-eval 20 TE_BIN_ASAN = $(TE_DIR)/turing-cal-eval_asan 21 TE_DATA ?= $(HOME)/aien-data/crumbline/exp-`20260927`-rep10 22 TE_BIG ?= $(HOME)/aien-data/turing-cal/candidates 23 EXP_ID ?= EXP-001 24 export EXP_ID 25 TE_DRY = $(TE_DIR)/dry$(if $(filter EXP-001R,$(EXP_ID)),_EXP-001R,) 26 27 $(TE_BIN): tools/turing_cal_eval.c $(TE_SRCS) $(TE_HDRS) 28 @mkdir -p $(TE_DIR) 29 $(CC) $(TE_CFLAGS) -o $@ tools/turing_cal_eval.c $(TE_SRCS) -lm 30 $(TE_BIN_ASAN): tools/turing_cal_eval.c $(TE_SRCS) $(TE_HDRS) 31 @mkdir -p $(TE_DIR) 32 $(CC) $(TE_CFLAGS) $(TE_ASAN) -o $@ tools/turing_cal_eval.c $(TE_SRCS) -lm 33 34 turing-cal-eval: $(TE_BIN) 35 36 test-turing-exp001-eval: $(TE_BIN) $(TE_BIN_ASAN) 37 bash tests/turing/test_tc_eval.sh $(TE_BIN) $(TE_DIR)/t_plain 38 bash tests/turing/test_tc_eval.sh $(TE_BIN_ASAN) $(TE_DIR)/t_asan 39 cmp $(TE_DIR)/t_plain/det.txt $(TE_DIR)/t_asan/det.txt 40 41 turing-exp001-eval-dry: $(TE_BIN) turing-verify-indep 42 @test ! -e $(HOME)/workspace/.spark-quiet || { echo ".spark-quiet is set; not starting a heavy run"; exit 1; } 43 bash tests/turing/test_tc_eval_dry.sh $(TE_BIN) $(TE_DRY) $(TE_DATA) $(TE_BIG)