QuantumNightmare, in another thread wrote:In other news, we need to figure out the distribution of rare vs common divine items. Regular users of that libram should post the order of their summons each day.

Okay.

This parser will take a list of summons as outputted by KoLMafia's Graphical CLI and return output suitable for this thread:

http://cgi2.cs.rpi.edu/~reiffm/cgi-bin/divine.cgi

Letters represent:

Code: Select all

`(C)racker`

(P)opper

(F)lute

(S)illy string

(N)oisemaker

(B)lowout

Today:

CBNSSBNBBCPBNNSNSNNBBSNSSBSB

And by rare/common:

RccccccccRRccccccccccccccccc

Edit 4/23:

Running tally

This is the probability of a rare, conditional on N rares already being given. The denominator takes into account all exposures. In the string RcccRcc, for example, there would be 1 exposure with 0 rares, 4 with 1 rare, and 2 with 2 rares. The numerator would get 1 added for 0 and 1 rares.

Code: Select all

`Probability of rare given N previous rares, as percentage:`

0: 50.87 +/- 3.63

1: 28.09 +/- 2.48

2: 17.36 +/- 1.84

3: 9.47 +/- 1.37

4: 5.08 +/- 1.23

5: 2.60 +/- 1.31

6: 2.10 +/- 2.37

7: 5.56 +/- 10.69

8: 0