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
omega-mv / mk / estimation_v6dev.mk
| 1 | # ESTIMATION v6 pre-freeze development tools (docs/estimation/protocols/est-v6.md section 9, |
| 2 | # appendix docs/estimation/protocols/est-v6-appendix-prefreeze.md). Development tools only: not the v6 |
| 3 | # tool, no protocol identity, no binding mode. Picked up by `-include mk/*.mk`; not part of `all` or `test`. |
| 4 | # |
| 5 | # est6dev G1 PIT / miss-rate / block-bootstrap analysis, reduced G1S check, schedule and seed balance |
| 6 | # est6opchar operating-characteristics simulation (reads no data file) |
| 7 | # test-est6dev tests for both (D1 development data and synthetic only; held-out refusals) |
| 8 | # est6-opchar-table prints the appendix operating-characteristics table (about 3 minutes) |
| 9 | # est6-opchar-table2 prints the appendix section 5b SIMULATION table (regime case, replication, false accept) |
| 10 | ifndef ESTIMATION_V6DEV_MK |
| 11 | ESTIMATION_V6DEV_MK := 1 |
| 12 | include mk/estimation_v4.mk |
| 13 | .PHONY: est6dev est6opchar test-est6dev est6-opchar-table est6-opchar-table2 |
| 14 | ESTV6D_DIR = $(OUT_DIR)/estimation-v6dev |
| 15 | ESTV6D_SRCS = tools/estimation/est6dev.c tools/estimation/est3c_common.c tools/estimation/est_replay.c \ |
| 16 | src/estimation/est_v4.c src/estimation/est_pred.c src/estimation/est_mix.c $(EST_KF_SRCS) |
| 17 | ESTV6D_HDRS = tools/estimation/est3c_common.h tools/estimation/est_replay.h $(ESTV4_HDRS) |
| 18 | $(ESTV6D_DIR)/est6dev: $(ESTV6D_SRCS) $(ESTV6D_HDRS) |
| 19 | @mkdir -p $(ESTV6D_DIR) |
| 20 | $(CC) $(EST_CFLAGS) -Itools/estimation -o $@ $(ESTV6D_SRCS) -lm |
| 21 | $(ESTV6D_DIR)/est6opchar: src/estimation/est_math.om tools/estimation/est6opchar.om $(EST_OMC) |
| 22 | @mkdir -p $(ESTV6D_DIR) |
| 23 | (echo om2; cat src/estimation/est_math.om tools/estimation/est6opchar.om) | $(EST_OMC) > $@ && chmod +x $@ |
| 24 | est6dev: $(ESTV6D_DIR)/est6dev |
| 25 | est6opchar: $(ESTV6D_DIR)/est6opchar |
| 26 | test-est6dev: $(ESTV6D_DIR)/est6dev $(ESTV6D_DIR)/est6opchar |
| 27 | sh tools/estimation/test_est6dev.sh $(ESTV6D_DIR)/est6dev $(ESTV6D_DIR)/est6opchar |
| 28 | est6-opchar-table: $(ESTV6D_DIR)/est6opchar |
| 29 | sh tools/estimation/est6opchar_table.sh $(ESTV6D_DIR)/est6opchar 4000 |
| 30 | est6-opchar-table2: $(ESTV6D_DIR)/est6opchar |
| 31 | sh tools/estimation/est6opchar_table2.sh $(ESTV6D_DIR)/est6opchar 20000 |
| 32 | endif |