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 / tools / estimation / est6opchar_table.sh
| 1 | #!/bin/sh |
| 2 | # SPDX-License-Identifier: Apache-2.0 |
| 3 | # Copyright 2026 Drake Stapleton (AIEN / aien-dev) |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | # Operating-characteristics table for est-v6 section 6 (appendix est-v6-appendix-prefreeze.md). |
| 18 | # usage: est6opchar_table.sh <est6opchar binary> [reps] |
| 19 | # Reads no data file. Clustering settings: w 0.08 (design effect about 3.3), 0.12 (about 4.5), |
| 20 | # 0.20 (about 7); rho 0.02. Two 2700 s runs pooled (H1 + H2); three runs for comparison. |
| 21 | set -eu |
| 22 | B=${1:?usage: est6opchar_table.sh BIN [reps]} |
| 23 | R=${2:-4000} |
| 24 | for w in 0.08 0.12 0.20; do |
| 25 | for runs in 2 3; do |
| 26 | for c in a b; do |
| 27 | "$B" run --case $c --w $w --rho 0.02 --runs $runs --reps "$R" --boot 1000 | tail -n 2 | paste -sd' ' | sed "s/^/w=$w runs=$runs /" |
| 28 | done |
| 29 | done |
| 30 | done |
| 31 | for w in 0.08 0.12 0.20; do |
| 32 | for b0 in 0.100 0.090 0.080 0.076 0.070 0.065 0.060; do |
| 33 | "$B" run --case c --bin0 $b0 --w $w --rho 0.02 --runs 2 --reps "$R" --boot 1000 | tail -n 2 | paste -sd' ' | sed "s/^/w=$w /" |
| 34 | done |
| 35 | done |