interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / evidence / BROWNIAN / BRN-10 / packet.txt

57 lines · 3445 bytes Raw Blame History
1PACKET brw.packet.v1
2brw_dl_spec sha256 86bf360cfa208d91338cf22faa0f6022c93dfe2ee1a574e2ee27a800ec6a557f
3
4Task. Write one program in the description language BRW-DL. Its complete
5definition is the file brw_dl_spec.txt in your root; the digest on the second
6line of this file is the SHA-256 of that file. The program reads numbered
7observations in time order. Before each new value is shown, it states a
8probability distribution for that value. The value is then revealed. The
9program is judged only by how much probability it gave to the values that
10actually came, after paying for its own length.
11
12Data. Observations arrive in record sets. Each record has three numbers:
13 i integer order, starting at 0
14 t time as a number (strictly increasing; gaps may differ)
15 y the measurement as a number
16The first s records of a set are shown to the program before any prediction is
17asked for; the remaining records of the set are predicted one at a time. The
18counts n and s are not announced in advance and can differ from set to set.
19There is no other channel and no stated measurement tolerance.
20
21Prediction. For each requested index the program states one normal
22distribution, given by location and scale (scale = standard deviation, finite,
23greater than 0). This is the only kind of distribution the language can state.
24Any scale below 2^-10 is raised to 2^-10 and counted. If more than 1 in 1000
25scored predictions are raised, the run fails.
26
27Score. Values are recorded on a grid: the value y stands for the interval
28[j*2^-20, (j+1)*2^-20) with y = (j + 0.5)*2^-20. The score of a prediction is
29-log2 of the probability it gives to that whole interval. Smaller is better.
30The total adds the length of the program, counted as follows. The program is
31judged and costed in the canonical byte form defined in brw_dl_spec.txt, and
32numbers written inside the program are bytes of the program. Its length is 8
33bits for every byte of that canonical form, charged once for the whole
34collection of scored record sets. In addition, for every fitted number the
35program carries from its fit part into its predict part, as the language
36definition counts fitted numbers, it pays (1/2) * log2(m) bits for each
37record set, where m is the count of consecutive differences among the shown
38records of that set (s minus 1). Fewer bytes and fewer fitted numbers cost
39less.
40Predictions are compared against fixed reference predictors chosen before
41your program is frozen, identified to you only as ref.v1. They are written in
42the same language and pay the same way. You are not told what they do.
43
44Development files. The files named world_<id>.qbw are example records. They
45are yours to study. Format, all little-endian: 4 bytes ASCII "QBW1"; u32
46version = 1; u64 count; then count records of (binary64 t, int64 j), with
47y = (j + 0.5)*2^-20. The scored records are new record sets of the same kind,
48created after your program is frozen. Your program is not told which kind of
49record set it is given.
50
51Running. You do not run anything in the scored session. After your program is
52frozen, the evaluator runs it: the fit part once per record set on the shown
53records, then the predict part once for each later record, exactly as the
54language definition describes. The same records always give the same
55predictions. Any limit in the language definition that is exceeded, and any
56number in it that is not finite where the definition requires one, fails the
57whole run.