This repository was archived by the owner on Jan 25, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlunar_calender_tokenizer.rb
More file actions
91 lines (71 loc) · 3.02 KB
/
lunar_calender_tokenizer.rb
File metadata and controls
91 lines (71 loc) · 3.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
## Unit 1
a = "tavern(new_moon, no_lighting)."
b = "tavern(waxing_crescent, some_lighting)."
c = "tavern(first_quarter, mild_lighting)."
## Unit 2
d = "tavern(waxing_gibbous, medium_lighting)."
e = "tavern(full_moon, full_lighting)."
f = "tavern(waning_gibbous, medium_lighting)."
## Unit 3
g = "tavern(last_quarter, mild_lighting)."
h = "tavern(waning_crescent, some_lighting)."
i = "tavern(eclipse, minimal_lighting)."
## Unit 4
j = "graveyard(new_moon, no_lighting)."
k = "graveyard(waxing_crescent, some_lighting)."
l = "graveyard(first_quarter, mild_lighting)."
## Unit 5
m = "graveyard(waxing_gibbous, medium_lighting)."
n = "graveyard(full_moon, full_lighting)."
o = "graveyard(waning_gibbous, medium_lighting)."
## Unit 6
p = "graveyard(last_quarter, mild_lighting)."
q = "graveyard(waning_crescent, some_lighting)."
r = "graveyard(eclipse, minimal_lighting)."
## Unit 7
s = "cavern(new_moon, no_lighting)."
t = "cavern(waxing_crescent, some_lighting)."
u = "cavern(first_quarter, mild_lighting)."
14.times do
parallel_statistics(:tavern_new_moon, a,
:tavern_waxing_crescent, b,
:tavern_first_quarter, c,
## Iteration 2
:tavern_waxing_gibbous, d,
:tavern_full_moon, e,
:tavern_waning_gibbous, f,
## Iteration 3
:tavern_last_quarter, g,
:tavern_waning_crescent, h,
:tavern_eclipse, i,
## Iteration 4
:graveyard_new_moon, j,
:graveyard_waxing_crescent, k,
:graveyard_first_quarter, l,
## Iteration 5,
:graveyard_waxing_gibbous, m,
:graveyard_full_moon, n,
:graveyard_waning_gibbous, o,
## Iteration 6,
:graveyard_last_quarter, p,
:graveyard_waning_crescent, q,
:graveyard_eclipse, r,
## Iteration 7
:cavern_new_moon, s,
:cavern_waxing_crescent, t,
:cavern_first_quarter, u)
print "PREDICTION ONE"
analyze_statistic($current_probability1, 0.8, 0.2)
print "PREDICTION TWO"
analyze_statistic($current_probability2, 0.8, 0.2)
print "PREDICTION TRE"
analyze_statistic($current_probability3, 0.8, 0.2)
print "PREDICTION FRO"
analyze_statistic($current_probability4, 0.8, 0.2)
print "PREDICTION FIV"
analyze_statistic($current_probability5, 0.8, 0.2)
print "PREDICTION SIX"
analyze_statistic($current_probability6, 0.8, 0.2)
print "PREDICTION SEV"
analyze_statistic($current_probability7, 0.8, 0.2)
end