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