diff --git a/src/py/crankshaft/test/fixtures/neighbors_markov.json b/src/py/crankshaft/test/fixtures/neighbors_markov.json new file mode 100644 index 0000000..d83122a --- /dev/null +++ b/src/py/crankshaft/test/fixtures/neighbors_markov.json @@ -0,0 +1 @@ +[{"neighbors": [19, 27, 30], "y1937": 0.93697174595508337, "y1936": 0.9711757377894239, "y1935": 0.96227785579390823, "y1934": 1.0133392128761989, "y1933": 1.0306187269724305, "y1932": 1.044349070100143, "y1931": 1.0385721458894417, "y1930": 1.0588235294117647, "y1929": 1.0305452082627835, "id": 43, "y1939": 0.96816333237481, "y1938": 0.95423699321385069}, {"neighbors": [15, 18, 31, 40, 46], "y1937": 0.81719391451340251, "y1936": 0.8041582542205421, "y1935": 0.81351992639581616, "y1934": 0.84665417263807741, "y1933": 0.86901283191462331, "y1932": 0.81258941344778257, "y1931": 0.81069977632720136, "y1930": 0.70588235294117652, "y1929": 0.7054520826278361, "id": 44, "y1939": 0.83999507045146449, "y1938": 0.81433791543413947}, {"neighbors": [5, 13, 14, 23, 39, 48], "y1937": 0.80173871045641154, "y1936": 0.81652991967008892, "y1935": 0.95065614255968234, "y1934": 0.68526072097894397, "y1933": 0.83852115360182955, "y1932": 0.87839771101573672, "y1931": 0.90491623681928157, "y1930": 0.95772058823529416, "y1929": 0.96877751439214355, "id": 25, "y1939": 0.78872776568212632, "y1938": 0.84565860448929875}, {"neighbors": [2, 4, 10, 35, 42], "y1937": 1.4721081864283989, "y1936": 1.7382189956613256, "y1935": 1.5294174616241343, "y1934": 1.4446036820637196, "y1933": 1.5093380764832931, "y1932": 1.5736766809728182, "y1931": 1.4285844707171225, "y1930": 1.53125, "y1929": 1.4109041652556722, "id": 26, "y1939": 1.6977365156307769, "y1938": 1.6286758308682789}, {"neighbors": [17, 19, 43], "y1937": 1.091523786524994, "y1936": 1.1072640577344388, "y1935": 1.1575226381289041, "y1934": 1.2593980817991401, "y1933": 1.2684538178122222, "y1932": 1.2217453505007152, "y1931": 1.2226229059204821, "y1930": 1.1893382352941178, "y1929": 1.11506942092787, "id": 27, "y1939": 1.1061906913691821, "y1938": 1.1129284844266574}, {"neighbors": [7, 30, 36], "y1937": 1.4431296788215406, "y1936": 1.4619184672881136, "y1935": 1.4527141542782431, "y1934": 1.5160401278800575, "y1933": 1.5947147757591158, "y1932": 1.6795422031473533, "y1931": 1.6126352307481628, "y1930": 1.556985294117647, "y1929": 1.4921774466644089, "id": 28, "y1939": 1.4768927412397814, "y1938": 1.4553680180963982}, {"neighbors": [13, 32, 39, 47], "y1937": 1.0432262738468969, "y1936": 0.97323768203101502, "y1935": 1.0482785337271803, "y1934": 0.94719435563884913, "y1933": 0.93914369203404913, "y1932": 1.03862660944206, "y1931": 1.0013237777879218, "y1930": 1.0147058823529411, "y1929": 0.97365391127666778, "id": 21, "y1939": 1.0194306371441482, "y1938": 1.0314946928832434}, {"neighbors": [1, 3, 16, 40], "y1937": 0.43274571359574981, "y1936": 0.47218523132436957, "y1935": 0.41140864849159847, "y1934": 0.46036820637195458, "y1933": 0.3994409858975988, "y1932": 0.36337625178826893, "y1931": 0.38343908339800065, "y1930": 0.37132352941176472, "y1929": 0.46488316965797494, "id": 22, "y1939": 0.40422297991208972, "y1938": 0.41969723333913345}, {"neighbors": [3, 11, 13, 14, 15, 25, 34, 40], "y1937": 0.98140545761893261, "y1936": 0.9608660165814682, "y1935": 0.97622391167497935, "y1934": 0.97100650424429502, "y1933": 1.0184220556473129, "y1932": 1.044349070100143, "y1931": 1.0758205139909618, "y1930": 1.03125, "y1929": 1.0094141550965119, "id": 23, "y1939": 0.9937969847594792, "y1938": 0.99182182008004172}, {"neighbors": [10, 32, 39, 48], "y1937": 0.98913305964742815, "y1936": 0.97942351475578848, "y1935": 1.1063870998983099, "y1934": 0.96306912137581313, "y1933": 0.90865201372125526, "y1932": 0.96995708154506433, "y1931": 0.83699274204592145, "y1930": 0.92095588235294112, "y1929": 0.96227565187944453, "id": 24, "y1939": 1.0509797477714333, "y1938": 1.0795197494344875}, {"neighbors": [11, 13, 20, 21], "y1937": 1.0644771794252597, "y1936": 1.0680871171442072, "y1935": 1.0715219601956321, "y1934": 1.005401830007717, "y1933": 1.0153728878160335, "y1932": 1.0357653791130186, "y1931": 1.0276167435066417, "y1930": 1.0808823529411764, "y1929": 1.0939383677615984, "id": 47, "y1939": 1.0115433594873271, "y1938": 1.0586392900643813}, {"neighbors": [5, 10, 24, 25, 39, 42], "y1937": 1.172663607824197, "y1936": 1.1361312771167147, "y1935": 1.1528739528352137, "y1934": 1.0874214529820307, "y1933": 1.13124126540465, "y1932": 1.0701001430615165, "y1931": 1.0429543068425617, "y1930": 1.0753676470588236, "y1929": 1.0971892990179477, "id": 48, "y1939": 1.1574579961385203, "y1938": 1.1713937706629545}, {"neighbors": [10, 35], "y1937": 1.1572084037672059, "y1936": 1.173246273465355, "y1935": 1.1389278969541425, "y1934": 1.1720868702458385, "y1933": 1.146487104561047, "y1932": 1.150214592274678, "y1931": 1.1700369744830419, "y1930": 1.2095588235294117, "y1929": 1.2044700304774805, "id": 45, "y1939": 1.2106971203220638, "y1938": 1.2152427353401773}, {"neighbors": [15, 18, 33, 36, 44], "y1937": 0.8075344119777832, "y1936": 0.8041582542205421, "y1935": 0.7833034719868287, "y1934": 0.82813361261161944, "y1933": 0.78973446830135952, "y1932": 0.73533619456366239, "y1931": 0.78002464965536134, "y1930": 0.75, "y1929": 0.74771418896037922, "id": 46, "y1939": 0.76506593271166257, "y1938": 0.77257699669392721}, {"neighbors": [2, 5, 34, 41, 42], "y1937": 0.69934798357884564, "y1936": 0.70724687486575877, "y1935": 0.67870805287879521, "y1934": 0.65351118950501597, "y1933": 0.64337441239994919, "y1932": 0.59513590844062947, "y1931": 0.63322225772584106, "y1930": 0.61397058823529416, "y1929": 0.66644090755164231, "id": 29, "y1939": 0.70393953087129768, "y1938": 0.70575952670958764}, {"neighbors": [6, 19, 28, 36, 43], "y1937": 1.6189326249698142, "y1936": 1.666050947205636, "y1935": 1.6781753910222263, "y1934": 1.7991401168559145, "y1933": 1.908779062380892, "y1932": 1.9341917024320459, "y1931": 1.9303418998493633, "y1930": 1.9025735294117647, "y1929": 1.8725364036572976, "id": 30, "y1939": 1.6267510167193855, "y1938": 1.6474682443013746}, {"neighbors": [3, 16, 29, 34], "y1937": 0.8075344119777832, "y1936": 0.76704325787190164, "y1935": 0.75773570287153158, "y1934": 0.77786352111123369, "y1933": 0.78363613263880072, "y1932": 0.76108726752503575, "y1931": 0.76249600584288135, "y1930": 0.75735294117647056, "y1929": 0.7785980358956992, "id": 41, "y1939": 0.8222486957236167, "y1938": 0.84357055855228813}, {"neighbors": [2, 5, 10, 26, 29, 48], "y1937": 0.85776382516300409, "y1936": 0.95468018385669484, "y1935": 0.90416928962277854, "y1934": 0.82019622974313755, "y1933": 0.90865201372125526, "y1932": 0.87267525035765381, "y1931": 0.80850869585064133, "y1930": 0.9154411764705882, "y1929": 0.89563156112428033, "id": 42, "y1939": 0.90309329170603458, "y1938": 0.92709239603271265}, {"neighbors": [4, 5, 26, 29, 42], "y1937": 0.97367785559043707, "y1936": 0.95261823961510372, "y1935": 0.96692654108759857, "y1934": 0.95777753279682509, "y1933": 0.93914369203404913, "y1932": 0.91845493562231761, "y1931": 0.93997352444424165, "y1930": 0.95588235294117652, "y1929": 0.97527937690484245, "id": 2, "y1939": 0.96619151296060468, "y1938": 0.99808595789107357}, {"neighbors": [8, 9, 22, 40], "y1937": 0.51581743540207681, "y1936": 0.51754800463937456, "y1935": 0.50438235436540602, "y1934": 0.55826259508323228, "y1933": 0.50616185999237706, "y1932": 0.46351931330472101, "y1931": 0.49080202674944085, "y1930": 0.49080882352941174, "y1929": 0.52502539790044023, "id": 1, "y1939": 0.4968984923797396, "y1938": 0.50948320863058982}, {"neighbors": [2, 26, 35], "y1937": 1.5358609031634871, "y1936": 1.589759010266764, "y1935": 1.5340661469178247, "y1934": 1.5954139565648771, "y1933": 1.6648456358785415, "y1932": 1.659513590844063, "y1931": 1.6411192769434428, "y1930": 1.630514705882353, "y1929": 1.6108364375211648, "id": 4, "y1939": 1.5399909624943515, "y1938": 1.6098834174351835}, {"neighbors": [16, 22, 23, 34, 40, 41], "y1937": 0.49456652982371407, "y1936": 0.50930022767300998, "y1935": 0.48113892789695412, "y1934": 0.49476353213537649, "y1933": 0.4787193495108627, "y1932": 0.44921316165951358, "y1931": 0.47108230246040078, "y1930": 0.41911764705882354, "y1929": 0.50389434473416861, "id": 3, "y1939": 0.49098303413712363, "y1938": 0.48233861144945189}, {"neighbors": [19, 30, 37], "y1937": 1.6614344361265394, "y1936": 1.6619270587224537, "y1935": 1.6409859086727034, "y1934": 1.7277036710395768, "y1933": 1.7776648456358786, "y1932": 1.7739628040057225, "y1931": 1.7550554617245631, "y1930": 1.693014705882353, "y1929": 1.6644768032509312, "id": 6, "y1939": 1.648441030275644, "y1938": 1.6057073255611622}, {"neighbors": [2, 14, 25, 29, 34, 42, 48], "y1937": 1.0277710697899058, "y1936": 1.1175737789423943, "y1935": 1.0320081351992638, "y1934": 0.9736522985337891, "y1933": 1.0763562444416213, "y1932": 1.0128755364806867, "y1931": 1.0319989044597617, "y1930": 1.0625, "y1929": 1.0305452082627835, "id": 5, "y1939": 1.0174588177299428, "y1938": 1.0565512441273708}, {"neighbors": [1, 9], "y1937": 0.94083554696933103, "y1936": 0.92787490871601008, "y1935": 0.87395283521379108, "y1934": 0.92073641274390916, "y1933": 0.8781603354084615, "y1932": 0.9127324749642346, "y1931": 0.87205002967088152, "y1930": 0.86397058823529416, "y1929": 0.84199119539451395, "id": 8, "y1939": 0.97605061003163129, "y1938": 0.96050113102488255}, {"neighbors": [18, 28, 36], "y1937": 1.8333735812605652, "y1936": 1.7897676017011039, "y1935": 1.6293641954384774, "y1934": 1.7065373167236249, "y1933": 1.7197306568415704, "y1932": 1.6881258941344779, "y1931": 1.6980873693340028, "y1930": 1.5753676470588236, "y1929": 1.677480528276329, "id": 7, "y1939": 1.7726656533705789, "y1938": 1.6599965199234383}, {"neighbors": [24, 26, 35, 42, 45, 48], "y1937": 0.81719391451340251, "y1936": 0.97942351475578848, "y1935": 0.92741271609123044, "y1934": 1.0662550986660788, "y1933": 0.69216109770041934, "y1932": 0.78397711015736771, "y1931": 0.81946409823344135, "y1930": 0.92463235294117652, "y1929": 0.82411107348459189, "id": 10, "y1939": 0.86168508400772303, "y1938": 0.88950756916652163}, {"neighbors": [1, 8, 31, 38, 40], "y1937": 0.6046848587297754, "y1936": 0.62270716096052237, "y1935": 0.62292382935451063, "y1934": 0.64557380663653408, "y1933": 0.62203023758099352, "y1932": 0.57224606580829762, "y1931": 0.560916601999361, "y1930": 0.56433823529411764, "y1929": 0.5640365729766339, "id": 9, "y1939": 0.60929219898944253, "y1938": 0.60553332173307806}, {"neighbors": [1, 3, 9, 15, 22, 23, 31, 44], "y1937": 0.64525476937937698, "y1936": 0.6268310494437046, "y1935": 0.61362645876712985, "y1934": 0.64821960092602804, "y1933": 0.62203023758099352, "y1932": 0.5665236051502146, "y1931": 0.60692929200712109, "y1930": 0.59742647058823528, "y1929": 0.61442600745005072, "id": 40, "y1939": 0.61323583781785318, "y1938": 0.62641378110318424}, {"neighbors": [13, 21, 24, 25, 32, 48], "y1937": 0.62400386380101425, "y1936": 0.50311439494823662, "y1935": 0.71822187787516345, "y1934": 0.48682614926689455, "y1933": 0.39334265023504006, "y1932": 0.54077253218884125, "y1931": 0.52805039485096095, "y1930": 0.67279411764705888, "y1929": 0.69244835760243817, "id": 39, "y1939": 0.68027769790083392, "y1938": 0.6681746998433965}, {"neighbors": [11, 15, 20, 33], "y1937": 1.0567495773967641, "y1936": 0.99179518020533519, "y1935": 0.97854825432182457, "y1934": 0.94984014992834309, "y1933": 0.89645534239613778, "y1932": 0.88698140200286124, "y1931": 0.95969324873328166, "y1930": 0.94485294117647056, "y1929": 0.9866576363020656, "id": 12, "y1939": 1.0214024565583535, "y1938": 0.98555768226900986}, {"neighbors": [12, 13, 15, 23, 47], "y1937": 1.4122192707075585, "y1936": 1.3402637570342368, "y1935": 1.3318483366422933, "y1934": 1.336126116194466, "y1933": 1.3324863422690891, "y1932": 1.390557939914163, "y1931": 1.4702149997717626, "y1930": 1.4834558823529411, "y1929": 1.540941415509651, "id": 11, "y1939": 1.3881608676005424, "y1938": 1.353053767182878}, {"neighbors": [5, 23, 25, 34], "y1937": 0.82685341704902193, "y1936": 0.79797242149576864, "y1935": 0.8414120381579584, "y1934": 0.75934296108477572, "y1933": 0.76229195781984505, "y1932": 0.76108726752503575, "y1931": 0.87862327110056149, "y1930": 0.85845588235294112, "y1929": 0.86474771418896035, "id": 14, "y1939": 0.75323501622643063, "y1938": 0.79972159387506525}, {"neighbors": [11, 21, 23, 25, 39, 47], "y1937": 1.0103839652257909, "y1936": 0.81034408694531546, "y1935": 0.98784562490920536, "y1934": 0.71171866387388383, "y1933": 0.77143946131368324, "y1932": 0.84978540772532185, "y1931": 0.87643219062400146, "y1930": 0.9375, "y1929": 0.94439552996952247, "id": 13, "y1939": 0.93661422174752496, "y1938": 0.95632503915086131}, {"neighbors": [3, 22, 41], "y1937": 0.68196087901473079, "y1936": 0.68044159972507412, "y1935": 0.67405936758510476, "y1934": 0.70113548671590786, "y1933": 0.69216109770041934, "y1932": 0.68955650929899859, "y1931": 0.69676359154608114, "y1930": 0.65257352941176472, "y1929": 0.67294277006434133, "id": 16, "y1939": 0.70985498911391365, "y1938": 0.72663998607969371}, {"neighbors": [11, 12, 23, 33, 40, 44, 46], "y1937": 0.65877807292924417, "y1936": 0.60621160702779331, "y1935": 0.61595080141397507, "y1934": 0.61647006945210014, "y1933": 0.62507940541227291, "y1932": 0.60371959942775388, "y1931": 0.63760441867896112, "y1930": 0.59742647058823528, "y1929": 0.63880799187267179, "id": 15, "y1939": 0.60140492133262136, "y1938": 0.62014964329215239}, {"neighbors": [7, 36, 44, 46], "y1937": 1.2847138372373823, "y1936": 1.2742815413033206, "y1935": 1.2737397704711635, "y1934": 1.3837504134053578, "y1933": 1.4209122093761912, "y1932": 1.4649499284692418, "y1931": 1.3979093440452823, "y1930": 1.3088235294117647, "y1929": 1.2483576024381984, "id": 18, "y1939": 1.3073162716181244, "y1938": 1.3217330781277188}, {"neighbors": [27], "y1937": 0.98526925863318038, "y1936": 1.0433437862451136, "y1935": 0.99946733814343125, "y1934": 1.1006504244295006, "y1933": 1.13124126540465, "y1932": 1.0786838340486409, "y1931": 1.0758205139909618, "y1930": 1.0588235294117647, "y1929": 0.97690484253301724, "id": 17, "y1939": 0.97605061003163129, "y1938": 0.98346963633199924}, {"neighbors": [12, 33, 47], "y1937": 1.32335184737986, "y1936": 1.2763434855449116, "y1935": 1.2319016028279501, "y1934": 1.1985448131407783, "y1933": 1.0580612374539449, "y1932": 1.1273247496423462, "y1931": 1.183183457342402, "y1930": 1.2077205882352942, "y1929": 1.2841178462580425, "id": 20, "y1939": 1.2323871338783223, "y1938": 1.1943622759700714}, {"neighbors": [6, 27, 30, 37, 43], "y1937": 1.4141511712146824, "y1936": 1.4722281884960693, "y1935": 1.4945523219214565, "y1934": 1.6112887223018411, "y1933": 1.7044848176851735, "y1932": 1.753934191702432, "y1931": 1.6630300817090429, "y1930": 1.536764705882353, "y1929": 1.4726718591263122, "id": 19, "y1939": 1.4275972558846486, "y1938": 1.4031668696711328}, {"neighbors": [21, 24, 39], "y1937": 0.6297995653223859, "y1936": 0.48249495253232527, "y1935": 0.63222119994189141, "y1934": 0.47624297210891858, "y1933": 0.44517850336678949, "y1932": 0.50357653791130186, "y1931": 0.40973204911672068, "y1930": 0.5716911764705882, "y1929": 0.62092786996274973, "id": 32, "y1939": 0.62901039313149576, "y1938": 0.58882895423699322}, {"neighbors": [9, 38, 40, 44], "y1937": 0.62593576430813813, "y1936": 0.61239743975256666, "y1935": 0.62989685729504619, "y1934": 0.66938595524197997, "y1933": 0.63422690890611111, "y1932": 0.53505007153075823, "y1931": 0.5433879581868809, "y1930": 0.53676470588235292, "y1929": 0.53965458855401283, "id": 31, "y1939": 0.62112311547467447, "y1938": 0.61597355141813115}, {"neighbors": [9, 31], "y1937": 0.52740883844482012, "y1936": 0.5319816143305125, "y1935": 0.53227446612754825, "y1934": 0.55826259508323228, "y1933": 0.53360437047389153, "y1932": 0.45493562231759654, "y1931": 0.44917149769480075, "y1930": 0.44669117647058826, "y1929": 0.44050118523535386, "id": 38, "y1939": 0.54422215832066712, "y1938": 0.52201148425265353}, {"neighbors": [6, 19], "y1937": 1.4122192707075585, "y1936": 1.466042355771296, "y1935": 1.4992010072151469, "y1934": 1.5874765736963952, "y1933": 1.7044848176851735, "y1932": 1.6452074391988556, "y1931": 1.5578582188341628, "y1930": 1.4485294117647058, "y1929": 1.4206569590247204, "id": 37, "y1939": 1.4197099782278273, "y1938": 1.4031668696711328}, {"neighbors": [7, 18, 28, 30, 33, 46], "y1937": 1.2286887225307896, "y1936": 1.2392284891962713, "y1935": 1.2016851484189628, "y1934": 1.2752728475361041, "y1933": 1.2715029856435016, "y1932": 1.2846924177396279, "y1931": 1.3146482859360022, "y1930": 1.3088235294117647, "y1929": 1.2548594649508973, "id": 36, "y1939": 1.1850634679373948, "y1938": 1.1755698625369757}, {"neighbors": [4, 10, 26, 45], "y1937": 1.0741366819608791, "y1936": 1.1299454443919412, "y1935": 1.0645489322550965, "y1934": 1.1615036930878624, "y1933": 1.091602083598018, "y1932": 1.0844062947067239, "y1931": 1.1064956406628019, "y1930": 1.1158088235294117, "y1929": 1.0858110396207246, "id": 35, "y1939": 1.1259088855112354, "y1938": 1.1087523925526361}, {"neighbors": [3, 5, 14, 23, 29, 41], "y1937": 0.72639459067858003, "y1936": 0.66188410155075383, "y1935": 0.69265410875986633, "y1934": 0.66674016095248601, "y1933": 0.67691525854402235, "y1932": 0.61802575107296143, "y1931": 0.65951522344456115, "y1930": 0.67647058823529416, "y1929": 0.73958686081950553, "id": 34, "y1939": 0.68816497555765521, "y1938": 0.72246389420567247}, {"neighbors": [12, 15, 20, 36, 46], "y1937": 1.2518715286162763, "y1936": 1.2227329352635421, "y1935": 1.1993608057721175, "y1934": 1.2038364017197662, "y1933": 1.1739296150425613, "y1932": 1.1444921316165952, "y1931": 1.2335783083032821, "y1930": 1.2150735294117647, "y1929": 1.2532339993227226, "id": 33, "y1939": 1.2126689397362691, "y1938": 1.1713937706629545}] \ No newline at end of file